The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
If I wanted to return the thread starters userid what would I use ?
I used PHP Code:
but it didn't work ? Is the code wrong, or shouldn't it be in showthread ? Thanks Fla5h |
|
#2
|
||||
|
||||
|
Where are you trying to put this and where do you want it to appear?
|
|
#3
|
||||
|
||||
|
I'm putting this in showthread.php
just after PHP Code:
Like on here where we have the titles big at the top, I want a different template showing to the normal member than the member that posted the thread. Got the template location etc sorted, just cannot get the condition statement working PHP Code:
Is there a way of debugging php etc, say a step through the code line by line ? Thanks Fla5h |
|
#4
|
||||
|
||||
|
The query for getting the userid of the thread starter is:
PHP Code:
|
|
#5
|
||||
|
||||
|
Stunning m8
thanks a lot, that worked a treat. |
|
#6
|
||||
|
||||
|
How is this made? http://www.thesistersthree.com/showe...=6#episode6x16
|
|
#7
|
||||
|
||||
|
Quote:
![]() Satan |
|
#8
|
||||
|
||||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|