Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Banners & Ads System Details »»
Banners & Ads System
Version: 1.02, by AnhTuanCool AnhTuanCool is offline
Developer Last Online: Sep 2006 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-18-2005 Last Update: 01-27-2005 Installs: 108
DB Changes
 
No support by the author.

Banners & Ads System
---------------------------------
by AnhTuanCool

Fully Tested on vb 3.0.5

Description:
Banners & Ads System allows you to have a slot on every pages in your forum for showing banners and ads. Banners and ads in database will randomly pickout to show everytime new page is loaded. Admin options in admincp allow you to fully administrate your banners and ads.

Feautures:
- Show Random Banner or Ad on everypage
- Clickable Link (of course )

Admin Feautures:
- Master Switch on/off
- Fully Add/Edit/Delete Banners, Ads Factors (such as title, dimension, links, etc...)
- Enable/Disable Banners To Be Shown (if you set Disable to a banner, it will not show)
- Banner Template Layout Alterable
- Show Banner Anywhere on your global templates

Updates:
Jan 28th - Add update to display banner anywhere rather than the nav

Install Instruction and Screenshots:
See attachments.

If you find this hack useful, also get informed by any new release & update, please click INSTALL. Thanks,

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 05-12-2005, 05:51 PM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nmu98
Can someone fill me in on step 2
2. Master switch
==================================
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_title', 'Enable Banners & Ads System', 5000);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_desc', 'If this option set to Yes, overal show banners and ads on navbar function will be turned on.', 5000);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('enbanners', 'general', '1', '1', 'yesno', '1000', '0', '0');
=================================

Where do I find this? VB3.07
You insert in into phpmyadmin or similar.
Reply With Quote
  #133  
Old 05-20-2005, 11:45 PM
jurrie jurrie is offline
 
Join Date: May 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey,

for those who have problems showing the banner on the forum homepage, I figured this out :
in my forum, it was properly showing on every forumpage ( userCP, FAQ, etc.)
but not on the forumhomepage.
what i did was ad the $banner here

from stylemanager :

choose : forum home templates ---> forumhome ( ad the $banner at the very bottom ) and voila . it works ( for me that is ) , try it out

see : http://www.designerschat.com
Reply With Quote
  #134  
Old 05-25-2005, 02:28 AM
edyonline edyonline is offline
 
Join Date: Mar 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Craigr
Tested locally and worked okay.
not really... if you have multiple banner it will update ALL banners

edit gotobanner.php

find:
$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1");

change to:

$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1 WHERE adid='$id'");
Reply With Quote
  #135  
Old 05-26-2005, 05:28 AM
Monica05 Monica05 is offline
 
Join Date: Apr 2005
Location: NC
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still can't get mine to show up ANYWHERE
Reply With Quote
  #136  
Old 05-27-2005, 12:31 AM
Lt. Dan Lt. Dan is offline
 
Join Date: Feb 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Monica05
I still can't get mine to show up ANYWHERE
Me either. I did everything exactly per the instructions and the $banner doesn't show up anywhere. Its as if it is being ignored.
Reply With Quote
  #137  
Old 05-27-2005, 06:34 AM
Lt. Dan Lt. Dan is offline
 
Join Date: Feb 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, I think I found a glitch in the install.

The template that is created by following the instructions is titled: Banner with a capital 'B', but the code you insert to display the banners is $banner with a small 'b'.

I renamed the 'Banner' template to 'banner' and now it works!
Reply With Quote
  #138  
Old 05-30-2005, 02:47 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked like a charm, thanks
Is it possible to have a output page for the sponsers too see?

Quote:
Originally Posted by edyonline
not really... if you have multiple banner it will update ALL banners

edit gotobanner.php

find:
$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1");

change to:

$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1 WHERE adid='$id'");
Reply With Quote
  #139  
Old 05-31-2005, 11:17 PM
treez treez is offline
 
Join Date: Jul 2004
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a thing for this that counts the views/clicks. Hope you dont mind. (email comments to rdillon@sprocket.co.nz beacuse I dont come here often)
Reply With Quote
  #140  
Old 06-07-2005, 01:35 PM
Craigr's Avatar
Craigr Craigr is offline
 
Join Date: May 2002
Location: Ayr, Scotland
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edyonline
not really... if you have multiple banner it will update ALL banners

edit gotobanner.php

find:
$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1");

change to:

$DB_site->query("UPDATE " . TABLE_PREFIX . "banners SET visits = visits+1 WHERE adid='$id'");
Well spotted.
Reply With Quote
  #141  
Old 06-16-2005, 04:38 PM
mkdevo mkdevo is offline
 
Join Date: May 2004
Location: CT, USA
Posts: 269
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fuse3k
does this mod work with text ads? More specifically, does it work with Google AdSense?
anyone?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06966 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete