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)

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.


All times are GMT. The time now is 05:50 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.01348 seconds
  • Memory Usage 1,783KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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