vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - vbBannerRotator (https://vborg.vbsupport.ru/showthread.php?t=129418)

NathanMc 11-10-2006 08:54 PM

I keep getting ## INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO forumplugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'bannerrotator_cache', 'cache_templates', '$globaltemplates = array_merge($globaltemplates, array(\'bannerbns\'));\r\n$globaltemplates = array_merge($globaltemplates, array(\'bannerbnstwo\'));', 'bannerrotator');

MySQL Error : Unknown column 'executionorder' in 'field list'

when i try to upload the .xml

michaelsilvia 11-11-2006 05:50 AM

So, I can assume it just rotates between the banners? So if I have ten different banners active it will just cycle through each one? This is great for profite sharing on a site. Allows moderators to have their code in there and get paid. Brilliant idea!

Mike

Luggruff 11-11-2006 11:09 AM

Quote:

Originally Posted by michaelsilvia
So, I can assume it just rotates between the banners? So if I have ten different banners active it will just cycle through each one? This is great for profite sharing on a site. Allows moderators to have their code in there and get paid. Brilliant idea!

Mike

Yes, it circles through 10 different banners. I don't know, but you might be able to put the conditional for the banneradstwo (five other banners).. as a banner itself? ^^

Then you'll get 15 banners, in the same place, only 5 that will be random each 10th time, wich will make them less unlikely to show up (could use for sponsors that doesn't pay as much as others?)

The moderators can only use this if you are nice and give them advertising space, of course you'll have to put their banners in there for them but sure.. why not.

VBUsers 11-13-2006 07:42 AM

just what i was looking for and thank you. clicked install

DDad 11-13-2006 07:03 PM

Sounds like a great product and I want to install this but I have a stupid question. I read every post and may of missed it.

If I want 10 banners install the first one?
If I want 5 banners install the second one?
Or both?
Sorry in advance!

Luggruff 11-13-2006 07:22 PM

Quote:

Originally Posted by DDad (Post 1116533)
Sounds like a great product and I want to install this but I have a stupid question. I read every post and may of missed it.

If I want 10 banners install the first one?
If I want 5 banners install the second one?
Or both?
Sorry in advance!

yes, for 10 banners, install the first one. For 5 more, install the second one also. ;)
so.. both, to get a total of 15.

What I'm going to do is use this to have 9 premium banners, and in the 10th I'm putting the $GLOBALS[banneradstwo] (if it works with php? can anyone verify this?) for 5 not so important banners ;P

DDad 11-13-2006 07:36 PM

Thank you!! quick too!!

Sjakie 11-15-2006 10:28 PM

Is it possible for me to put $bannerads in a language/phrase file. I tried, but it just shows the text. In stead of executing the code.

Please look at the attached file to see what I mean...

barbiedoll 11-16-2006 12:12 PM

Quote:

Originally Posted by Luggruff (Post 1114206)
It means that you go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in (since you're new, I can only gues you only have one styles to choose from) -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in.

(an example, if you want the banners to be in the HEADER, then you edit the god for the HEADER template and write $GLOBALS[bannerads] or $GLOBALS[banneradstwo] where ever in that template you want it to show up in)

..this of course means you have to be familiar with HTML, if not, ask someone you know.

confused about the difference between $GLOBALS[bannerads] and $GLOBALS[banneradstwo]? Read the instructions the creator of the hack has made. Pretty simple. Top post on all pages of this thread.

And to add banners, just go to the vBulletin settings at the top of the menu in your adminCP.

I am not seeing the vBulletin settings at the top of the menu n your admin cp.. What did I do wrong??

I see vbulliten options.. Please help>> sorry for the dumb questions but this is my first time working with this.. :)

also where should I be downloading the html file to ??

Luggruff 11-16-2006 01:14 PM

Quote:

Originally Posted by barbiedoll (Post 1118547)
I am not seeing the vBulletin settings at the top of the menu n your admin cp.. What did I do wrong??

I see vbulliten options.. Please help>> sorry for the dumb questions but this is my first time working with this.. :)

also where should I be downloading the html file to ??

Yeah, well, vBulletin options ;P I've got a translated version and it says settings in my lang (:


All times are GMT. The time now is 04:38 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.01900 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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
  • (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