php forum
php mysql forum
php mysql smarty
 
Topic Options
#247035 - 05/19/03 02:48 PM Is it possible to have a unique header for the IIP?...
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
...Just like the way you can w/ special forum headers?
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#247036 - 05/19/03 04:56 PM Re: Is it possible to have a unique header for the IIP?... [Re: luan]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
Wrong category! Sorry guys! How about having a forum for all thing IIP related? That would be really nice <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#247037 - 05/19/03 06:38 PM Re: Is it possible to have a unique header for the IIP?... [Re: luan]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I believe it may be possible by adding to the variables in send_header. Let me look over the code once and I'll get back to you. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#247038 - 05/19/03 07:50 PM Re: Is it possible to have a unique header for the IIP?... [Re: luan]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
The board specific headers are triggered by global variables ($Board,$fheader) being set before the call to send_header.<br /><br /><br /><br />To have IIP send a specific header we need to define these variables before calling the function.<br /><br />Example -<br /><br />In your IIP index.php file find these lines:<br /><br />
Code:
<br />	// send the header<br />	$config['iip_call'] = "1";<br />	$html = new html;<br />	$html -&gt; send_header($config['title'],$Cat,0,$user);<br />	list($tbopen,$tbclose) = $html -&gt; table_wrapper();<br />
<br /><br />and change them to these -<br /><br />
Code:
<br />	// send the header<br />	$Board = "iip";<br />	$fheader = "1";<br />	$config['iip_call'] = "1";<br />	$html = new html;<br />	$html -&gt; send_header($config['title'],$Cat,0,$user);<br />	list($tbopen,$tbclose) = $html -&gt; table_wrapper();<br />
<br /><br />When $fheader is set it signals the send_header function to use the $Board header which should be named header_iip.php and be located in your /includes directory.<br /><br /><br />I haven't tested this but as far as I can tell it should work. Hope this helps. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />
_________________________
~Dave
ChattersOnline.com

Top
#247039 - 05/19/03 10:28 PM Re: Is it possible to have a unique header for the IIP?... [Re: sjsaunders]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
Thanks. I'll give it a whirl! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

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