The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#41
|
|||
|
|||
I'm trying to add a conditional to my postbit which does not show attachments in a specific forum. Any ideas on the variable?
<if condition="$postinfo[forumid] != '5'">Show attachments</if> I'm guessing here, but it now work |
#42
|
||||
|
||||
$GLOBALS[forumid]
|
#43
|
|||
|
|||
Thankyou!
Anyone able to make a complete list of $GLOBALS variables? This thread has helped me a lot quite often! |
#44
|
||||
|
||||
Keep the list growing guys. This is an amazing resource.
|
#45
|
|||
|
|||
You only need to use $GLOBALS when the template is called inside a function, there isn't a list so you have to check the files that calls that template to see what is available.
|
#46
|
||||
|
||||
Most everything is avaible in globals in some way shape or form.
|
#47
|
|||
|
|||
I never said it wasn't...
|
#48
|
||||
|
||||
Is there a way to check if someone has birthday today? The birthday and birthdaysearch-field contains year aswell, so breaking this variable up in a template would be a bit difficult. In forumhome there is a cake displayed for the persons that have birthday, so maybe there is some variable floating around that I could use to trigger som happening in postbit like showing this cake under the users avatar?
|
#49
|
||||
|
||||
I doubt it is as simple as a conditional, but there is already a modification around that does this.
|
#50
|
||||
|
||||
Do you know where this modification is?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|