Sylvus
11-11-2003, 02:53 AM
I've created a Profile Field in the CP called Extra. It's field11.
In showthread.php I am doing the following:
if ($thread['forumid'] == 41) {
if ($bbsuerinfo['field11'] != "Welcome")
{
eval("standarderror(\"".gettemplate("error_notspecial")."\");");
}
}
I've given myself the word "Welcome" for my Profile field11 yet it does not work. I always get the notspecial error template I made to test this. I've tried the following other variables as well.
$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...
In showthread.php I am doing the following:
if ($thread['forumid'] == 41) {
if ($bbsuerinfo['field11'] != "Welcome")
{
eval("standarderror(\"".gettemplate("error_notspecial")."\");");
}
}
I've given myself the word "Welcome" for my Profile field11 yet it does not work. I always get the notspecial error template I made to test this. I've tried the following other variables as well.
$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...