![]() |
|
Article Options |
#76
|
||||
|
||||
Can someone tell me if this is right to put in our footer to not have something show on the CMS and to not show it to guests:
I just want someone to tell me if it is correct, if not what is correct. No members have liked this post.
|
#77
|
||||
|
||||
The correct this_script for CMS is
__________________
Mert Gökçeimam / Crawlability Inc. DepKaç | vBSEO 3.3.0 - vBulletin Search Engine Optimisation No members have liked this post.
|
#78
|
|||
|
|||
****UPDATE***
Ok, finally figured it out, had to pass in usergroups in the $show variable from the plugin. So in the plugin: $show[gm_ugs] = explode(',', trim($vbulletin->options['gm_user_groups_allowed'])); and in the template, the condition is: <vb:if condition="is_member_of($bbuserinfo, $show[gm_ugs])"> I'm sure that's obvious to most of you, but... just incase someone else has the same question, hopefully that helps. -------------------------- How do you check multiple usergroups in a template? Such as: <vb:if condition="is_member_of($bbuserinfo, $usergroups)"> where $usergroups = "6,15,10" Specifically: <vb:if condition="is_member_of($bbuserinfo, array($vboptions['gm_user_groups_allowed']))"> Is what I am trying, but it only seems to work if $vboptions['gm_user_groups_allowed'] is not an array and is a single value. No members have liked this post.
Last edited by Trek; 22 Jun 2010 at 04:52. |
#79
|
||||
|
||||
Originally Posted by SledgeHead
![]()
I have profile field 8 with radio single selection as the type. It's set with options of yes and no. It seems to be working.
No members have liked this post.
|
#80
|
||||||||
|
||||||||
Originally Posted by Webmist
This would use many many less clock cycles and allocate less memory.![]()
And watch how you spell 'yes' when you create your custom fields, case matters.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum. An informed rider makes their first destination the motorcycle forum at rider info. No members have liked this post.
|
#81
|
||||||||
|
||||||||
Originally Posted by BBR-APBT
Hello all,![]()
How would I be able to make a mix of this? ie: Show in all forums except for 40, 41, and 42? Cheers No members have liked this post.
|
#82
|
||||
|
||||
Originally Posted by ICannt.org
I want to know how to do that too ![]()
coz the old conditional not work also the new one No members have liked this post.
|
#83
|
||||
|
||||
I am curious if there is a conditional that I can use in the threadbit or forumhome template that will let me display X if a certain forum is being displayed...
$forum[forumid] doesn't work in the threadbit template, it has no value at all... is there an alternative way? Basically I want to only display something if forumdisplay.php?f=2 is the page I'm on.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#84
|
|||
|
|||
subscribe.
K No members have liked this post.
|
#85
|
||||
|
||||
Show Moderator of one forum: Remember to change x
This condition does not work. Shows in all forums and not just 'x' !!! No members have liked this post.
|
#86
|
||||
|
||||
Hi guys..I have a donators group,
how can I show something only in the postbit of donators group list ? Thanks ![]()
__________________
![]() No members have liked this post.
|
#87
|
||||
|
||||
Originally Posted by ubcforums
Edit the postbit (or postbit_legacy) and add![]()
Change "9" to your paid usergroup id... if more than one then separate by comma: 9, 10, 11
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#88
|
||||
|
||||
Originally Posted by BirdOPrey5
does, this show the defined text only to members or group 9 ??![]()
..i want to show the text in the postbit of the every member of group 9, visible to other groups.. Thanks
__________________
![]() No members have liked this post.
|
#89
|
||||
|
||||
That would show whatever you put above the </vb:if> only to users in usergroup id 9... If you want to display it to everyone you wouldn't use the IF statement at all. I don't think I fully understand the question.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#90
|
||||
|
||||
if the member belongs to a group,,a text should appear in the post bit of that member..
which will be visible to every one.. Thanks ![]()
__________________
![]() No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:20.