The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm trying to make it so a random template is shown so far I have this... now do I just put that in php_include? or do I have to edit it so it works in the include?
help me filbert , your my only hope! PHP Code:
|
#2
|
|||
|
|||
![]()
Don't use quotes in the rand and if statements.
|
#3
|
|||
|
|||
![]()
where is php_includes? is it a php file or a template?
|
#4
|
||||
|
||||
![]()
It's a template. It's under 'phpinclude'
|
#5
|
|||
|
|||
![]()
yay
![]() |
#6
|
|||
|
|||
![]()
To be more specific, it's a unique template that allows you to execute PHP code. None of the other templates have this.
What happens: 1. The file in question is executed 2. The phpinclude template is executed 3. All remaining templates are generated So phpinclude usually can handle most simple hacks with the exception of View Profile hacks and anything involving bits (i.e., single posts in a thread, single threads in forumdisplay, single forums in forumhome, etc.). |
#7
|
||||
|
||||
![]()
ok thanks
![]() I' ll see if it works, I trying to make it for a Battle system, random hits and misses ![]() |
#8
|
||||
|
||||
![]()
As long as it's simple I think phpinclude can get it through. But otherwise you may run into some trouble.
|
#9
|
||||
|
||||
![]()
yeah its pretty simple, only want it to make it have $hitmiss be a random template. (eg. one that says HIT and one that says MISS)
I was thinking of making it so it only showed up on the posts in one forum but that seemed complicated and wasn't sure how to even doit.. |
#10
|
||||
|
||||
![]()
hmm ok I give up, I tried and tried but it always diplays the HIT template...
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|