|
|
Joined: Feb 2003
Posts: 64
Power User
|
Power User
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.
|
|
|
|
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 
|
|
|
|
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>";
|
|
|
|
Joined: Feb 2001
Posts: 2,268
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 2,268 |
The ubbt_closehtml.tmpl file has those tags in it as well.
|
|
|
|
Joined: Apr 2001
Posts: 3,266
Member
|
Member
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.
|
|
|
|
Joined: Feb 2001
Posts: 2,268
Junior Member
|
Junior Member
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 
|
|
|
|
Joined: Feb 2003
Posts: 64
Power User
|
Power User
Joined: Feb 2003
Posts: 64 |
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|