Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Add Banner Rotator Block To Forum Sidebar Details »»
Add Banner Rotator Block To Forum Sidebar
Version: 1.00, by metalguy639 metalguy639 is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: vBulletin Forum Sideblocks - Version: 4.2.0 Rating:
Released: 07-26-2012 Last Update: Never Installs: 24
Template Edits
Translations  
No support by the author.

THIS TEMPLATE EDIT BROUGHT TO YOU BY:


www.skinsnstyles.com

First if you plan on using this hack you must download & install y2Ksw's Banner Rotator hack found here: https://vborg.vbsupport.ru/showthread.php?t=188328. This little mod is ONLY for use with that hack.

CLICK INSTALLED TO GET SUPPORT FOR THIS ADD-ON. IF YOU DO NOT CLICK INSTALLED I CANNOT HELP YOU.

Steps to create a Forum Block for the banner rotator:

1. Login to your admincp panel.
2. Scroll down until you see "Forums & Moderators" under that you will see "Forum Blocks Manager" click it to open the manger.
3. Click the "Add Block" button.
4. On the next page you will need to select the block type. You should select "Custom HTML/PHP" and then click the "Continue" button.
5. In the field where it says Title place what you want the block to be called. This will show on your forum so make sure you have the name you want to show at the top of your block.
6. In the "Description" field you can place a description if you want or you can leave it blank.
7. Under "Block Config" tick the HTML box.
8. In the content box place your banner code. If you are using vBSEO you would use code that looks similar to this:

Code:
<div align="center">@vbbanners:4@</div><br />
<div align="center">@vbbanners:5@</div><br />
<div align="center">@vbbanners:6@</div><br />
<div align="center">@vbbanners:7@</div><br />
<div align="center">@vbbanners:8@</div><br />
<div align="center">@vbbanners:9@</div>
If you are not using vBSEO your code would look similar to this...

Code:
<div align="center"><!--@vbbanners:4@--></div><br />
<div align="center"><!--@vbbanners:5@--></div><br />
<div align="center"><!--@vbbanners:6@--></div><br />
<div align="center"><!--@vbbanners:7@--></div><br />
<div align="center"><!--@vbbanners:8@--></div><br />
<div align="center"><!--@vbbanners:9@--></div>
Your banner numbers may or may not be the same the codes above are a basic outline so you can see what it looks like.

9. Now click the "Save" button and view your block. You should see the block in your forums now if you have enabled the forum sidebar.

FAQ:

Q: Why can't I edit the Forum Blocks, it tells me I do not have permissions to do so?

A: You need to check that you have full admin rights to edit the blocks. Your admin id number MUST be listed in the config file. Find your ID number and then make sure that its listed as a Super Administrator in your config file.

Q: How do I enable the Forum Sidebar?

A: Make sure you are logged in to your forum admincp panel and then go under "Settings" then click "Options". Now look for "Forum Sidebar And Block Options" in the drop down and select it. At the top tick yes to enable the sidebar and then click the "Save" button.

Q: My banners are not showing, why?

A: Check your banner rotator settings again and make they are correct. Also if you have vBSEO installed make sure that you are using the code for vBSEO. The regular code will not work with vBSEO.

If you have any problems or questions ask them I'll do my best to answer them.

Show Your Support

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

Comments
  #2  
Old 04-08-2013, 09:22 PM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I have set up an Advertisement in my sidebar, it was easy enough to do but.

When you go to my site, the sidebar Advertisement is empty
If I scroll down to where the advert is, and hit F5 the window where it would be flashes with a white box then goes away.

If I go to the admincp to the advert section and manage banners, the impressions are counting up.

any ideas
Reply With Quote
  #3  
Old 04-09-2013, 12:11 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tomshawk View Post
Hello,

I have set up an Advertisement in my sidebar, it was easy enough to do but.

When you go to my site, the sidebar Advertisement is empty
If I scroll down to where the advert is, and hit F5 the window where it would be flashes with a white box then goes away.

If I go to the admincp to the advert section and manage banners, the impressions are counting up.

any ideas
Is this the url in your signature? If so I do not see the ads. It was google adsense that you put there correct? Looking at the source that is what I get. If all the settings are correct then it maybe that google adsense is not working. For how to set up the hack you have to look at the original thread for it. From what you have said I cannot access what is happening without actually looking at the settings or the code that you have placed in your forum block.
Reply With Quote
  #4  
Old 04-09-2013, 03:12 AM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears it has something weird to do with styles and browsers.

It shows up in some styles and some browsers, sometimes.

Its weird
Reply With Quote
  #5  
Old 04-09-2013, 04:34 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only way I could maybe fix the problem is to have an admin login to see if its something simple to fix, but if its within the skin that is installed then you may want to see if the place you purchased it from can help you sort it out. If you just got the skin its most likely under some kind of warranty and they probably would frown on another designer messing about with the templates and that may discontinue your warranty if I was to change any template code. So its best to check with them first to see if they can help you, if not then we can go from there.
Reply With Quote
  #6  
Old 04-09-2013, 07:42 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can we place a resize statement for each banner, because the banners are normally 460x60 I want to have them show up something like 230x30 without having to manually resize all the banners
Reply With Quote
  #7  
Old 04-10-2013, 06:23 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
How can we place a resize statement for each banner, because the banners are normally 460x60 I want to have them show up something like 230x30 without having to manually resize all the banners
You should be able to change that in the hack itself when you add a banner, at least I thought you were able to do that. Otherwise you would probably have to resize the banners manually instead. There maybe some sort of code that could be used but I do not know what it would be.
Reply With Quote
Благодарность от:
Toorak Times
  #8  
Old 06-11-2013, 11:30 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great stuff, will be using
Reply With Quote
  #9  
Old 07-13-2013, 08:56 PM
MaLTRaiN MaLTRaiN is offline
 
Join Date: Feb 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. I have a problem. I can see one banner, but it show the all, don't rotate.
Can you help me?
Reply With Quote
  #10  
Old 01-22-2014, 05:32 AM
SPEEDKILLZ SPEEDKILLZ is offline
 
Join Date: Feb 2011
Location: USA
Posts: 641
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged
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 09:03 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.04570 seconds
  • Memory Usage 2,318KB
  • 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
  • (2)bbcode_code
  • (2)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
  • (2)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete