![]() |
usergroup title in postbit
i thought it would've been as easy as this
HTML Code:
<if condition="$post['usergroupid'] != '2' OR $post['usergroupid'] != '4' OR $post['usergroupid'] != '10' OR $post['usergroupid'] != '11'"><div class="smallfont">$post[usergrouptitle]</div></if> i would like it to update dynamically so that if i edit the usergroup name i don't have to edit the templates. |
*bump*
|
I think you have a few too many or's with !='s Im not a php wiz, but if one of thoughs comes out true it stops... or somthing
Try one at a time? <if condition==" X " > </if> Like that instead of a huge or |
but how do i get it to echo out the usergroup title?
|
does $post[usergrouptitle] echo out anything at all?
|
not in the slightest.
|
Well theres where your problem lies, im going to take a stab at it isnt in the $post varible. :)
|
that's why i came here for help :o :(
as the only way i could think of, of acheiving this is via conditionals to say If = X then do Y but i want the user group titles updated dynamically :( |
You mean the user title?
|
nope the usergrouptitle
Administrator Moderator Super Moderator etc, etc, etc |
All times are GMT. The time now is 08:49 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:
|