vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Banner Rotator (Definitive Mod) **UPDATED** (https://vborg.vbsupport.ru/showthread.php?t=133954)

FishMRC 04-24-2008 06:34 PM

Like some of the others, I installed this last night, but only tried loaded images this evening.

I am also getting the error message that is cannot load image/jpeg or image/gif.

Any ideas?

Thanks
Fish

River_rush 04-26-2008 08:23 AM

you have to add them to the allowed list, its been covered it in this thread or the 3.7 before.

FishMRC 04-27-2008 07:23 PM

Yes I have, and I've also added the image/jpeg stuff, and still getting the error message!

I've loaded the newer version and this still doesnt work!

I'm starting to wonder why I am bothering with it.

The permissions are set at 777 on the ./image and .image/banners folders and still no luck.

Fish

scruffy 04-28-2008 08:52 AM

Hiya :)

Firt off, I should add that i am THE most UNtechy gal in the world, but i would love to have this on my forum. I have a friend that added a 'header' for the new skin, and I'm not sure how to add this and put it beneath the heading of the forum?

Dont laugh please :D I'm truly rubbish.

Reading the posts here its all way over my head, so if someone could tell me in childlike terms I'm forever in your debt.

Thank you in advance

scott_gersforum 05-04-2008 10:49 AM

Does this work with 3.7?
I use it as my main banner and I am just about to upgrade to 3.7.
Anyone know?

goranbaxy 05-05-2008 06:59 AM

Hi, great mod, installed!

However I would like to see more option for every banner I add, like should it open in new window or not And stuff like that :)

legionofangels 05-06-2008 03:56 AM

Can you add links so that the banners will go to pages that you define?

bornic 05-24-2008 10:15 AM

How can I add url on it

thestaton 05-27-2008 02:20 PM

Quote:

Originally Posted by goranbaxy (Post 1508985)
Hi, great mod, installed!

However I would like to see more option for every banner I add, like should it open in new window or not And stuff like that :)

x2. anyone try this for 3.7 yet?

g0dfather1984 05-31-2008 09:26 PM

Question, I have allowed GIF images on the rotator. So, I do have some that uploaded. However, when trying to load others it doesn't work.

Why would it work for some and not for others? How do I go about fixing this matter?

old7888 06-05-2008 05:31 PM

I can't get it to work with 3.7.1

webspider 06-05-2008 06:23 PM

It works fine with 3.71 but you may want to try the proper version.

glenbelt 06-30-2008 02:59 PM

Hopefully someone here can help - I'm trying to install the Banner Rotator but I've got a different forum style so I'm not too sure...

I can't find this line of code:

Quote:

<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
on the Header section of my forum.

My Header section contains a lot more code than the default one:

Quote:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 331px;"><img src="$stylevar[imgdir_misc]/header_left.jpg" alt="" width="331" height="80" /></td>
<td style="background-image:url($stylevar[imgdir_misc]/header_bg.gif);"><div style="padding-right: 15px;" align="right">$random_banner3[$random_number3]</div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background-image:url($stylevar[imgdir_misc]/links_bg.gif); height: 22px;">
<div class="headlinks" style="padding-left: 15px;">

<a href="index.php">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<a href="faq.php$session[sessionurl_q]" accesskey="5">FAQ</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<a href="http://www.paid2review.co.uk/$session[sessionurl_q]">Make Money Online</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<a href="http://www.make-money-investing.co.uk/$session[sessionurl_q]">Make Money Investing</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;

<a href="memberlist.php$session[sessionurl_q]">Members List</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a>
<else />
<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></if></if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" id="navbar_search">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if>
</if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;
<if condition="$show['member']">
<a href="$show[nojs_link]#usercptools" id="usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;<a href="#">Advertise</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]">UserCp</a></if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;
<if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]" rel="nofollow">Register</a></if></div>
</td>
</tr>
</table>
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=n o,menubar=no,toolbar=no,scrollbars=yes,resizable=y es,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 15px;"><img src="$stylevar[imgdir_misc]/links_under_left.gif" alt="" width="15" height="11"></td>
<td style="background-image:url($stylevar[imgdir_misc]/links_under_bg.gif);"><div align="right"><img src="$stylevar[imgdir_misc]/links_under_right.gif" alt="" width="15" height="11"></div></td>
</tr>
</table>

<div style="padding-top: 15px;"></div>
<table width="100%" border="0" cellspacing="11" cellpadding="0">
<tr>
<td valign="top">

<table style="background-color: #c5c7f1;" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" style="width: 7px; height: 7px;"><img src="$stylevar[imgdir_misc]/rounded_topleft.gif" width="7" height="7"></td>
<td colspan="2"><div align="right"><img src="$stylevar[imgdir_misc]/rounded_topright.gif" alt="" width="7" height="7"></div></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>






<!-- content table -->
$spacer_open

$_phpinclude_output

Any idea where the line of code is?


Thanks for any help

wWw.Fun2Wii.Com 06-30-2008 09:38 PM

thanks

anderow 07-06-2008 11:16 PM

Quote:

Originally Posted by FishMRC (Post 1500908)
Yes I have, and I've also added the image/jpeg stuff, and still getting the error message!

I've loaded the newer version and this still doesnt work!

I'm starting to wonder why I am bothering with it.

The permissions are set at 777 on the ./image and .image/banners folders and still no luck.

Fish

Have you added it with an

|

so image/gif|image/jpeg

and so on .
No seperator is used at the end of the last item

pt-hanhdung 07-09-2008 03:59 PM

"Not Found

The requested URL /misc.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I attach link to banner. But when lick to banner , Iy not show link. It's make errors like that. Help me slove this problem.

gbox master 07-13-2008 04:16 PM

some things can drive you crazy
this is one of them

The selected file type is not allowed. image/gif
the file is a gif and the size is ok
so why is this not accepted ?

if some one could help me with this it would be apriciated

pauldack 07-15-2008 12:08 PM

gbox master

You need to add the extension type to Options -> Banner Rotator -> Extensions

Jonouchiboy 07-19-2008 12:16 PM

Hi. I installed it, and the images are uploaded, but I can't see them in the 'Edit Banners' tab. What's wrong? http://img147.imageshack.us/img147/8625/nobannerfd4.jpg

it says: "
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access /home99a/sub005/sc62064-XBST/www/forum/images/banners/Banner - 001.png in [path]/admincp/banner_rotator.php on line 56"

Also, there're not showing up on my frontpage either. I know it's in the right spot too. Thanks ^_^

nMIK-3 07-19-2008 07:43 PM

To developer

A good idea is to add the ability to display a specific banner to specific forums, or limit a banner to be displayed only in a group of forums.
Also another good idea is to automatically deactivate a banner after a specific amount of views or hits.

gbox master 07-20-2008 10:45 PM

Quote:

Originally Posted by pauldack (Post 1575876)
gbox master

You need to add the extension type to Options -> Banner Rotator -> Extensions

i think you meen like this ?
jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash
these settings are standard in the banner rotator when i installed it
as you can see gif is in the list and stil its not accepted
shoot me because i dont understand it
and i reaaly would like it to work because more people are asking me for a banner on my site now

and i really want to add some banners for organisations who do good work
like greenpeace and so on
so if some one feels like helping out you can always contact me:cool:

acast 09-05-2008 03:25 AM

Quote:

Originally Posted by juan71287 (Post 1241961)
Hey, I have the STYLE/SKIN Enlighten. Now, the banner is located in the Main CSS. This is how it looks:
HTML Code:

#logo {
background: url(enlighten/misc/header_logo.gif);
width: 197px;
height: 102px;
float: left;
        margin: 0;
        padding: 0;
}

How would I be able to make the banner rotate with the other banners I made?

I have the same. Any idea??If i put there the code doesnt appear, appears the background.

Code:

/* ***** sets background for header area - No need to change this ***** */
#hdr {
background: #F7632F url(enlighten/misc/header_back.gif) ;
width: 100%;
height: 102px;
        margin: 0;
        padding: 0;
}


dohkoken 09-06-2008 10:21 AM

i have a same problem to "gbox_master"
for gif and jpg import

BJF 10-02-2008 12:18 AM

I can not find:

Code:

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

jonbaker 11-18-2008 03:42 PM

I installed and this works great!! I followed the installation and I have the GIF to work, I can upload and all the other settings. However, the image I use seems to be centered in some odd setting. The image is not left justified, and there seems to be a larger area that is not a hotlink. I can see that by hovering my mouse from side to side of the image.

Is there another setting that I am missing?
www.metrodubs.com/forums

I changed the following settings in the vBulletin Options section for Banner Rotator;
added “|image/gif”
default height to 85
default width to 575
default Alt to www.metrodubs.com
file size to 50000
default dir (unchanged)

and I added the following to the header;
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]">$banner</a></td>

jonbaker 11-18-2008 04:56 PM

i removed all <center> </center> from the brotator.php file. still no results.

HaS?R 01-28-2009 04:15 PM

Thank You.Installed

jonbaker 02-11-2009 12:10 AM

why does it show the banner centered?

vbplusme 02-11-2009 12:32 AM

Quote:

Originally Posted by jonbaker (Post 1740346)
why does it show the banner centered?

Is this a new query or an extension of the old question you asked months ago? Most likely the "template" that has the banner call has center alignment wrapped around it. You should check the header template where you placed the $banner. The call that its embedded in will probably have an center alignment in it.

davew 02-15-2009 08:54 AM

Working fine with 3.8.1

Thank you!

jonbaker 02-16-2009 02:38 AM

Quote:

Originally Posted by vbplusme (Post 1740360)
Is this a new query or an extension of the old question you asked months ago? Most likely the "template" that has the banner call has center alignment wrapped around it. You should check the header template where you placed the $banner. The call that its embedded in will probably have an center alignment in it.

sorry, with over 18 pages to read through, i must have missed it. my apologises.

92GreenGT 02-20-2009 03:00 PM

Wanted to ask this question, I've got this mod installed and it works great! My question is that can I also make this display a different set of banners below my navbar? Can I install the product named something else or something and add the code in the navbar template as well? Let me know! Thanks

wickedstangs 07-19-2009 08:34 PM

Does this work with VB 3.8.3?

webspider 07-19-2009 09:27 PM

Works for me.

w00ttastic 08-30-2009 08:30 PM

Doesn't work for me on 3.8.3. I've tried the given instructions, tried using <center>$banner</center>, tried tweaking the options in the Banner Rotator options, but nothing doing. All I get is nothing where my banner should be.

mpjaicom 09-04-2009 03:17 PM

This hack works for me, but when i click the banner, it simply goes back to the main page of my forum, not to the URL i specified in the banner...

HELP!

thanks
~DJ

Selena Huynh 12-13-2009 01:22 PM

It's nice and it will be greater if I can add url to the banner

rwoscott 04-26-2010 11:18 PM

I really liked this hack, would be nice to see a VB4 version.

I haven't seen anything I like yet in the VB4 mods.

iref2010 02-02-2011 08:10 AM

Would it work on Version 3.8.5?

Midas3 08-29-2011 02:30 PM

Does this have any kind of basic stats like clicks/impressions?


All times are GMT. The time now is 03:14 AM.

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.01755 seconds
  • Memory Usage 1,867KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete