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.

Cust0ms 11-24-2008 01:54 PM

hello
i want to add a vertical banner to forumhome and all pages of my forum.
I tested it and add veriable @vbbanners_vertical@ under $navbar in forumhome template but I see my banner under navbar. I want to see it on right my forums.

Please, help me.

y2ksw 11-24-2008 09:11 PM

Quote:

Originally Posted by Cust0ms (Post 1671952)
hello
i want to add a vertical banner to forumhome and all pages of my forum.
I tested it and add veriable @vbbanners_vertical@ under $navbar in forumhome template but I see my banner under navbar. I want to see it on right my forums.

Please, help me.

I'm not good enough in design to tell the exact way how to do it. Basically you have to move your main page into 2 columns, one of which works as the placeholder for the banners.

Spika 11-25-2008 02:52 PM

Great job!
Thank you very much!

tiekie 11-28-2008 04:04 PM

I unistalled this script because it was breaking the forum tablets a little bit .... but even after the uninstall the forum tablest is still a little off.

What do you think the problem is ? and how do i fix it?

Here is a link to the problem:
http://www.presssex.com/forum.php (warning adult)

y2ksw 11-28-2008 06:13 PM

Quote:

Originally Posted by tiekie (Post 1674617)
I unistalled this script because it was breaking the forum tablets a little bit .... but even after the uninstall the forum tablest is still a little off.

What do you think the problem is ? and how do i fix it?

Here is a link to the problem:
http://www.presssex.com/forum.php (warning adult)

Search for the placeholders @vbbanners@ and @vbbanners_vertical@ in your templates and remove them. That's all, unless of course you have made other modifications.

The product itself does not add itself into any template, all changes are made directly by the forum owner. If it wasn't, I would have had a hundred issues already, since people are moving the banners many times before they fit, and actually it was designed as a simple addon leaving all the freedom to its users ;)

As for your problem, it looks like as if you have made a change to the vbadvanced module regarding the forum home page. And generally to the logo section in the header template. If you have saved your template changes in the style history, you should be able to roll back without problems.

For the logo, it is likely you have filled ad_header_logo with something empty, such as a table with 50% or 400px width, else I couldn't explain the gap. And maybe that's all.

tiekie 11-28-2008 09:08 PM

Thanks for the fast reply

I never put the placeholders @vbbanners@ and @vbbanners_vertical@ on my forum

Inside the admin cp there was the option to place a banner from a url which i did but i never seen the banner displayed and thats when i notice the problem. I unistalled the mod thinking it will be fixed but it wasnt.

So, do you think thats the problem? and if so which template should i go look in and for what? ... im still a litle stupid with these things

y2ksw 11-28-2008 09:23 PM

Quote:

Originally Posted by tiekie (Post 1674783)
Thanks for the fast reply

I never put the placeholders @vbbanners@ and @vbbanners_vertical@ on my forum

Inside the admin cp there was the option to place a banner from a url which i did but i never seen the banner displayed and thats when i notice the problem. I unistalled the mod thinking it will be fixed but it wasnt.

So, do you think thats the problem? and if so which template should i go look in and for what? ... im still a litle stupid with these things

If you never used the placeholders the plugin was never working, and thus could not cause any problem. In this case you need to undo the changes you have applied to your styles.

The banner records you are talking about are stored in the database only and have no effect on your board until you show somewhere a @vbbanners@ placeholder. Only then the plugin activates and replaces @vbbanners@ with a banner contained in the database (if any).

rolandogomez 11-29-2008 04:56 AM

Works perfect! Thanks, great mod. I also incorporated with the Video Mod for a demo, see here: main video index (look between "Latest Videos" and "Most Viewed.") Also here: when viewing a video (between the video clip and "Video Details."

Excellent! Thanks, rg sends!

Sunka 12-02-2008 03:17 PM

Quote:

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

Code:


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



Any news for usergroups see/not see banners

y2ksw 12-02-2008 05:36 PM

Quote:

Originally Posted by Sunka (Post 1677103)
Any news for usergroups see/not see banners

Not yet - real life demands my full attention ... but I have it scheduled :)

Sunka 12-03-2008 12:04 AM

Quote:

Originally Posted by y2ksw (Post 1677177)
Not yet - real life demands my full attention ... but I have it scheduled :)

Thank you from Croatia...
I really need to exclude Admins and Moderators to not see banners,

y2ksw 12-03-2008 02:33 PM

Quote:

Originally Posted by Sunka (Post 1677414)
Thank you from Croatia...
I really need to exclude Admins and Moderators to not see banners,

Can you please remove the fly from my screen? They make me nervous :D

Ok now we have also usergroups. No usergroups = all users see the banners, which is also the default behaviour. If one or more usergroups are specified, users who are member of one or more of these groups will view the banner.

Thus, if you wish to hide banners to admins and moderators, you define in all banners: 1,2,3,4,8 or whatever matches your groups.

Please enjoy :)

Sunka 12-04-2008 10:26 AM

Quote:

Originally Posted by y2ksw (Post 1677801)
Can you please remove the fly from my screen? They make me nervous :D

Ok now we have also usergroups. No usergroups = all users see the banners, which is also the default behaviour. If one or more usergroups are specified, users who are member of one or more of these groups will view the banner.

Thus, if you wish to hide banners to admins and moderators, you define in all banners: 1,2,3,4,8 or whatever matches your groups.

Please enjoy :)


It is Ant, no fly :D

Thanks for usergroup exclude option :up:
This will be my first update of MOD...How to update?

TsirhCitna 12-04-2008 12:05 PM

The admincp is messed up with 2.0.7.

After uploading the new files it has a dropdown for "[]" at the top and no way to get to the options.

y2ksw 12-04-2008 01:13 PM

Quote:

Originally Posted by TsirhCitna (Post 1678394)
The admincp is messed up with 2.0.7.

After uploading the new files it has a dropdown for "[]" at the top and no way to get to the options.

Please try to use the cpnav_rbs.xml from the 2.0.6 package. That should work ... please let me know.

y2ksw 12-04-2008 01:15 PM

Quote:

Originally Posted by Sunka (Post 1678355)
It is Ant, no fly :D

Thanks for usergroup exclude option :up:
This will be my first update of MOD...How to update?

1. upload the files
2. import the product-rbs.xml, allow for overwrite

LordNinja 12-04-2008 03:05 PM

Was the new file updated?

benstillman 12-04-2008 04:45 PM

Quote:

Originally Posted by LordNinja (Post 1678502)
Was the new file updated?

No. I just downloaded the 2.0.7 and had to use the 2.0.6 cpnav file.

benstillman 12-04-2008 05:05 PM

I have to add, however, this product works great. I've been using a custom java script to rotate my banners for years. This is freaking awesome.

benstillman 12-04-2008 05:13 PM

Found a problem.

Quote:

EMail Notifications
If this option is on, the specified email addresses in each banner record are notified about banner events. The time intervals and notification types depend upon individual Scheduled Task settings.
If you click on the Scheduled Task settings link, it says it cannot find crony2ksw.php. I don't see that file in any of the releases. Any ideas?

Sunka 12-04-2008 07:00 PM

Quote:

Originally Posted by TsirhCitna (Post 1678394)
The admincp is messed up with 2.0.7.

After uploading the new files it has a dropdown for "[]" at the top and no way to get to the options.

Quote:

Originally Posted by y2ksw (Post 1678432)
Please try to use the cpnav_rbs.xml from the 2.0.6 package. That should work ... please let me know.


Same error here.
I use then cpnav_rbs.xml from the 2.0.6 package and it is OK now. But WHERE is option for Usergroups to see / not see banner ????

caltek 12-05-2008 05:22 AM

Thnaks for a great MOD.... installed

y2ksw 12-05-2008 03:49 PM

Quote:

Originally Posted by benstillman (Post 1678554)
Found a problem.



If you click on the Scheduled Task settings link, it says it cannot find crony2ksw.php. I don't see that file in any of the releases. Any ideas?

Soon another release ... with this repaired (I assume that was a text replacement error) and the old cpnav_rbs included. Maybe I'll find the true reason why the *[]* error happens ...

y2ksw 12-05-2008 04:00 PM

Quote:

Originally Posted by Sunka (Post 1678621)
But WHERE is option for Usergroups to see / not see banner ????

In the Manage Banners -> below the Forums selection.

Sunka 12-05-2008 04:38 PM

Quote:

Originally Posted by y2ksw (Post 1679123)
In the Manage Banners -> below the Forums selection.

No, ther is no option for usergroup selection!
Is this maybe because I have to replace new cpnav_rbs.xml with old from the 2.0.6 package like TsirhCitna?

y2ksw 12-05-2008 05:04 PM

Quote:

Originally Posted by Sunka (Post 1679148)
No, ther is no option for usergroup selection!
Is this maybe because I have to replace new cpnav_rbs.xml with old from the 2.0.6 package like TsirhCitna?

I'm getting old. People stay young, if you can :)

New release on the way.

Sunka 12-05-2008 05:55 PM

Grazie!

Working very good.

Thanks from Croatia

y2ksw 12-05-2008 07:03 PM

Quote:

Originally Posted by Sunka (Post 1679189)
Grazie!

Working very good.

Thanks from Croatia

You're welcome! :)

SpiderFive 12-05-2008 08:24 PM

yeah it works :)
thank you

TheArve 12-06-2008 08:53 PM

Thanks for this little gem

TheArve


All times are GMT. The time now is 07:55 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.04326 seconds
  • Memory Usage 1,839KB
  • 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
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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