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

Reply
 
Thread Tools
Banner Rotator (Definitive Mod) **UPDATED** Details »»
Banner Rotator (Definitive Mod) **UPDATED**
Version: 1.00B, by andrefedalto andrefedalto is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 12-13-2006 Last Update: 12-14-2006 Installs: 411
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

New version of https://vborg.vbsupport.ru/showthread.php?t=103477 with minor bugs fixed and added some additions people requested.

So, what does this hack do?
- This mod allows you to add lots of forum banners.
- The banners will be automatically randomized 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.
- NEW: You can upload flash (SWF) banners!
- You can set a description for individual banners.
- NEW: 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 activate/deactivate you banners.
- Deactivated banners remains in the ftp, but will not be shown on forum home.

Future additions: Add URL for each banner individually, so when users click on it they will be redirected.
How can i install? (Time to install: 1 minute if you are fast enough )
- Upload all the files contained in the "upload" folder inside the zip to your forum root directory.
- Install product-brotator.
- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:
Code:
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
replace to:
Code:
$banner
- Refresh your admincp index and Banner Rotator menu should appear!

Please, I updated and added new features of this mod in this afternoon, so probably it still have some bugs. So, if you find one please report here.

Thanks!

NOTE: Maybe some of you will have to create folder called "banners" inside folder "images" manually, and then chmod it 0777.

SUPPORT GIVEN ONLY FOR WHO CLICKED "INSTALL"

Show Your Support

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

Comments
  #82  
Old 04-06-2007, 02:02 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed and it is running great, I am just trying to make the banner clickable which is not in the original mod...so install away
Reply With Quote
  #83  
Old 04-06-2007, 02:03 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andrefedalto View Post
Huh, i'm pretty sure there is already a modification for that. Just do a quick search at the mod-database and you should find something that suits your needs


are you sure u reinstalled the modified version and not the original? I took a look at the code and if you did every step the way you should do, no errors would come up.
I will re-try them right now and let you know
Reply With Quote
  #84  
Old 04-06-2007, 02:36 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just re-edited all files and uploaded/overwrote and I still get the same thing...I do have a question with some of the instructions:

now you need to add this about line 89
PHP Code:
PHP Code:
<phrase name="setting_brotator_default_link_desc" date="1166036111" username="FileWarez" version="1.0b"><![CDATA[Defalt link]]></phrase
and
PHP Code:
PHP Code:
<phrase name="setting_brotator_default_link_title" date="1166036111" username="FileWarez" version="1.0b"><![CDATA[Default link]]></phrase
I added both of these on lines 89 and 90...is that right?

Also does this mean add it to what is already there?:

on line 30 add this
PHP Code:
PHP Code:
print_input_row('Link''link'$vbulletin->options['brotator_default_link']); 
Reply With Quote
  #85  
Old 04-06-2007, 04:19 PM
kokiri Kid kokiri Kid is offline
 
Join Date: Jan 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, pure genius!
Reply With Quote
  #86  
Old 04-07-2007, 05:01 PM
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gif & bmp files it wont let me add any reason why?
Reply With Quote
  #87  
Old 04-07-2007, 05:43 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zahid1 View Post
i coudn't find this code in my header

<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />

this code is avaliable on on default skin cna u tell us for custom skin
Basically you are looking for your banner/logo. Custom skins use different methods to code them in the header template. What I think would be the easiest to do in order to find it in your code. Would be too right click on your current banner goto properties and find the NAME of the banner/logo. Search for that name in your header template. Should be about where you would want to place it?
Someone correct me if I'm wrong but it worked for me. And usually does for other template edits where I can not find the default code.
Reply With Quote
  #88  
Old 04-10-2007, 10:50 AM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how i can solve this error

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access ./images/banners/iklkiu_468x60_01_01.gif/iklkiu_468x60_01_01.gif in /admincp/brotator.php on line 62
Reply With Quote
  #89  
Old 04-12-2007, 04:51 PM
dlee dlee is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have any edit settings. Any idea what's up with that? Also, no images are showing up on the forum. The path to the directory holding the images is correct. Header code is as follows:

Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
    <td align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><center>$banner</center></a></td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Attached is a screenie of my brotator options.
Reply With Quote
  #90  
Old 04-12-2007, 06:00 PM
dlee dlee is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit from above. Fixed.

Now I get the classic error that everyone has been getting saying that the file i want upload is invalid type: image/pjpeg

Where did you go dude?
Reply With Quote
  #91  
Old 04-13-2007, 07:23 PM
deegan deegan is offline
 
Join Date: May 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dlee View Post
Edit from above. Fixed.

Now I get the classic error that everyone has been getting saying that the file i want upload is invalid type: image/pjpeg

Where did you go dude?
In your above screen shot, the first line is "Extensions"...

Add "|image/pjpeg" to the end of it...

Now MY problem is the standard "I have different code in my header so I don't know where to put $banner"...

Quote:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

<td align="$stylevar[left]"><a href="http://www.hardcorepolitics.com" target="_blank"><img src="http://www.hardcorepolitics.com/images/DefaultBanner_buildings.jpg" border="0" width=100% alt="If you see this, then the banner is screwed up"></a></a></a></a>
$header_advertisement
</td>
</tr>
</table>
<!-- /logo -->
Any help?
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 06:21 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.05071 seconds
  • Memory Usage 2,331KB
  • 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
  • (3)bbcode_code
  • (3)bbcode_php
  • (4)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