The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[HELP] Coding Help.
Well im trying to create a link that is dependent upon which "Team" you pick in "Edit Options" (done using the profile fields)
For example, if you pick "Team A" in your options then the link will go to /forums/teamA.php And if you pick "Team B" iny our options then the link will go to /forums/teamB.php Now i can't quite figure it out, since im no good at coding, but i will never just post on vb.org without trying myself. Here is what i managed to come up with. PHP Code:
and if im not mistaken the code is set so that if field10 is Team B then the link should be /forums/TeamB.php Any ideas please? Here is what it comes up with when i try to save. Code:
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected T_STRING in /home/oregami/public_html/forum/includes/adminfunctions_template.php(3929) : eval()'d code on line 139 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|