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)

shabbirbhimani 09-06-2011 12:13 AM

Quote:

Almost all issues (98%) we have had yet are because you people believe in magic :)
No I don't

Quote:

The other 1.5% of problems are because as a first step after installing you delete right away the default banners, without inserting however a valid and working banner. A 0.4% finally forgets they have vbSEO HTML cleaning options enabled. An the rest (0.1%) are missing images, erratic HTML, misspelling or true server related problems. ;)
No I don't have vbSEO installed nor did I delete the default banners. I am trying to show the default banners only as of now but no luck.

Quote:

This product does not modify your styles, templates or messages by itself. You will have to open a template and make a change to it, adding for example:

Code:

<!--@vbbanners:0@-->
and save. Then (if you have still the default banners) one of them show up at the designed location. Once you have mastered this step, all the rest is just a question of trial and failure.
Still it does not work with vB3.8

djbaxter 09-06-2011 12:28 AM

Quote:

Originally Posted by shabbirbhimani (Post 2242386)
Still it does not work with vB3.8

It has worked for me from 3.x right through to 4.1.5 so if it's not working for you you're doing something wrong.

shabbirbhimani 09-06-2011 12:31 AM

Quote:

Originally Posted by djbaxter (Post 2242390)
It has worked for me from 3.x right through to 4.1.5 so if it's not working for you you're doing something wrong.

Trying once again on fresh vb3.8 on my localhost to see if it works.

y2ksw 09-06-2011 04:06 PM

Quote:

Originally Posted by shabbirbhimani (Post 2242386)
No I don't

No I don't have vbSEO installed nor did I delete the default banners. I am trying to show the default banners only as of now but no luck.

Still it does not work with vB3.8

I haven't had yet one single case where it didn't work or where I wasn't able to get it run in some way.

Thus I'm sure I can prove you wrong :)

If you have a site online, please send me the credentials for an admin account with maintenance, settings and styles rights via PM.

shabbirbhimani 09-07-2011 12:15 AM

Quote:

Originally Posted by y2ksw (Post 2242653)
I haven't had yet one single case where it didn't work or where I wasn't able to get it run in some way.

Thus I'm sure I can prove you wrong :)

If you have a site online, please send me the credentials for an admin account with maintenance, settings and styles rights via PM.

I would have loved to but as of now I have settled with vbsponsor plugin and though I have the plugin installed it is de-activated. If I plan to re-activate it once again I will PM You. Thanks for offering such great help.

demo7up 09-08-2011 01:39 PM

i can run scripts fine im having an issue using locally stored images how can i do that?

demo7up 09-08-2011 01:55 PM

NVM i figured it out my start date was for tomorrow ..... lol

x YNWA x 09-08-2011 03:20 PM

There are no instructions with this other than a big PDF file explaining what it is.

I have uploaded the files in upload, imported the xml into admincp and the ad system is there. I even uploaded the addons folder to the forum root and the content of the addons folder to the forum root since there were no instructions saying what to do with that folder.

So I now have this banner system in there and I can see there are two default ones, but they do not display on the forum at all. Do I need to edit my templates to get them to show?

x YNWA x 09-08-2011 04:05 PM

Ok So I had to disable the cleanup of HTML on VBSEO for it to work, which is a shame.

So what I am trying to get my head around is these positions.

I have 1 advert there and on the advert page it asks me to choose a position. In my template I have <!--@vbbanners:0@--> global under the nav bar and I also have <!--@vbbanners:0@--> in the rotating banner settings page.

But if I change the banner to position 6, the banner still appears, how does all that work?

Also in the options, do I need to edit the Nth placeholder to add more positions or do I just leave it as <!--@vbbanners:0@-->? If I want more positions to be used, do I just fill the box like this <!--@vbbanners:0@-->, <!--@vbbanners:1@-->, <!--@vbbanners:2@--> etc.?

I want to use several positions.

1 global under nav
1 under thread list
1 after 15 posts
1 after each post
1 after the forum lists but above the footer, who's online etc. I realise I may need to do some manual edits to achieve this.

Just trying to get my head around the placeholder thing. Thanks

y2ksw 09-09-2011 07:19 AM

Quote:

Originally Posted by x YNWA x (Post 2243440)
Ok So I had to disable the cleanup of HTML on VBSEO for it to work, which is a shame.

So what I am trying to get my head around is these positions.

I have 1 advert there and on the advert page it asks me to choose a position. In my template I have <!--@vbbanners:0@--> global under the nav bar and I also have <!--@vbbanners:0@--> in the rotating banner settings page.

But if I change the banner to position 6, the banner still appears, how does all that work?

Also in the options, do I need to edit the Nth placeholder to add more positions or do I just leave it as <!--@vbbanners:0@-->? If I want more positions to be used, do I just fill the box like this <!--@vbbanners:0@-->, <!--@vbbanners:1@-->, <!--@vbbanners:2@--> etc.?

I want to use several positions.

1 global under nav
1 under thread list
1 after 15 posts
1 after each post
1 after the forum lists but above the footer, who's online etc. I realise I may need to do some manual edits to achieve this.

Just trying to get my head around the placeholder thing. Thanks

You can use vbSEO HTML cleaning, but then you have to change the placeholder to something different than a HTML comment. As told in the large PDF file :)

You normally would use the same placeholder over and over again in most of your templates. The formula inside will fill each same placeholder with a different banner as long as you have some in the database. You very rarely would use another "location" than 0. Thus, you would use

<!--@vbbanners:0@-->

one or more times in a page, and each time another banner appears, unless you have less available.

Of course, the placeholder looks the way as defined in the options ;)


All times are GMT. The time now is 12:57 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.03479 seconds
  • Memory Usage 1,758KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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