The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
Why i cannot insert conditionals in bbcode_code template ?? For example: if i want to show threadid or postid , don't show. but if i want to show it in footer template work like a charm.. thanks, /CarcaBot |
#2
|
||||
|
||||
![]()
What conditionals are you putting in the bbcode_template? What are trying to make condition based?
|
#3
|
|||
|
|||
![]()
In template bbcode_code i wanna put some informations like
$post[postid] - id of actual post , thread and others. when i insert , it doesn't show me anything. |
#4
|
||||
|
||||
![]()
Those variables are not available when the BB code is evaluated.
|
#5
|
|||
|
|||
![]()
So i have no chance to insert variables in that place ?
|
#6
|
||||
|
||||
![]()
You will have to do some PHP coding of your own. (Namely, changing the callback, and slightly redoing the function.)
|
#7
|
|||
|
|||
![]()
Just give me a small example, i don't know where to start...
|
#8
|
|||
|
|||
![]()
So i cannot to anything to insert some php in that section ??
|
#9
|
||||
|
||||
![]()
Start at the bottom of class_bbcode.php - this is where vBulletin specifies which function tag "X" uses for parsing.
No, you cannot use PHP in templates. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|