PDA

View Full Version : vB Addon/PHP Addon Rotating Banner with Flash Integration!!!!!


GoTTi
03-05-2003, 10:00 PM
Ok this is my 2nd hack/release. So lets do this.

This addition to your forum will finally give you the option I have been searching for for a LONG time.

It works very well. Kinda basic, but gets the job done.

This will add a rotating banner to your forum or site. It records clicks and views and so on.

You can use regular image banners OR flash banners!!

The banners fit to the size of the banner itself when you insert it into your control, so no need for sizing it.

Enjoy this addition.

Note: I have edited this to work with vBulletin. I will include the original banner control/setup in the .zip as ORIGINAL BANNER CONTROL. Please dont get them confused.

Screen Shots below.

==========================================

Credits goto Armin Kalajdzija for releasing the original script for this.

GoTTi
03-05-2003, 10:41 PM
add banner ss

GoTTi
03-05-2003, 10:42 PM
login to the banner panel

GoTTi
03-05-2003, 10:42 PM
Your options inside the banner cpanel

GoTTi
03-05-2003, 10:43 PM
search for banners you have

GoTTi
03-05-2003, 10:43 PM
user control area for banners

GoTTi
03-05-2003, 10:43 PM
zone control for banners

VampireMan
03-05-2003, 10:59 PM
Looks like a good system to me , if i hadnt just installed phpadsnew , i probably would have used it.

However saying that , this looks easier to use :-)

GoTTi
03-06-2003, 01:57 AM
ughhh...im stuck on something on here...

On the forum i have this installed on, it is showing up @ the top of the page...like above the header...

does ne1 know how to put it below the footer or in the footer, centered and everything?

monstergamer
03-06-2003, 02:10 AM
/\ same here

GoTTi
03-06-2003, 03:55 AM
File updated with a small fix i found in the help file. Redownload.

monstergamer
03-06-2003, 04:07 AM
any body know a way to make the banner at the bottom ?

SpeedStreet
03-06-2003, 12:19 PM
For those of you using phpAdsNew, I heard a nasty little rumor that it added something like an additional thirty queries or so to each page.

I'm not sure how true that is or not, but I noticed a speed increase when I ditched it.

Automated
03-06-2003, 12:33 PM
Looks good mate!

/me impressed

GoTTi
03-06-2003, 01:07 PM
monster i wish i knew dude....its buggin me big time

mforster
03-06-2003, 01:29 PM
... er, so this creates a section in the database to remember banner files, then there is a piece of code to enter into wherever on your site which will pull a random banner from your stockpile?

msu
03-06-2003, 03:12 PM
can you update the hack to use it in

forumhome_ template

forumdisplay_template

to add different banners in different forums .....


its cool hack :)

Dean C
03-06-2003, 03:28 PM
Nice....

- miSt

GoTTi
03-07-2003, 01:51 AM
what do you mean msu?

msu
03-07-2003, 04:26 AM
can i use this hack in the mainpage
and different banners in each forum ???????

ex , sports forums i need to add sports banner
policy forums i will add another banner ,etc

can i ?

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
Yesterday at 09:13 PM thepez said this in Post #28 (https://vborg.vbsupport.ru/showthread.php?postid=419803#post419803)
Does this hack work with vBulletin 2.3.0?


yes it working 2.3.0 version

Hurricane
07-27-2003, 12:52 PM
06-23-03 at 10:59 AM eddieeddie said this in Post #26 (https://vborg.vbsupport.ru/showthread.php?postid=411919#post411919)
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.

DeeperImage
08-05-2003, 01:22 AM
i am using V3 beta 4. It works but i am having two problems.

1. How do i align the banner to show on top of the buttons on the right? like above USER CP, HOME, MEMBERS, FAQ and so on. I want the banner above that on the right side.

2. when you click on the banner it goes to
http://www.240sxforums.com/forums/pbmadmin/visit.php?id=4577

when it should be pointing to
http://www.240sxforums.com/phpad/pbmadmin/visit.php?id=4577
where do i change the path to point to the second one?

waz2
08-25-2003, 06:39 AM
How do u uninstall this?

it gave me a mojor headache and now i cant uninstall it :(

PAINTBALLM
10-12-2003, 12:40 PM
How do u uninstall this?

it gave me a mojor headache and now i cant uninstall it :(


first of all, why didn't you back up your files first?
To uninstall you simply do the exact oposite as you did to install it.. "duh?"

brandy
05-15-2004, 03:32 PM
I have vb 3.01 - any problems? Does it work?
Brandy