vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Banner Rotator (https://vborg.vbsupport.ru/showthread.php?t=169266)

cagbaazee 03-20-2008 06:58 AM

I hv install and everything is working fine but one problem is time, how to make it appear after 30 sec or so. do any one know about it.

Satoshikai 03-22-2008 12:11 AM

ok ok. I just installed it on my vB 3.6.8 works great, no problems. But I do want to know something real quick.

I want the banner (when clicked on) to take you to the forum index BUT NOT open a new tab or window. I want it in the same page. What should I do for that and is it possible?

uReside.com 04-01-2008 04:55 PM

Quote:

Originally Posted by cagbaazee (Post 1469369)
Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/pjpeg" there (dont forget the comma).


The selected file type is not allowed. image/x-png

I know |png| and |images/png| is in there am i missing something trying to upload a .png file.

ginnser 04-02-2008 03:13 PM

great mod

Just like another user I want my forum logo on the left and then the banners on the same line but centered

here is my 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_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"> <a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->

can anyone suggest where i need to alter the code?

have a look at it at the moment, you can see the logo and banner are both on the left !

www.dbplaza.hk

Thanks

Britmovie 04-04-2008 07:59 PM

Quote:

The selected file type is not allowed. image/x-png
get the above rel error message when i try to up png, jpg, gif banners? using betaPowered by vBulletin? Version 3.7.0 Beta 5?

Chevy II 04-07-2008 08:40 PM

Installed and works great, for me... However, I have one user that says that none of the banners are being displayed... Only a blank area, has anyone else heard a user with this issue?

Thanks!

veb 04-16-2008 10:07 AM

that's probably because they have something that disables banners and stuff... thinks they are adware.

I'm atm trying to get this to work on 3.6.7

EDIT: Works great! Thanks man, keep up the good work :) *hits install*
EDIT: I have a suggestion, a counter to keep track of how many times a banner has been clicked, and is displayed in the EDIT screen in the Admin control panel?

atlambros83 04-18-2008 08:54 AM

marked as installed and nominated. works great for me on 3.6.8 pl2. thanks!

.....is there any way to change it so that when the banner is clicked it doesn't open a new window and just refreshes to the forum index? (im using it to display different styles of forum banners on my page rather than for advertisements)

veb 04-19-2008 02:55 AM

Quote:

Originally Posted by atlambros83 (Post 1493596)
marked as installed and nominated. works great for me on 3.6.8 pl2. thanks!


.....is there any way to change it so that when the banner is clicked it doesn't open a new window and just refreshes to the forum index? (im using it to display different styles of forum banners on my page rather than for advertisements)

Edit the style. :)

From:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

To:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">$banner</a></center>

(Notice I took away the "Target" part?)

tmiland 04-19-2008 07:19 AM

Hi all, i need some help, i wanted to show the banners below the navbar, with a border around it like this:

PHP Code:

<!-- banner -->
<if 
condition="$ban">
<
table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<
tr>
<
td class="alt1" width="100%">
<
div align="left"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></div>
</
td>
</
tr>
</
table>
<
br />
</if>
<!-- / 
banner --> 

So, what i need to know is what to add to the if condition
to make the border not show when the banner isnt showing: if condition="whatdoiputhere"

Hope you know what i mean :D

*edit*
i figured it out!
if condition="$ban" :D


All times are GMT. The time now is 03:30 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.03711 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_php_printable
  • (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