The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
$GLOBALS['FIRSTPOSTID'] was ok in 3.0.7, but in 3.5.0 beta isn't working.
how should i refer to it now? |
#2
|
||||
|
||||
![]()
Hmm, $FIRSTPOSTID is being defined in showthread.php.
Where did you try to use it? |
#3
|
|||
|
|||
![]()
Im trying to use in postbit template.
Tested this and some other but no luck: <if condition="$post[postid] == $GLOBALS['FIRSTPOSTID']"> <if condition="$post[postid] == $FIRSTPOSTID"> fixed, now is called: $GLOBALS[qrfirstpostid] Im getting crazy to remake all little mods and hacks ehehe, this version seems a new software, should be vb4 ![]() |
#4
|
||||
|
||||
![]()
Try:
$this->thread['firstpostid'] == $this->post['postid'] You will need to reference variables in the scope of the class object within the IF conditionals if there is not standard exposure for them. |
#5
|
|||
|
|||
![]()
Working ok too, but different like before in 3.0.7
I was using this to show a custom html code after first post of every thread page. Now it only show after 'firstpost' on first page, and not in next pages. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|