![]() |
Firstpostid
$GLOBALS['FIRSTPOSTID'] was ok in 3.0.7, but in 3.5.0 beta isn't working.
how should i refer to it now? |
Hmm, $FIRSTPOSTID is being defined in showthread.php.
Where did you try to use it? |
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 :D |
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. |
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. |
All times are GMT. The time now is 02:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|