![]() |
|
Article Options |
#376
|
||||
|
||||
Are you making it in a sidebar template? It's not going to work in static HTML.
__________________
-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.
|
#377
|
|||
|
|||
I'm not sure on how to do that. Any guide on how I can do that without messing anything up in the process?
No members have liked this post.
|
#378
|
||||
|
||||
Originally Posted by GameOverViper
Just copy everything from the (block_html) in your templates and create a new template and rename it to something like (block_html_user). ![]()
Then you wrap it in the conditional like this:
Once you do that, create a new forum block and in the "Template To Use" option add the new template you cloned, in this case "block_html_user" And you are good to go! Make sure you replace the red "x" with the usergroups you which to only show it to. No members have liked this post.
|
#379
|
|||
|
|||
Appreciate the help CheechDogg! I believe it worked for me
![]() The following members like this post: CAG CheechDogg
|
#380
|
||||
|
||||
Good stuff Game glad it worked buddy...
No members have liked this post.
|
#381
|
|||
|
|||
If you want to show something to somebody with less than 10 posts, what's the conditional for that?
No members have liked this post.
|
#382
|
||||
|
||||
Originally Posted by g00gl3r
This should do it.![]()
No members have liked this post.
|
#383
|
||||
|
||||
does that code look right?
__________________
Ausbb - Australian BodyBuilding No members have liked this post.
Last edited by TheLastSuperman; 31 Mar 2014 at 12:13. |
#384
|
||||||||
|
||||||||
![]()
Originally Posted by biftek
Try:![]()
The !is means that it this condition is read as "If the user is not a member of usergroup #11 allow them to see this".
__________________
Daddy Does Dios and Figs! *I no longer provide vBulletin Services (No PM's, please). Search - Use the search feature to find similar issues/answers. Information - Include screenshots, copy/pasted error codes, url etc. Fixed - Please return to your thread/post and let us know how it was fixed! Thanks - For participating! Click the "Like" ♥ on a post if someone helped you! No members have liked this post.
|
#385
|
|||
|
|||
This works and should replace the non-working code given in the first post. Thank you Alp Ozdemir!
No members have liked this post.
|
#386
|
||||
|
||||
hello! I want to show in some groups (1,2,3,4,5,6) postbit banner but don't know how to do it as this conditions are only to show TO groups but not FROM groups
![]()
__________________
WBR`s M.C. No members have liked this post.
|
#387
|
||||
|
||||
Originally Posted by M.C.
Try this: ![]()
No members have liked this post.
|
#388
|
|||
|
|||
$bbuserinfo['userid']
or $vbulletin->userinfo['userid'] not work in vb4 ![]() No members have liked this post.
|
#389
|
|||
|
|||
Please post your whole conditional statement and associated references.
What template? What line number in that template? What version of vBulletin? There is no way we can determine anything from the data you have given us. ![]() No members have liked this post.
|
#390
|
||||
|
||||
This condition to show content TO usergroups in list but I want to show content if post FROM usergroup...
tbworld, here is example: http://www.rcgroups.com/forums/showt...16#post7877841 this is vb3 forum but... I want in postbit_legacy template for some groups add banner and change background as it's done in above forum So my code should look like: <div id="postbit_legacy_left"> avatar... info... <vb:if condition="IF USER WHO POST THIS FROM GROUPS: IDs OF PREMIUM GROUPS (1,2,3)">HERE COMES BANNER CODE</vb:if> </div> is it more clear now? Thanks ![]()
__________________
WBR`s M.C. 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 06:58.