Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
vB Sponsors - Add a sponsors location to your site Details »»
vB Sponsors - Add a sponsors location to your site
Version: 1.0.5, by davidw davidw is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.1 Rating:
Released: 02-05-2009 Last Update: 04-02-2009 Installs: 98
Uses Plugins Template Edits
 
No support by the author.

What does this do?
This allows you to add sponsors to your site.

How does this install?
1) Install this product via Admincp => Plugins & Products => Manage Products
2) Edit your Admincp options via Admincp => vBulletin Options => vBulletin Options => vB Sponsors Settings
3) Add one or more wherever they will work.
$vbsponsors_marquee - Box with scrolling marquee (vertical - up)
$vbsponsors_marqueeh - Box with scrolling marquee (horizontal - left)
$vbsponsors_onecolumn - One column sponsor box (uses first 20)
$vbsponsors_twocolumn - Two column sponsor box (uses two columns; Column 1 uses 1-10, Column 2 uses 11-20)
$vbsponsors_threecolumn - Three column sponsor box (uses three columns; Column 1 uses 1-7, Column 2 uses 8-14, Column 3 uses 15-21)
$vbsponsors_fourcolumn - Four column sponsor box (uses four columns; Column 1 uses 1-5, Column 2 uses 6-10, Column 3 uses 11-15, etc.)
$vbsponsors_fivecolumn - Five column sponsor box (uses five columns; Column 1 uses 1-4, Column 2 uses 5-8, etc.)
$vbsponsors_sixcolumn - Six column sponsor box (uses six columns; Column 1 uses 1-3, Column 2 uses 4-6, etc.)

Currently I have it set up (in the screen shot) in the FORUMHOME template right above the <!-- what's going on box --> comment.

How does this work?
Edit your:
Sponsorbox Title
Usergroups
Column widths (for left, center, and right columns)
- 1 column uses the center column size
- 2 column uses the left and right column sizes
- 3 column uses all three column sizes
- 4 column uses 4 even column sizes (to set)
- 5 column uses 5 even column sizes (to set)
- Marquee uses 1 column size.
Height and width of image to be resized (you can use any image but it will be resized to the dimension you specify here - width must be smaller than column width).
Sponsor Title, Image, and Link
- Title is the title or caption of the image
- Image is the your image you want displayed (full http:// URL works best)
- Link is where you want the clicked image to go to

You can have up to 21 Titles, Images, and Links. See screenshot for more detail. If anyone would like to provide a demo, please PM me and I will add it here.

It has been pointed out to me that you may be able to use this in more than one location:
e.g. $vbsponsors_threecolumn in your FORUMHOME template, and $vbsponsors_onecolumn
in your sidebar/column if you use columns. I've not tested this but have had someone test this with success.

Release Notes:
Gold: No changes

RC1: Added 3 more column choices and a new horizontal marquee choice. Removed a couple options that didn't work.

Beta 4: Fixed 3 bugs.

Beta 3: Fixed 4 phrases that may have caused some confusion.
- Added a scrolling marquee (up) for scrolling and size purposes.

Beta 2: Fixed ability to enable/disable modification.
- Added function to give each column's images their own sizes (width and height) specific for that column.
- Added second admincp page to separate long list of options from long list of Titles, Images, and Links.

Beta 1: Initial Release

Ideas for future releases:
[s]One column marquee[/s] - Added in Beta 3

Pre-RC notes:

As this is Beta, I will support this but I am not responsible for issues outside of my control. If you would like to contribute to this and offer suggestions, please PM me and I will do my best to add/take in all suggestions for this modification as this can/does have potential. Aside from the bugs marked in the notes below, this beta is fully-functional.

I've classified this as Beta for these reasons:
1) I have more features planned for this
2) 2 features are present that may be developed further or may be removed as they currently do not serve a purpose.
[s]Enable vB Sponsors - does not currently work.[/s] - Fixed
Unphrased item with three options - very well might remove this - serves no purpose.
3) 2 features are present that are somewhat potentially useless and are considered as "extras" that I am unsure their outcome.

One final note. If you don't like this, don't use it - if you do, great!

Download Now

File Type: zip vBSponsors1_0_5.zip (253.5 KB, 760 views)

Screenshots

File Type: jpg Admincp.jpg (126.7 KB, 0 views)
File Type: jpg three.jpg (77.3 KB, 0 views)
File Type: png Admincp2.png (65.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:

Comments
  #22  
Old 02-09-2009, 11:21 PM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your last explanation's last sentence was most helpful - I used that as the basis for my inquiry. Although the modification can appear to be somewhat easy, if you take a look at the XML and you can see how it can become confusing.

I hope the last addition (marquee) will be beneficial to some as I've seen on many sites where they've added it to a template and had to hand edit it every time.
Reply With Quote
  #23  
Old 02-09-2009, 11:43 PM
Lone Gunman Lone Gunman is offline
 
Join Date: Nov 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how exactly does the marquee work btw? do the banner images scroll up?
Reply With Quote
  #24  
Old 02-10-2009, 12:01 AM
Lone Gunman Lone Gunman is offline
 
Join Date: Nov 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

forgot url for sponsor 15
Reply With Quote
  #25  
Old 02-10-2009, 12:10 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, currently it is set to scroll up. I'll look at the URL for 15.
Reply With Quote
  #26  
Old 02-10-2009, 12:13 AM
Lone Gunman Lone Gunman is offline
 
Join Date: Nov 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the phrase for the url on 3 (description before the blank in cp) is missing too
Reply With Quote
  #27  
Old 02-10-2009, 12:46 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed those two bugs and one other. Updated.
Reply With Quote
  #28  
Old 02-10-2009, 12:47 AM
The3rdNipple The3rdNipple is offline
 
Join Date: Oct 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you happen to know how to not make it push the sections out of place?
Reply With Quote
  #29  
Old 02-10-2009, 12:52 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reducing the width on the column (and keeping the image sizes slightly smaller than the column width). Do you have an example of where this is happening?
Reply With Quote
  #30  
Old 02-10-2009, 01:01 AM
Lone Gunman Lone Gunman is offline
 
Join Date: Nov 2008
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks again!
Reply With Quote
  #31  
Old 02-14-2009, 01:28 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If no more issues, I may release the Gold version this weekend.
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 08:10 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.09572 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
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
  • (4)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
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete