vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Is there any hack To show Banners For Usergroups. (https://vborg.vbsupport.ru/showthread.php?t=166299)

parash 12-28-2007 05:43 AM

Is there any hack To show Banners For Usergroups.
 
I am making one small forum for entertainment.I have different groups formed i want to do is Just use some banners atleast four five for one group which could be seen in topbar near the username area in middle.Each time page refreshed the picture would change itself.

Is there any hack For it or any ways i can five that facility for my users .It would be great if there is any hack...add ons....

Or Anyone Have idea how to fix out this thing....Help me Out.

Thanks

Dismounted 12-28-2007 12:02 PM

Simply use this in your templates:
Code:

<if condition="is_member_of($vbulletin->userinfo, X)">BANNER CODE</if>
Where "X" is the usergroup id to show the banner to.

parash 12-28-2007 03:39 PM

Quote:

Originally Posted by Dismounted (Post 1410740)
Simply use this in your templates:
Code:

<if condition="is_member_of($vbulletin->userinfo, X)">BANNER CODE</if>
Where "X" is the usergroup id to show the banner to.


Thanks...but is it possible to make something like i want in it....like each group want to have atleast five banners to their group which must be changed in each time when we refresh page....or se other posts of those...groups and must be aligned center is this possible to be done.

thanks

Opserty 12-28-2007 07:00 PM

You'll need an external/custom script to rotate the banners randomly.

parash 12-28-2007 11:25 PM

Quote:

Originally Posted by Opserty (Post 1410966)
You'll need an external/custom script to rotate the banners randomly.

is it possible to get any help...about it..

Dismounted 12-29-2007 12:34 PM

Find a javascript banner rotator (Google is the key) :).

parash 12-29-2007 09:03 PM

Quote:

Originally Posted by Dismounted (Post 1411361)
Find a javascript banner rotator (Google is the key) :).

i dont think you get what i mean i mean i will add like 5 bannerunder a group and everytime u go to a post there is the group member which have 1st banner when you refressh the page you can see another banner....its just change in the banner


All times are GMT. The time now is 06:41 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
  • Page Generation 0.01778 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete