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)

dannykilla 06-09-2008 03:25 PM

could this work with ads ?

Finster 06-10-2008 01:11 PM

The coder was last here 3 months ago, so it looks like we're on our own.

For me the banners don't even hyperlink anywhere. Anyone know how to fix this?

MalluCastle 06-11-2008 04:56 PM

Mine is working in firefox but not in IE..anyone facing the same problem...is there any solution
for it

RobParker 06-11-2008 05:06 PM

Quote:

Originally Posted by RobParker (Post 1538524)
I need to add some style information to the banner code

I need to add
Code:

style="float:left;margin-top:15px;"
to the IMG tag for the banner. Is there an easy way to do this?

Anyone any idea about this?

wreckless 06-15-2008 08:58 PM

Great mod but banners will not upload using IE.. It thinks the image format is not jpg, gif or png even when it is.. Works fine with Firefox..

fourat 06-17-2008 12:06 AM

if i want to put the banners in another place ... not header
what i do ?

Tapage 06-18-2008 10:36 PM

I've been reading this a lot today .. and I'm ready to do the funny things ..

Just wanna make sure not trash all ..

I have this in my header ..

<td width="43" height="29"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img id="nav_home" src="$stylevar[imgdir_misc]/nav_home.gif" width="43" height="29" border="0" alt="" /></a></td>

That's looks a little diferent that the code you place to replace here ..

do it any case .. ?

Thanks !

Tapage 06-18-2008 11:17 PM

Just one more question .. I'm seen in the Settings Group the Banner Rotation group .. but where other place I need to seach to start uploading banners .. ?

Supose to appear in my side bar Cpanel ?

thanks !

Tapage 06-18-2008 11:45 PM

I've been reading this thread and the other one with the first version .. enable and disable the product several times and still can't see it in my side bar ..

Something simple that I need to perform to it appears ?

Tapage 06-19-2008 04:34 PM

My bad and post here that I made a mistake uploading a file .. ( seems that I'm learing little bit more about how function the forum ) ..

Now I get this message ..

" Sorry, but there is already a file with that name. Rename and retry. "

Tapage 06-19-2008 04:42 PM

Quote:

Originally Posted by Tapage (Post 1553738)
My bad and post here that I made a mistake uploading a file .. ( seems that I'm learing little bit more about how function the forum ) ..

Now I get this message ..

" Sorry, but there is already a file with that name. Rename and retry. "

Edit on it ..

Was a img in the brotator file in the server that have the same name as the img that I was triying to upload ..

Doh !

wreckless 06-20-2008 04:00 PM

This is a great mod, thanks!

I am already running this as my forum header but can it be used in other places as a banner ad rotator? Say between sections on the main forum?

Tapage 06-20-2008 04:26 PM

Quote:

Originally Posted by wreckless (Post 1554663)
This is a great mod, thanks!

I am already running this as my forum header but can it be used in other places as a banner ad rotator? Say between sections on the main forum?

I use it in my nav bar .. but how much dificult ( things to edit ) would be use it in the header at top right corner ?

wreckless 06-26-2008 01:46 AM

I am trying to put it between forums, not sure if it is possible. I also have it installed as the main banner. Here is the thread..

https://vborg.vbsupport.ru/showthrea...89#post1559089

tru1 06-28-2008 06:26 AM

When I upload flash banners, they are not aligned in the center, they are aligned to the left. How can I fix this?

Also, the links to the flash banners do not work. When I try to manually add the link to the banner, it goes to http://myurl.com<domain added>

How can i make it so that the swf banner goes to a desired link?

wwolf27 06-28-2008 07:25 PM

I am having trouble with people seeing what is in the banner some see it as they are suppose to and some are just seeing a white box. Thanks for the help in advance!

rajosing 07-03-2008 08:13 AM

Nice . Work ........ But i have 1 problem with URL Link : my forum link is ( www.desikaraokeshop.com ) when i load banner and type there my other site URL Link LIke (www.desikaraokeshop.net ) also Try Like (desikaraokeshop.net) this not work when i click on banner i got this error ...........http://www.desikaraokeshop.com/www.desikaraokeshop.net...................... Not Found ......... please explain me about this thanks

mdonnelson 07-03-2008 09:10 PM

I keep getting "The selected file type is not allowed." anyone seen this? I've tried png and gif...

hpmustangs 07-05-2008 12:49 AM

did nothing but got ride of my logo ..

not working at all .. I upload the files and edit the header .. and I loss my logo now.. and nothing change in the admincp area ..

also your install info. say .. "Install product-brotator.xml" what do that mean?

copy the file to some the forum? if so what folder? and I am talking only about

"Install product-brotator.xml"

the other files are in the right place ..

anyways I loss my logo after editing the header file, and I don't see any way to mng .. banners

hpmustangs 07-05-2008 01:01 AM

well .. I had to "import" the product-brotator.xml file .. IMO you should .. not assume anyone know what " Install product-brotator.xml" meant .. you should take the time and write the steps needed to do a proper install .. e.g. go to admincp/plugins & products/Manage Products/[Add/Import Product] then click .. browse and load product-brotator.xml

takes only a few sec. to write that done ... for ppl new to vB ..

anyways my logo is still gone .. how to I put back my logo? I was using the default vB logo file name..

hpmustangs 07-05-2008 01:15 AM

omg and its not even working ..

so I try to add a banner and I get this error

The selected file type is not allowed. image/gif

so what gives? even made the folders image and gif .. wtf!!

hpmustangs 07-05-2008 01:34 AM

Quote:

Originally Posted by andrefedalto (Post 1434927)
Go to your AdminCP > vBulletin Options > Banner Rotator

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

I looked at that and all the ext. was in there .. separated with a | ... not a ","

Extensions accepted for upload (separated by |) jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash

I am running vB 3.7.2

hpmustangs 07-05-2008 01:45 AM

well I got it working .. by adding "image/gif|" to the line up.. even tho you had "gif|" in the ext. box ..

well my website logo is still gone .. you should make a NOTE of that to everyone doing thing install that is using the "vbulletin3_logo_white.gif" for thir logo..

Antwerp 07-10-2008 04:01 PM

Fix to that is simple

Undo the Template Modifcations Above.

Now, goto the bottom of the "Header" Template and add the second line;
Code:

<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
This will add the banner below your Forum Logo.

I opted to have my banners left justified, so I'm using <left> rather than <center>

:)

Antwerp 07-10-2008 04:24 PM

PS, Thanks for the Mod.

Needed a little tweaking, but it's exactly what I was looking for.

:up:

ArnyVee 07-10-2008 07:08 PM

Does this do all of my banners constantly rotating while the screen is up? Or, is it a new banner on every page refresh?

napy8gen 07-11-2008 04:09 AM

Quote:

Warning: move_uploaded_file(/images/brotator/banner1.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/phpzWfRmL' to '/images/brotator/banner1.jpg' in [path]/admincp/brotator.php on line 65
get this error when uploading a .jpg file

thecricketzone 07-11-2008 08:35 AM

well i have installed this but it doesnt seem to do anything at all...even when i copy a banner to the file location or try uploading it through ACP. it doesnt work. I am on VB 3.7.2 - I would have thought it would be OK since its only a couple of patches up form the one supported in the intro?!

Gersfan 07-12-2008 10:13 AM

It seems to be on my style that on the right hand side there is a space and the banner is not fitting the tthe header where it should as it's a fixed table.

There is the space on the right hand side ..werid..
h**p://gersfans.co.uk/Forum/index.php

pitzerwm 07-18-2008 10:09 PM

I need a little more in depth product, would you be interested on adding some features for a fee?

jkcerda 07-19-2008 03:44 AM

how can you ad two banners?
one on top of the other on the right?

jkcerda 07-19-2008 04:18 AM

I got mine working, but it shows the same 2 banners on the right side by side:mad:.

I need both on the right, but on on top and one on the bottom.
here is my code.
for single banners.

fixed 1 logo only

<!-- 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]"></td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->




for 2 banners as described.

2 logos on right.
<!-- 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]"></td><td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->


any Help to get the second logo below the other one would be appreciated, and for those of you that have had issues, if you go back & READ thru the post, youll find your answers there, i came back a few times & read the post to get mine going, its amazing how many times the same problem was described, hope this helps some of you and I hope someone helps me out.
.
thanks.

jtraub 07-25-2008 11:38 AM

I have uploaded cpnav_brotator.xml in includes/xml, brotator.php in admincp, created a brotator folder with 777 permissions in the forum/images dir. I then added images/ to all extension types in settings and then replaced code in header template. I loaded a .jpg file in the forum/images/brotator dir and it still shows no banner.

Am I missing something? TIA

Jim

jkcerda 07-25-2008 03:09 PM

Quote:

Originally Posted by jtraub (Post 1583759)
I have uploaded cpnav_brotator.xml in includes/xml, brotator.php in admincp, created a brotator folder with 777 permissions in the forum/images dir. I then added images/ to all extension types in settings and then replaced code in header template. I loaded a .jpg file in the forum/images/brotator dir and it still shows no banner.

Am I missing something? TIA

Jim

are you getting an eror message?
you may need to add a , after jpeg.

jtraub 07-25-2008 03:57 PM

No errors just no banners. A comma? Where does it go? Sorry.

Thanks

jtraub 07-26-2008 02:40 AM

So my problem was simply not being able to "Refresh your admincp index ". I loaded VBULL Admin and now see the control panel for adding, editing and deleting banners. The refresh must have happened overnight (server maint.?)

So how do you Refresh your admincp index?

szpectre 07-27-2008 01:17 AM

I have been using your rotator for a while now and have never had a problem with it. I think it works great. Thank you.

RrCoX22 08-02-2008 05:33 AM

why won't it upload my .gif file?

i get this message:

The selected file type is not allowed. image/gif

EDIT: nevermind, i edited the accepted extensions :D

RrCoX22 08-02-2008 07:46 AM

i have this mod placed in two different area on my forum, one below the navbar and the other in the footer of my template.

is there any way to not have the same ad in both places or will this always be the case? I have several different sponsors/advertisers and would like it to be setup where it may not always be the same ad in both places.

is there something i can edit with this code?

Code:

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

Nuguru 08-10-2008 06:08 PM

Hello,

Great looking mod!

I was wondering if this will work on the vBadvanced CMPS page as well?

And what do I need to do to make it also work on that page?

Thank You


All times are GMT. The time now is 09:46 PM.

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.01360 seconds
  • Memory Usage 1,830KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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