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
Banner ad on forum Home Details »»
Banner ad on forum Home
Version: 1.00, by Beermonster Beermonster is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-16-2004 Last Update: Never Installs: 71
Supported
 

Adapted from "Add a banner image to each forum" script by Harrybutt
https://vborg.vbsupport.ru/showthread.php?t=61555

This modification will add an image banner with link and text to each forum you choose, and display it in on your forumhome, you can have a different banner for each forum with additional text above the banner like Sponsored by or affiliated with, or you can choose to have no text.

I have used 100x25px images for the example screen shot, but you can use what ever size you like, but remember it will effect the way your forum looks.

Hope people find this usful, this is my first hack as I'm still a big noob when it come's to hacking

Opps sorry made a slight error in the dir name, it's fixed now


For 3.5.x look here

Show Your Support

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

Comments
  #42  
Old 07-16-2004, 04:42 AM
WreckRman2 WreckRman2 is offline
 
Join Date: Dec 2001
Location: Indianapolis, IN
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beermonster, Is there any way to modify this hack to just it to display forum specfic banner ads that show on top of ceratin forums?
Reply With Quote
  #43  
Old 07-16-2004, 05:39 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IndyWebDesign
Beermonster, Is there any way to modify this hack to just it to display forum specfic banner ads that show on top of ceratin forums?
You've lose me, each forum can have it's own ad displayed
Reply With Quote
  #44  
Old 07-16-2004, 05:54 AM
WreckRman2 WreckRman2 is offline
 
Join Date: Dec 2001
Location: Indianapolis, IN
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I meant was to be displayed on top of each forum listing as well as on every thread under that forum. I've just finished up my doings thanks in great part to your hack. If you like I will gladly share it with you. My little variation works directly with phpAdsnew so that tracking can be done on the ads.

Here is an example:

http://www.rcflying.net/images/example.jpg

It shows a very large banner, 700x125 is what I am using.
Reply With Quote
  #45  
Old 07-21-2004, 12:56 AM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beermonster,

This works like a charm on my forums for users with IE, but users with Nescape browsers are reporting that the ad doesn't align correctly. I have verified that myself, please check out the attachment. Any way to correct this?
Reply With Quote
  #46  
Old 08-02-2004, 09:55 PM
Dead End Society's Avatar
Dead End Society Dead End Society is offline
 
Join Date: Jul 2004
Location: Cleveland, OH
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for not knowing everything, I have installed about 5 hacks already, but am having problems understanding what to do for the first part of this hack, where it is asking me to add field to the forum table and the "Run Query" part.

Can someone be a little more clear for me?
Reply With Quote
  #47  
Old 08-03-2004, 12:18 AM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cavs,

You need to login to your database and run those queries there.
Alternatively you may try to run them in your admincp if you have the appropriate privileges set.
Reply With Quote
  #48  
Old 08-03-2004, 03:13 AM
Dead End Society's Avatar
Dead End Society Dead End Society is offline
 
Join Date: Jul 2004
Location: Cleveland, OH
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ I still have no clue what to do though, that's doing nothing for me. Remember, I'm a raw newbie. How do I run them? Where exactly are they?
Reply With Quote
  #49  
Old 08-03-2004, 05:35 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cavs Central
Sorry for not knowing everything, I have installed about 5 hacks already, but am having problems understanding what to do for the first part of this hack, where it is asking me to add field to the forum table and the "Run Query" part.

Can someone be a little more clear for me?
The query needs to be run in mysql, go to phpmyadmin choose your database, then click on the sql tab you will then see a box that says Run SQL query/queries on database just paste the contents in to it and press go
Reply With Quote
  #50  
Old 08-11-2004, 11:40 AM
ricoracing ricoracing is offline
 
Join Date: Aug 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if I'm the admin and Im' in the adminCP panel and go down to import and maint.

I then tell it to execute SQL query and it says I don't have access. HOw is that when I am the admin of the site.

I also can't do it from the hosting center when I go to the mysql option.

I"m also a newbie and have no idea of what's going on.. LOL

I think once i get the tables setup I"ll be fine.. :ermm:
Reply With Quote
  #51  
Old 08-11-2004, 12:55 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your hosting has cpanel click on the mysql icon then scroll down to the bottom and you will see a link to phpmysql click on that and it will take you to another page, there you can choose your database and them run the query.


As for not being able to run it from admincp I think, and I might be wrong, but edit your includes/config.php and find
// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
you will see $canrunqueries = '1';
If you setup the forum then you should be user #1 but if someone set it up for you then made you a member you will have a different number.
Also make sure $superadministrators in the same file has your number in it.

Hope that works for you
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 07:01 AM.


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.11962 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)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
  • (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