Previous Thread
Next Thread
Print Thread
Rate Thread
#238757 03/03/2003 11:29 PM
Joined: Feb 2003
Posts: 64
Power User
Power User
Offline
Joined: Feb 2003
Posts: 64
When I or my users click the Print Post button, the post shows up, but the footer does too (I have edited the generic footer). The header doesn't show and I would like it if the footer didn't either, just the plain post. How do I fix this. Thanks.


Sponsored Links
bhlaws #238758 03/04/2003 6:51 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmm.. does here to some extent too, may be a bug or infopop's way of including their copyright into the page. Should be template that controls that methinks


- Allen wavey
- What Drives You?
SurfMinister #238759 03/04/2003 7:26 PM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I reported this quite a while ago, the script uses send_footer() but not send_header(). I did this small change to the end of printthread.php:

// ----------------
// Send the footer
# $html -> send_footer();
print "</body></html>";

c0bra #238760 03/05/2003 2:21 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
The ubbt_closehtml.tmpl file has those tags in it as well.

jacksonm99 #238761 03/05/2003 6:15 AM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
yes but you want those tags in the Dalantech right. You want the header and footer when viewing the regular pages which of course make use of ubbt_closehtml.tmpl.

However printthreads.php has all required HTML in it. Just need to comment out that send footer and you will get the traditional print thread.

Sponsored Links
sf49rminer #238762 03/05/2003 8:56 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I meant that you could just include the ubbt_closehtml.tmpl file after commenting out the send footer function

jacksonm99 #238763 03/05/2003 9:25 AM
Joined: Feb 2003
Posts: 64
Power User
Power User
Offline
Joined: Feb 2003
Posts: 64
Worked like a charm!


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)