HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Display location and real name and possibly other info in forum

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#77861 (In Topic #15997)
Avatar

Fan in training

This post in closely related to the post I made yesterday regarding displaying all usergroups that a member is part of, in the sidebar next to each of their posts: http://ocportal.com/forum/topicview/misc/general/display-secondary.htm

I would also like to display location and real name.  I have included a picture of where I am wanting this information to display.  Any advice?  Thanks!

Back to the top
 
Posted
Rating:
#77984
Avatar

Community saint

That area is 'formed' by the template OCF_TOPIC_POST.tpl

The data that the template uses comes from /forum/modules/topicview.php

So you can alter the code to send the information you want displayed in the php file and alter the template to display it.

Paul
Back to the top
 
Posted
Rating:
#78891
Avatar

Fan in training

Thanks Arbo!  Just the info I was hoping for.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: