vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Addon/PHP Addon Rotating Banner with Flash Integration!!!!! (https://vborg.vbsupport.ru/showthread.php?t=49697)

monstergamer 03-07-2003 05:24 AM

i am still trying to get it at the bottom of the page
haveing some luck but not right yet
i well let you know if i get it

GoTTi 03-12-2003 06:36 AM

ne1 know how to put the banner @ the bottom of the page yet?

monstergamer 03-12-2003 09:53 PM

i am still working on it
still no no luck yet
sorry
it is a great hack but the banner need to be some where else

GoTTi 03-18-2003 02:42 AM

ne1 know how to move this banner to footer?

eddieeddie 06-23-2003 01:56 PM

To add it to the footer, do not modify the file that he says to add banner.php into - keep all files how they were before (actually it is no longer a "hack" if you do it my way)

Add this to phpinclude:

ob_start();
require("banners/banner.php");
$banners = ob_get_contents();
ob_end_clean();

Now you can call $banners in any template and it will appear there.

eddieeddie 06-23-2003 01:59 PM

This hack has made all searcheds on my board no longer work.

When I disable it, searches work fine.

chad 07-15-2003 07:10 AM

thank you very much!
/me hits install!

thepez 07-22-2003 07:13 PM

Does this hack work with vBulletin 2.3.0?

bosix 07-22-2003 10:32 PM

Quote:

Yesterday at 09:13 PM thepez said this in Post #28
Does this hack work with vBulletin 2.3.0?

yes it working 2.3.0 version

Hurricane 07-27-2003 12:52 PM

Quote:

06-23-03 at 10:59 AM eddieeddie said this in Post #26
This hack has made all searcheds on my board no longer work.

When I disable it, searches work fine.

Same here! It has to do with the Include in the include.php. Anyone have a solution for this?

EDIT: Just for record sake, I did not install this as a hack. I used the suggestion above and added it to the phpinclude section of the template as I wanted it to be free standing and allow me to use it as part of my PostNuke site also. So once I included it, it stopped the search function for operating on my vBulletin site. I just spent a little time and found that the search function uses a variable called $query as does the banner.php. I editted the banner.php file renaming the variable to $banquery and all is now working. The line numbers in the banner.php file are:

Line 24
Line 26 (2X)
Line 29
Line 31 (2X)
Line 34
Line 36
Line 59
Line 60
Line 63
Line 64

This should help anyone with the same issue.


All times are GMT. The time now is 07:55 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.01378 seconds
  • Memory Usage 1,730KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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