vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Rotating Forum Banners (https://vborg.vbsupport.ru/showthread.php?t=65604)

Beermonster 08-27-2004 10:39 AM

Quote:

Originally Posted by luiseman
the prefix table is none.


Your not really giving me much to go on, it has to be something that you have done wrong, try reinstalling it but without your modification and see if it works then.

If it doesn't work I will happily install it for you, I've already done it for several people, just pm me with your admin login details, ftp & mysql, apart from that with out a proper description of what you are doing and what is not happening there's not a lot I can do.

nelto 09-05-2004 07:33 PM

is by any chance some one tested this hack on 3.0.3?

I was looking for something like this.

Doc203 09-06-2004 04:08 AM

Yes... it works fine on 3.03

Mu5icMan 09-07-2004 10:27 AM

Could this be modified so you can upload the banners from your computer to the appropriate directory instead of using ftp.

Beermonster 09-07-2004 01:49 PM

Quote:

Originally Posted by Mu5icMan
Could this be modified so you can upload the banners from your computer to the appropriate directory instead of using ftp.

You mean by selecting it from a browse box in the AdminCP or to use a separate upload script?

Either way the answer would be yes but then you would still have to delete them using ftp, but I don't have the time to make the changes I'm busy working on other projects, and there wouldn't be much of a gain in doing it, but if someone wants to try they are more than welcome.

Mu5icMan 09-07-2004 02:12 PM

I mean by selecting it from a browse box.

If it's ok with you can i made changes to your hack to allow this.

After i'm done shall i post it here, or pm you with it to make sure it's acceptable.

Beermonster 09-07-2004 02:24 PM

Quote:

Originally Posted by Mu5icMan
I mean by selecting it from a browse box.

If it's ok with you can i made changes to your hack to allow this.

After i'm done shall i post it here, or pm you with it to make sure it's acceptable.


Feel free to do it, I have been going to do a similar thing to another hack I have done but just haven't had the time

Marulatree 09-09-2004 03:43 PM

(or anyone that can answer this:

How do I link these to a website?


$banner_array = array(
'images/banner1.jpg',
'images/banner2.jpg',
'images/banner3.jpg'

Quote:

Originally Posted by Trigunflame
People If you wanna do banner rotation just use something much simpler

1. Go to whichever style you want banner rotated. (Style Manager > Style Name > All Style Options)

2. In The phpinclude_start box insert this
PHP Code:

// Foreach banner you want to rotate insert a a line such as:
// 'images/bannerx.gif',
$banner_array = array(
  
'images/banner1.jpg',
  
'images/banner2.jpg',
  
'images/banner3.jpg'
);
$banner $banner_array[mt_rand(0,count($banner_array)-1)]; 

3. In the header template replace the section that deals with the img tag with something like this

HTML Code:

<img src="$banner" border="0" alt="$vboptions[bbtitle]" usemap="#Map" />
Basically you're just changing the the src to the $banner variable... very easy requires no special html or javascript or any of that stuff..


Marulatree 09-10-2004 07:09 AM

bumper-bump-bump...;)

Beermonster 09-10-2004 07:29 AM

Quote:

Originally Posted by Marulatree
bumper-bump-bump...;)


1.4 No senseless "Bumping": Please do not bump your request/help searching or other threads several times a day. Remember there are people who don't browse this board every hour. So do not bump a thread within 24h or too much even after 24 hours.


All times are GMT. The time now is 03:53 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.01259 seconds
  • Memory Usage 1,745KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (5)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
  • (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