Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
vb Sponsors Details »»
vb Sponsors
Version: 1.00, by Dean C Dean C is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-21-2003 Last Update: 03-21-2003 Installs: 38
 
No support by the author.

vB Sponsors
by Mist


Description:

Wow my first major hack is finally here. This hack allows you to add sponsors to forums via the administrators control panel. You can only have one sponsor per forum. The way in which this hack differs from all others is that it displays it inside the forum (in forumdisplay.php). It allows you to select a sponsor name, image, url, and log views and clicks for each banner (which are all editable via the administrators control panel).

Features:
  • Sponsors on forumdisplay
  • Easily edit your sponsors for each forum via the Admin CP
  • Logs clicks and views for each sponsor
  • A wide variety of customizable options via the Admin CP (coming soon)


Installation:
  • Simply follow the instruction in the attachment

Credits:
  • NanoEntity for guidance on the click logging.

Show Your Support

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

Comments
  #52  
Old 06-13-2003, 10:22 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry what do you mean skrueger?

- miSt
Reply With Quote
  #53  
Old 06-27-2003, 01:09 AM
MSX MSX is offline
 
Join Date: Dec 2002
Location: Florida
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit: disregard this post please
Reply With Quote
  #54  
Old 07-11-2003, 04:47 PM
ryans ryans is offline
 
Join Date: Feb 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack. I'm curious though. In my forum display I do not user the moderator field. anyway to have it show up in that space instead?
Reply With Quote
  #55  
Old 07-13-2003, 05:54 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ryans...I was looking for a similiar thing.

Instead of showing up the image in the forum display...it could be shown in the mod column only.

Can this be done mist ??

Thanks for your time !
Reply With Quote
  #56  
Old 07-13-2003, 10:23 AM
Bulleh Bulleh is offline
 
Join Date: May 2003
Location: Leicester
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok hacked installed, seems great
just a few opinions
1) Maybe it could have the box there when you dont have a sponsor saying "Sponsor This Forum - Click Here To Find Out How" or something like that,

2) in the Admin CP, when you add the sponsor, and it asks for image name, can you not make it so you can post the URL for that image, instead of having to upload it to your /images folder each time u add a sponsor,

as ive said , a great hack, just a few opinions,
Reply With Quote
  #57  
Old 07-15-2003, 06:56 AM
chad chad is offline
 
Join Date: Jun 2003
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks!

/me hits install
Reply With Quote
  #58  
Old 08-14-2003, 06:25 PM
clamcrusher clamcrusher is offline
 
Join Date: Jul 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i try and run the last query:

ALTER TABLE forum ADD sponsorclicks MEDIUMINT(10) not null default '0' AFTER sponsorviews;


it sais this:

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: ALTER TABLE forum ADD sponsorclicks MEDIUMINT(10) not null default '0' AFTER sponsorviews;

mysql error: You have an error in your SQL syntax near ';
' at line 1

mysql error number: 1064

Date: Thursday 14th of August 2003 03:21:09 AM
Script: http://www.anabolic-alchemy.com/admin/query.php
Referer: http://209.67.24.185/admin/query.php?t=0&s=



the others worked just fine

i finsihed the hcak install but i dont see anything in the admin panel to add banners, guess that query needs to be ran for it to work. help?
Reply With Quote
  #59  
Old 08-16-2003, 06:53 PM
clamcrusher clamcrusher is offline
 
Join Date: Jul 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok when i try to make new forums i see the fields now. but i cant make a new forum cause when i try and save it it gives this error:

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayo rder,parentid,
parentlist,allowposting,cancontainthreads,sponsorn ame,sponsorimage,sponsorurl,sponsorviews,sponsorcl icks,
daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta ch)
VALUES
(NULL,'1','Secure Questions','Ask questions in here that only the moderators and admins will be able to see. When you make posts in here only you and the mods will be able to view it, other members will not see it. DONT ASK FOR SOURCES, none will be given to you.','1','8','-1',
'','1','1','','','','','',
'30','','',
'0','0','1','0','1','1',
'0','0','0','0')
mysql error: Unknown column 'sponsorclicks' in 'field list'

mysql error number: 1054

Date: Saturday 16th of August 2003 03:49:34 AM
Script: http://www.anabolic-alchemy.com/admin/forum.php
Referer: http://209.67.24.185/admin/forum.php?action=add&s=
Reply With Quote
  #60  
Old 08-16-2003, 08:17 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You haven't run the queries as it asked in the file ^^
Reply With Quote
  #61  
Old 09-11-2003, 10:11 PM
FastAttack FastAttack is offline
 
Join Date: Feb 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey mist are you going to update this for 3.0 ?
Reply With Quote
Reply

Thread Tools

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:36 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.08620 seconds
  • Memory Usage 2,295KB
  • 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
  • (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