The Arcive of vBulletin Modifications Site. |
|
Frustrated...need your help! Details »»
|
|||||||||||||||||||||||||
I've created a Profile Field in the CP called Extra. It's field11.
In showthread.php I am doing the following: Code:
if ($thread['forumid'] == 41) {
if ($bbsuerinfo['field11'] != "Welcome")
{
eval("standarderror(\"".gettemplate("error_notspecial")."\");");
}
}
$post[field11] $bbuserinfo['$post[field11]'] Basically, I want anyone who I have not given the word "Welcome" in Profile Field 11 to receive the notspecial error template when they attempt to view any thread in forumid #44. It works if I substitute ($bbsuerinfo['field11'] != "Welcome") with if ($bbuserinfo['username'] != "Sylvus", as an example so I know the general basics of the code works, but it's the field11 that's causing the problem. I am logged in when I attempt this. Syl... Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Quote:
PHP Code:
|
|
#3
|
|||
|
|||
|
Nah, still doesn't work. It's correct in my showthread.php file, typed it wrong in the post.
Any other suggestions? EDIT: Got it working. I found another spelling mistake :speechless: Syl... |
![]() |
|
|