Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Banner Rotator Details »»
Banner Rotator
Version: 2.0 Beta, by andrefedalto andrefedalto is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.0 Beta 4 Rating:
Released: 01-30-2008 Last Update: 02-01-2008 Installs: 369
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.


New version of https://vborg.vbsupport.ru/showthread.php?t=133954, compliant with vB 3.7 and with new features!!!

So, what does this hack do?
- This mod allows you to add lots of forum banners.
- The banners will be randomly showed everytime you reload your forums.

How can i work with it?
- It's all controlable through AdminCP.
- NOT NEEDED ftp access to upload banners.
- You CAN upload banners (jpg, gif & png) through AdminCP.
- You can upload flash (SWF) banners!
- You can set a description for individual banners.
- You can set size (width & height) for each banner individually
- You can edit the description easily and individually.
- You can delete the banners through AdminCP (this function delete the banner from the ftp)
- You can enable/disable you banners.
- Disabled banners remains in the ftp, but will not be shown on forum home.
- NEW: You can set different URLs for each banner!
- NEW: You can select the forums you want the banner to appear!!! (with inherit option)
- NEW: Mass delete banners is now possible.
- NEW: You can set default values for new banners on vBulletion Options

How can i install? (Time to install: 1 minute if you are fast enough )
- Unzip the package and upload the content of the "upload" folder to your forum directory.
- Install product-brotator.xml
- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:
Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
replace it to:
Code:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
- Refresh your admincp index and Banner Rotator menu should appear!

The improvements over the last version werent tested a lot, so please report any bugs you find!

Thanks!

SUPPORT GIVEN ONLY FOR WHO CLICKED "INSTALL"

UPGRADE IS NOT AVAILABLE, SO YOU NEED TO UNINSTALL THE OLD VERSION AND INSTALL THIS ONE

Show Your Support

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

Comments
  #212  
Old 06-14-2009, 01:47 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by System69 View Post
until it worked very well. suddenly i also get this message "The selected file type is not allowed. image/pjpeg". what to do?

you need to read all of the responses. The fix is there.




Quote:
Originally Posted by inciarco View Post
In the Error Message you have to Select the Text that Indicates the Type of Image and include it in the Banner Rotator Options for Extensions, separated with Pipeline "|".

In my case I was Uploading a jpeg File and I receiven an Error that referenced the File as image/pjpeg so I included that text on the Text Box for "Extensions accepted for upload (separated by |)" and that was it, after that the Upload worked Ok.

Thank You andrefedalto for Sharing this Great Mod. :up:

My Best Regards.

Reply With Quote
  #213  
Old 06-14-2009, 01:54 AM
Reycer Reycer is offline
 
Join Date: Jul 2008
Location: Lebanon, MO (USA)
Posts: 747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quads View Post
Anyone have this running on 3.8.X?
I have this running on 3.8.3 and it works fine.
Reply With Quote
  #214  
Old 06-25-2009, 03:41 AM
Feanor_87's Avatar
Feanor_87 Feanor_87 is offline
 
Join Date: Mar 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to get this working with vBadvanced?
Reply With Quote
  #215  
Old 06-26-2009, 03:43 PM
Sirb13 Sirb13 is offline
 
Join Date: Jun 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdelcour View Post
I have this running on 3.8.3 and it works fine.
Im having trouble too...how do you install the product-brotator.xml ? i placed all files in the upload folder to the correct directories...
Reply With Quote
  #216  
Old 06-26-2009, 11:04 PM
DjiveWMD DjiveWMD is offline
 
Join Date: Mar 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whay every time whwn I try upload banner appears this two mistake:?????

"Warning: move_uploaded_file(./images/brotator/003.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/admincp/brotator.php on line 65"

"Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVkCj7r' to './images/brotator/003.jpg' in [path]/admincp/brotator.php on line 65"

I create in CPanel ---> /public_html/images --> brotator and in "Change Permission" put "777"

Pleas if cant somebody halp?? Thanks


My screenshot:
http://img44.imageshack.us/img44/2198/imagenkz.jpg
Reply With Quote
  #217  
Old 07-14-2009, 02:50 PM
ispots ispots is offline
 
Join Date: Nov 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
There was an error while moving your file. Please retry.
This issue is occuring for me and I cannot figure out why.

According to the posts I've read, I should create the folder images/brotator (which I have). For some reason, however, the images are not uploading.

Please assist.
Reply With Quote
  #218  
Old 07-18-2009, 08:22 PM
EnigmaVariation's Avatar
EnigmaVariation EnigmaVariation is offline
 
Join Date: Dec 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great product and it installed easily with a few preparatory fixes. I am running it on 3.8.3. I removed the < center > coding around the banner though as my style already places the banner where I want it to be. I also took the advice of some of the other posters in the thread with a few necessary fixes. So I might suggest rewording your install instructions to be really clear like this:

How can i install? (Time to install: 1 minute if you are fast enough )
- Download and unzip the brotator.zip file
- Create a folder within the Images folder on your FTP and name it brotator
- Within the Upload folder, click on admincp and upload the brotator file to your admincp folder for your forums via FTP
- Within the includes folder, upload the xml folder via FTP as a subfolder in your includes folder so that the cpnav_rotator file is in the xml folder in your includes folder (if for some reason you can't upload a folder and the contents, then create a folder within your includes folder called xml and then upload the cpnav_rotator file to your xml folder)
- Go to your admin control panel for your forums and click on Plugins & Products and choose Manage Products, then click Add/Import Product
- Click Browse to find the product-brotator file in your unzipped brotator folder and then click Save
- Refresh your admin control panel and then you will see Banner Rotator (mine is located near the top of my control panel listing)
- Then add the coding to the HEADER template of the style you want to use the rotator on
- Click on Banner Rotator and then Add Banner
- Browse to find the banner file you want to upload, be sure to edit the width and height to the same dimensions your banner file is
- Type in an alt name to display when users hover over the banner if you want and also add a URL link if desired, click Submit and then repeat for all of the banners you want in the rotation
Reply With Quote
  #219  
Old 07-29-2009, 04:51 AM
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do I put this hac in the navbar?
Reply With Quote
  #220  
Old 08-05-2009, 02:46 PM
eric8476 eric8476 is offline
 
Join Date: Jun 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a banner rotator for for under the first post?
Reply With Quote
  #221  
Old 08-10-2009, 12:57 AM
eric8476 eric8476 is offline
 
Join Date: Jun 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I add different ads for different places?
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 09:48 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.04762 seconds
  • Memory Usage 2,316KB
  • 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_code
  • (5)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
  • (1)pagenav_pagelinkrel
  • (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