php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#244613 - 04/28/03 03:40 AM Beta-[6.2-6.3] Banner Ad Rotator 1.0
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC

   Beta-[6.2-6.3] Banner Ad Rotator 1.0 to Del.icio.us Add to del.icio.us
  Digg Beta-[6.2-6.3] Banner Ad Rotator 1.0 Digg it
Mod Name / Version: Banner Ad Rotator 1.0 <br /> <br />Description: This is a simple rotation tool, which pulls banners (or content) from a private forum and feeds it randomly into a box at the top of your site, just above your menu bar. There is an option to stick a particular banner, rather than using the random rotation, in the event of something you wish to promote, like a special or a sale. <br /> <br />Working Under: UBB.Threads 6.2-6.3 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: none <br /> <br />Author(s): JoshPet <br /> <br />Date: 2/24/03 <br /> <br />Credits: Commissioned by www.drugbuyers.com <br /> <br />Files Altered: ubbt.inc.php <br /> <br />New Files: bannerad.php <br /> <br />Database Altered: none <br /> <br />Info/Instructions: This allows you to store, add, edit or delete your banners just by adding or removing them from a "hidden" forum. Simple Interface. Verified instructions work fine for 6.3. <br /> <br />


Attachments
77955-BannerAdRotator1.0.zip (119 downloads)



Edited by JoshPet (04/28/03 03:42 AM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#244614 - 07/15/03 06:45 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Daine]
LS1TECH Offline
Lurker

Registered: 04/28/03
Posts: 1
Loc: Houston, TX
Josh, I did the changes to my site to show some large banners at the top, but they are not showing up. Could you look at my page? www.LS1TECH.com<br /><br />Thanks

Top
#244615 - 07/16/03 03:04 AM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: gnewtzie]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
You have no code header section for the banners - although I have not looked at this hack - my suggestion is to check the bits relevant to adding the banners to the tmpl files.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#244616 - 09/04/03 01:19 AM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Daine]
filamballa Offline
Newbie

Registered: 08/28/03
Posts: 24
Hey Josh Installed this mod but when I paste HTML it doesn't translate. I see the code appear on top. I verified that HTML is turned on.. amy I missing something?

Top
#244617 - 09/04/03 05:07 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: goddess]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
If you enable HTML and can see what you posted in the forum.... then it should work.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#244618 - 09/04/03 05:37 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Daine]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Could this be easily adapated to say put the banner in ubbt_footer.tmpl rather than just at the top of every page?

Top
#244619 - 09/04/03 05:39 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: palmen]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, at measurection I actually use it at the top and bottom. You'll see how you simply "include" the file right below the menu bar.... you can do the same before the ubbt_footer.tmpl. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#244620 - 09/04/03 07:02 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Daine]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Great.. I just had a few local businesses who asked about putting a small banner on the site.. and about 10 minutes later I see this hack <img src="/forum/images/graemlins/grin.gif" alt="" /> Perfect timing

Top
#244621 - 09/04/03 07:08 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: palmen]
filamballa Offline
Newbie

Registered: 08/28/03
Posts: 24
I enabled HTML in the Forum but when I paste HTML on the post window the CODE doesn't translate.<br /><br />

Top
#244622 - 09/04/03 07:39 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: goddess]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Do you have a link so I can see what code you're trying to use? <br /> <br />Although if you are having trouble posting HTML in your forums.... you'll have to work out that issue first.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#244623 - 09/04/03 08:43 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Daine]
filamballa Offline
Newbie

Registered: 08/28/03
Posts: 24
The Banners forum has HTML enabled. I pasted the code below and it shows up just like this. <br /> <br /> <br /> <iframe marginwidth="0" marginheight="0" width="120" height="240" scrolling="no" frameborder="0" src="http://rcm.amazon.com/e/cm?o=1&l=as1&f=ifr&t=filambasketba-20&p=8&asins=B000067J2V&IS2=1<1=_blank"><MAP NAME="boxmap-p8"><AREA SHAPE="RECT" COORDS="14, 200, 103, 207" HREF="http://rcm.amazon.com/e/cm/privacy-policy.html?o=1" ><AREA COORDS="0,0,10000,10000" HREF="http://www.amazon.com/exec/obidos/redirect-home/filambasketba-20" ></MAP><img src="http://rcm-images.amazon.com/images/G/01/rcm/120x240.gif" width="120" height="240" border="0" usemap="#boxmap-p8" alt="Shop at Amazon.com"></iframe> <br /> <br />You should still have access to the site. <br /> <br />http://www.filambasketball.com <br /> <br />/EDITED <br /> <br />Thanks for everyone's help. I figured it out. <br />


Edited by filamballa (09/05/03 12:21 AM)

Top
#244624 - 10/28/03 09:07 AM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Daine]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
HELP!<br />What does this mean?<br /><br />Parse error: parse error in /home/fordmond/public_html/ubbthreads/bannerad.php on line 92<br /> <br />

Top
#244625 - 10/28/03 09:32 AM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Luka_dup1]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Check for an error like a missing } " ; <br /> <br />I have not downloaded this one but if there was something you had to edit when installing the hack in that file I would look at the lines you edited because sometimes the error can be thrown down the page like when parentheses is missed. Now a missing ; or " should be on the line stated. <br /> <br />This is in the instructions <br /> <br /> <br />If you wish to use a board keyword other than "banners" you can edit the $boardkeyword <br />variable at the top of the included bannerad.php file. <br /> <br /> <br />#### <br />#### Add a config variable <br />#### <br /> <br />In your admin menu, edit the config file. <br />Scroll to the very bottom, into the box of extra/unknown variables, add this: <br />$config['banner'] = ''; <br /> <br /> <br />Did you edit the banner keyword to something else? Did you add the variable above to the admin control panel? <br /> <br />If you edited the variable in the bannerad.php file make sure you have it like this "newname";
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#244626 - 10/28/03 11:53 AM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: sf49rminer]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
Oh Poo!<br />I've re-hacked the ubbt.inc file from afresh, and it hasnt made any difference. I still get the same error. <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /><br />Help me Oh Knowledgeable ones! lol!

Top
#244627 - 10/28/03 12:00 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: sf49rminer]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
[]Omegatron said:<br /><br /><br />Did you edit the banner keyword to something else? Did you add the variable above to the admin control panel?<br /><br />If you edited the variable in the bannerad.php file make sure you have it like this "newname"; [/]<br /><br /><br />nope and yep m8

Top
#244628 - 10/28/03 02:11 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Luka_dup1]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Line 30 of file bannerad.php should read<br /><br /> $boardkeyword = "banners";<br /><br />I just downloaded the hack and it reads<br /><br /> $boardkeyword = "banner";<br /><br /><br />So I suspect this is your error.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#244629 - 10/28/03 03:11 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: sf49rminer]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
you've lost me completley now m8, sorry. Line 30 i get this<br /><br /><br />"// and the HTML for the banner in the body of the post"<br /><br /><br />also, in my bannerad.php i dont have a link which reads $boardkeyword = "banner";. I did a search abd it didnt come up with anything as a doublecheck.

Top
#244630 - 10/28/03 04:21 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Luka_dup1]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
By default the program has a keyword of banners. The one in the install file has banner. I opened the zip and checked. If your line 30 is not what I stated I highly suggest downloading another copy from here.<br /><br />Make sure you have the banner keyword set with the variable that needs to be set in the config.inc.php file and the one set in the bannerad.php file.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#244631 - 10/28/03 05:32 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Daine]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
[]JoshPet said:<br /><br />Info/Instructions: This allows you to store, add, edit or delete your banners just by adding or removing them from a "hidden" forum. Simple Interface. Verified instructions work fine for 6.3.<br /><br /> [/]<br /><br />Is anyone here running this on 6.2?<br />I still cant get it to work omegatron <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" />

Top
#244632 - 10/28/03 05:43 PM Re: Beta-[6.2-6.3] Banner Ad Rotator 1.0 [Re: Luka_dup1]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Simpliest thing to do is uninstall the hack and start over reading all directions. This is installed on several sites.<br /><br />You already stated your board keyword is empty so I would start there. Follow the directions to the letter.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
Page 1 of 2 1 2 >


Moderator:  Ian_W 
Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks