Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
This is a bit complicated....

But you could add some "ifs" to the ubbt.inc.php send_header function so it won't output the header template etc.....

I think this would work.


Code
<br />In ubbt.inc.php Find this:<br /><br /><br />       if (!$debug) {<br />	       include("$thispath/templates/$tempstyle/ubbt_header.tmpl");<br />       }<br /><br /><br /><br />and change to this:<br /><br />       if ((!$debug) && (!$config['navonly'])) {<br />	       include("$thispath/templates/$tempstyle/ubbt_header.tmpl");<br />       }<br /><br />




Then in your generic page (which has to be PHP) you'd require main, and call the header, but we'll pass the 'navonly' variable so it skips the regular header template.

Like this



Code
<br /><br /><br />require("/whatever/path/ubbthreads/main.inc.php");<br />$config['navonly'] = 1;<br />$html = new html;<br />$html -> send_header("Title of Your Page");<br /><br />



I think that'll do the trick.

Sponsored Links
Entire Thread
Subject Posted By Posted
Use forum menu on rest of site? FlamingoWorld 08/18/2003 5:55 AM
Re: Use forum menu on rest of site? JoshPet 08/18/2003 6:17 AM
Re: Use forum menu on rest of site? FlamingoWorld 08/18/2003 6:31 AM
Re: Use forum menu on rest of site? JoshPet 08/18/2003 6:56 AM
Re: Use forum menu on rest of site? FlamingoWorld 08/18/2003 7:01 AM
Re: Use forum menu on rest of site? JoshPet 08/18/2003 7:31 AM
Re: Use forum menu on rest of site? FlamingoWorld 08/18/2003 7:50 AM
Re: Use forum menu on rest of site? JoshPet 08/18/2003 8:03 AM
Re: Use forum menu on rest of site? FlamingoWorld 08/18/2003 8:20 AM
Re: Use forum menu on rest of site? JoshPet 08/18/2003 8:39 AM
Re: Use forum menu on rest of site? FlamingoWorld 08/18/2003 8:43 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)