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)

slosupra 07-31-2007 12:09 AM

Quote:

Warning: move_uploaded_file(./images/banners/test.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /totalcontrol/brotator.php on line 62

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpya3uei' to './images/banners/test.jpg' in /totalcontrol/brotator.php on line 62
any ideas

Dannyloski 07-31-2007 12:25 AM

Nice Hack! Very useful ... I'm already running a JavaScript Rotator to do this on my Forums, so dont need this, but if in the future I feel like changing I'll remember this. :up: ...

silence88 08-01-2007 09:36 PM

Hey to All people that got problems installing this, it works fine... !

PP who are looking for a banner rotator, use this... i got no errors.

benjaminbih 08-02-2007 06:37 PM

Quote:

Originally Posted by valdet (Post 1267683)
Can someone hack deeper into this great mod, so once we place more than one $banner variable to our desired place it will show random banners, instead of showing the same banner within same browser session (like it does now)?

Or will I have to hardcode and "clone this" product so I can display different ads at once..?

If someone achieves that this mod will be perfect solution for advertisers.

By the way, here are the modded files for those who are having problems with placing links for their banners.

All credit to the original coder andrefedalto and warlion for the "linkage"..

Cheers,
Val

@valdet, andrefedalto, warlion
this is a good one mod,

can you make the banner rotator with the following functions ?

- the ability to set how many times a banner have to be shown before the next one is shown
- the ability to set the order number of each banner
- the ability to set banner for usergroups



regard

P.S.: and its better to add a new code in templates-> header so the original forum banner stay fix on the left side and the rotating banner rotates on the right side

so in templates header after:
Code:

        <td align="$stylevar[center]">
                &nbsp;
        </td>

add this:
Code:

<td align="$stylevar[right]">$banner</td>

maybe som one like it so

Stefano Virgill 08-03-2007 09:55 AM

The Hack posted by WarLion made a big mess on my 3.6.7

That's the error I have back:
Database error in vBulletin 3.6.7:

Invalid SQL:
INSERT INTO vbbanners (bid, name, width, height, link, alt, flash, active) VALUES ('', 'maxsig_3.jpg', '', '', 'http://www.adobemax2007.com/europe', 'Max Barcellon', '0', '1');

MySQL Error : Unknown column 'link' in 'field list'
Error Number : 1054
Date : Friday, August 3rd 2007 @ 05:52:48 AM


The banner is regulary uploaded, but looks like there's no field in the DB for the link.
Anyway, link doesn't work.

I've overwrote the xml files and reinstalled the plugin already.

Thanks for the support

Steve

Stefano Virgill 08-03-2007 10:19 AM

Ok, never mind,
I fixed it from phpMyAdmin

The field created was URL instead of LINK

greetings

Steve

bigevil 08-03-2007 05:43 PM

Quote:

Originally Posted by bigevil (Post 1303172)
How do I edit the php file or xml file to properly have the width of the banner at 100% all the time? Basically I need my banners to be at 100% because if they are not people with widescreens have a problem viewing the banner because it is too small over the top of the forums.

If you change it within vBulletin AdminCP under the Edit Banner options to 100% it makes the banners look shrunk down or scrunched up within the Edit and Delete banner options. I would like to fix this. Any ideas?

Just bumping this issue...

I am also wanting to have my banners made in the width 1527 for widescreen users, yet the 100% width set would still show up ok for people using 1280x1024 and so on... Please help. Thanks in advance.

silence88 08-04-2007 02:13 PM

ok 1 question. when i logged in it popped up also s that normal

silence88 08-04-2007 02:14 PM

Quote:

Originally Posted by silence88 (Post 1309661)
ok 1 question. when i logged in it popped up also s that normal

Sorry WRONG MOD!

gsmlover4u 08-15-2007 01:09 PM

Quote:

Originally Posted by slosupra (Post 1305807)
Warning: move_uploaded_file(./images/banners/test.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /totalcontrol/brotator.php on line 62

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpya3uei' to './images/banners/test.jpg' in /totalcontrol/brotator.php on line 62

any ideas

same problam with me but no any one help me


All times are GMT. The time now is 07:03 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.01266 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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