The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Sabret, I think you are in need of some PHP tutorials (such as http://www.php.net/manual/en/). That's just incorrect usage of the eval function:
http://www.php.net/eval If you are ever in need of knowing how a PHP function works, consult the function search at PHP.net. Best resource. For that code, strip the last eval, leaving that big chunk of code separate. Then remove the last two breaks, since the last break in a switch statement is unnecessary. |
#12
|
||||
|
||||
I also think it would be be benefitial in this instance to use if statements instead of a switch. Switch is useful for small little blocks of code but IMO when you have large chunks like that it's best to go with an if statement
|
#13
|
||||
|
||||
on a site i done where i was just using php to recall headers,footers and main table i didn't have the eval stuff and it worked but tried this with and without the eval stuff and don't work, off out to go get a book on php tho
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|