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

Reply
 
Thread Tools
Ads or anything anywhere Details »»
Ads or anything anywhere
Version: 1.0.0, by Simon Lloyd Simon Lloyd is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 08-06-2012 Last Update: 08-06-2012 Installs: 15
Uses Plugins
 
No support by the author.

What this mod does
Allows you to put an ad or anything i.e html, text..etc in any template simply by adding a variable like $ad1. Each ad or content can be individually turned on and off in admincp

What this mod doesn't do
This mod does not have a rotational feature and does not provide any automatic features, it's simply a mod that allows you to add some text, html or whatever in admincp in any or all of the 6 ad boxes and display those contents anywhere you add the variables.

Installation
Simply go to AdminCp>Plugins & Products>Manage Products>Add/Import Product or http://www.yoursite.com/forum/adminc...?do=productadd then in Admincp>vbulletin Options>Ads Everywhere turn the mod on, add content and then place your variables in any templates you like, the variable for each ad box is shown in the description.

Uninstall
Simply uninstall through admincp

Originally asked for and donated for by: PANZER MAX

Download Now

File Type: xml product-ad_everywhere.xml (8.7 KB, 100 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
blind-eddie, Panzer Max

Comments
  #2  
Old 08-07-2012, 06:39 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't even need to setup new variables as the options are already accessible anywhere.
Reply With Quote
  #3  
Old 11-16-2012, 01:20 AM
Panzer Max's Avatar
Panzer Max Panzer Max is offline
 
Join Date: May 2006
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great--simple interface and effective. Thanks, Simon!
Reply With Quote
  #4  
Old 11-20-2012, 06:04 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work on 4.1.10 ? Can you update for work on 4.1.10 ?
Reply With Quote
  #5  
Old 11-20-2012, 06:32 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've not tried it on vb4 but i belive that the variables have to be rendered, i don't have a reason at the moment to upgrade this but that's not to say i wont in the future

Give it a try anyway, you can always uninstall it without any consequences.
Reply With Quote
  #6  
Old 11-20-2012, 06:50 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed but where ads to show ?
Reply With Quote
  #7  
Old 11-20-2012, 06:53 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to add the variables as explained wherever you want the ad or whatever to show. As it says in the mod
Quote:
Enter your ad content/html for you ad, you use it by putting $ad1 wherever you want the ad
Reply With Quote
  #8  
Old 11-20-2012, 11:34 PM
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo anywhere? Like, to see it in action? Or maybe screenshots? Thx
Reply With Quote
  #9  
Old 11-20-2012, 11:42 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's no demo, it's pretty straight forward, add your content to any one or all of the boxes, put your variable like $ad1 in the place you want the content from that particular box to display and there you have it!
Reply With Quote
  #10  
Old 11-21-2012, 03:00 AM
Panzer Max's Avatar
Panzer Max Panzer Max is offline
 
Join Date: May 2006
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You put the short ad bit in one of your templates, for example, the header or footer template or the Navigation /Breadcrumb templates > navbar template. Once you have the $ad1 bit there, you go to the ACP > vBulletin Options > Ads Anywhere and in that control panel, you put the code or whatever you want to show up on the site. Repeat for each style you have, and that's it. You want a different ad or piece of content somewhere else, then use $ad2. The standard mod allows for up to 6.

There may be other ways to "setup new variables" but I for one have no idea about that. This mod makes it super easy to switch out banner ads, announcement texts, logos, etc. across multiple styles. :up:
Reply With Quote
Благодарность от:
Simon Lloyd
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:00 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.05486 seconds
  • Memory Usage 2,315KB
  • Queries Executed 24 (?)
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)bbcode_quote
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • 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_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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