php forum
php mysql forum
php mysql smarty
 
Topic Options
#281732 - 11/06/04 08:50 AM Problem integrating banner rotator with IIP 6.5
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 135
Loc: New Mexico
I'm hoping someone can help me solve this proble. I'm running UBB Threads 6.5 and using the IIP 6.5 index page mod. As you know, in the UBBT Control Panel you can add "HTML Includes" which includes common Header code you can put in there. It says you can include PhP code as well as HTML. I had been running HTML code in there to place a single banner at the top og the page and its been working fine. Now, however, I have a program called PhPBannerNew which is a banner rotator program. It uses a database to pull out banners that can either be stored in the database or on the server.<br /><br />PROBLEM: <br />When I include the banner invocation code in my HTML Include code for my header, I get errors of the page associated with other IIP features where the index page tries to access other another database. Could this be due to my banner code opening another (banner) database, which then closed whatever database IIP had open? Any ideas how to solve this problem?<br /><br />PS: If I put the code on a plain HTML page it works fine<br /><br />Thanks,<br />Basil
_________________________

Top
#281733 - 11/06/04 12:36 PM Re: Problem integrating banner rotator with IIP 6.5 [Re: BBCG]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Post the error please
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#281734 - 11/06/04 12:43 PM Re: Problem integrating banner rotator with IIP 6.5 [Re: barbiro]
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 135
Loc: New Mexico
Never mind, I fixed it. I just need to re-open a database that was being closed when my banner database was open. The error I was gettting was something about "not a valid resource" when trying to do a querry. Well, it wasn't valid because the DB that was being querried had been closed.
_________________________

Top
#281735 - 11/06/04 01:09 PM Re: Problem integrating banner rotator with IIP 6.5 [Re: BBCG]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Glad I could help <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#281736 - 11/06/04 01:17 PM Re: Problem integrating banner rotator with IIP 6.5 [Re: barbiro]
Basil Fawlty Offline
Journeyman

Registered: 10/30/01
Posts: 135
Loc: New Mexico
[]ChAoS said:<br />Glad I could help <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" /> [/]<br /><br />I just got lucky and figured it out by accident <img src="http://www.ubbdev.com/forum/images/graemlins/crazy.gif" alt="" />
_________________________

Top
#281737 - 11/06/04 04:35 PM Re: Problem integrating banner rotator with IIP 6.5 [Re: BBCG]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
I was gonna say the only database IIP even uses id the threads database and if your mod is closing that you would see the error other places...
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks