The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
This might be complicated but I'm sure someone will know how to do it!
![]() The threadbit template normally shows the username of the person who started the thread and the last person to post on the thread. What would I need to do to make it show their real names (customfield1 customfield2 on my forum) instead of their username? |
#2
|
||||
|
||||
![]()
As the user's custom fields and other information is not fetched anyway, you will need to change the query that fetches the threads to include this information. Then it is all a matter of using the correct variables in the template.
|
#3
|
|||
|
|||
![]()
Can you give any guidance on how to change the query that fetches the threads?
|
#4
|
|||
|
|||
![]()
Can anyone help with this?
|
#5
|
||||
|
||||
![]()
If you're looking at forum home - look in the file that processes information for this, index.php.
|
#6
|
|||
|
|||
![]()
I think it's showthread.php that I'd need to change. But I don't know how to make the changes anyway - is there a guide somewhere? Can anyone give some tips?
I want to fetch the customfields for the person who started the thread - so as well as their username I can display their customfields. |
#7
|
||||
|
||||
![]()
Correction to my last post - you'll be looking at forumdisplay.php. Don't know what I was thinking what I posted that.
showthread.php deals with the display of posts inside a specific thread - like the page you're looking at right now. |
#8
|
|||
|
|||
![]()
Ah right, cool. Thanks. I'll go look at forumdisplay.php.
Any tips on how to fetch the customfields? |
#9
|
||||
|
||||
![]()
Custom fields are contained within the userfield table.
|
#10
|
|||
|
|||
![]()
It's more the process of fetching the data and saving it as a variable (that can be inserted into a template) that I don't understand.
It's my first time trying this kind of thing. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|