vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

Apolo. 10-31-2008 04:16 AM

Quote:

Originally Posted by y2ksw (Post 1656333)
I'm sure you are making something wrong. If you replace the cpnav_rbs.xml file, nothing can go wrong with vbSEO!

Hi Giovanni,

I never said vBSEO was affected. It was the menu to the left which was affected and replaced by those weird characters the place where it should be "vBSEO" menu option.

And also the Rotating Banner System menu option, again, from the menu to the left, was missing.

I did exactly what you told me: to upload the XML file via FTP. Once there, that issue came in. Once I uploaded the backup file, everything was normal again. I can provide you with detailed snapshots, step by step, to prove my issue, if you want.

RBS itself is working fine, so no worries. :)

Regards,

viper357 11-05-2008 01:24 PM

Is there any way I can set which usergroups can view different types of banners?

What I want to do is have google ads showing to guests only, but once registered then you will only see the normal sponsor/advertising banners?

Thanks

y2ksw 11-05-2008 02:15 PM

You may use a conditional in your styles, but the banner system does not support user groups. Not a bad idea though ;)

viper357 11-05-2008 02:41 PM

Quote:

Not a bad idea though
:D:D:D ;)

You would be my new best friend if you could do this. Until then....

Could I use a conditional to say if usergroup is guest then display "google ads code" else display @vbbanners@ ? Would something like that work?

y2ksw 11-05-2008 04:55 PM

Quote:

Originally Posted by viper357 (Post 1659942)
:D:D:D ;)

You would be my new best friend if you could do this. Until then....

Could I use a conditional to say if usergroup is guest then display "google ads code" else display @vbbanners@ ? Would something like that work?

This makes me fear :D

Code:


<if condition="$show['member']">
    @vbbanners@
<else />
    <!-- Google Ads -->
</if>


viper357 11-05-2008 05:44 PM

Quote:

Originally Posted by y2ksw (Post 1659994)
This makes me fear :D

:p

Thank you so much, it's working perfectly :up: :up: :up:

WIHEE 11-14-2008 04:29 AM

Nice, I love it. You have done a good job.

I installed, and now I will go over it

Thanks ;)

TsirhCitna 11-21-2008 02:17 PM

Works perfectly. Great mod, thanks!

yamahapaul 11-22-2008 05:12 AM

Can this be used to simply rotate your logo/ header in the default position as mine is here-

http://www.midlandsheritage.co.uk/

if so can anyone advise how please?? :o

y2ksw 11-22-2008 08:26 AM

Quote:

Originally Posted by yamahapaul (Post 1670467)
Can this be used to simply rotate your logo/ header in the default position as mine is here-

http://www.midlandsheritage.co.uk/

if so can anyone advise how please?? :o

Yes sure - logo rotating works just as banner rotating. Just replace the logo image HTML in your header template with @vbbanners@, store at least one logo and you're done.


All times are GMT. The time now is 02:00 PM.

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.02754 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete