![]() |
Yes, I made sure it was before I did the code.
|
hmm, i haven't made more changes, so this should work :)
here is the whole block: Code:
$replacearray = array( |
Could this be my problem?
I'm using this for the condition. iif($bbuserinfo[usergroupid]==6 |
logout button doesn't log me out
|
nope bob, it would just be a problem if bbuserinfo isn't global
@drives fast: your cookie might be corrupted delete it manually |
LOL It's working. I logged in as another usergroup and it shows the message fine now. Now all I have to do is figure what condition to use. Thank for the code, Stefan. Any way I could get the SQL tags code from you? I have been wanting that one for a while now. ;)
I'm curious, does "iif" actually mean "if not" or something close to that? |
hmm, the sql function is made by chen, so you have to ask him if you'll get it.
the iif is a vbfunction, you can find it's definition in functions.php :) to say it in short, if the condition is true it returns the first value, else the second one |
That's what I was doing wrong. I was testing it as the Admin which was showing the code like it was supposed to instead of the template. When I tested it as a registered user, I saw the template contents. DOHH!!! ;) Thanks again, Stefan. I'll get an email off the Chen and check on the SQL code and let you know.
|
All times are GMT. The time now is 09:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|