Does this site have a "Print topic" mod?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Does this site have a "Print topic" mod?
Caedus
CZ Newbie
Caedus has been a member for over 20 year's 20 Year Member
netherlands.gif
Gender: Male
Status: Offline
Joined: May 23, 2004
0.00 posts per day
Posts: 14
Points: 1,174
   
Hey all. I've asked this question on nukecops and someone there directed me to this site. He said that I could find a print topic modification, so that posts can be viewed on a printerfriendly screen.

For an example see [ Register or login to view links on this board.]

Problem is that I have not found it in the download section. I'm really hoping that that is my fault, and that it is there somewhere.

So can tell me where exactly I can find the mod, or am I out of luck and was that guy that directed me to here wrong?




_________________
icon_arrow.gif Caedus
Back to top Reply with quote
#2   re: Does this site have a "Print topic" mod?
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Here ya go..



Attached Files
Print_Topic.zip (32.25 KB, Downloaded: 5257 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Does this site have a "Print topic" mod?
Caedus
CZ Newbie
Caedus has been a member for over 20 year's 20 Year Member
netherlands.gif
Gender: Male
Status: Offline
Joined: May 23, 2004
0.00 posts per day
Posts: 14
Points: 1,174
   
Thank you, o wise one!!!




_________________
icon_arrow.gif Caedus
Back to top Reply with quote
#4   re: Does this site have a "Print topic" mod?
Caedus
CZ Newbie
Caedus has been a member for over 20 year's 20 Year Member
netherlands.gif
Gender: Male
Status: Offline
Joined: May 23, 2004
0.00 posts per day
Posts: 14
Points: 1,174
   
Well, I've installed it and got it working, but it doesn't show the topic posters names.

And after a quick glance at the printview.php file, I see that it does ask for the user names in the sql database.

And I've found a bug in it: in the printview.php file, it asks for the bbcode.php file:

include($phpbb_root_path . 'includes/bbcode.'.$phpEx);


But the link should be:

include($phpbb_root_path . '../../includes/bbcode.'.$phpEx);




_________________
icon_arrow.gif Caedus
Back to top Reply with quote
#5   re: Does this site have a "Print topic" mod?
Caedus
CZ Newbie
Caedus has been a member for over 20 year's 20 Year Member
netherlands.gif
Gender: Male
Status: Offline
Joined: May 23, 2004
0.00 posts per day
Posts: 14
Points: 1,174
   
So can someone help me displaying the usernames in the printer-friendly page?




_________________
icon_arrow.gif Caedus
Back to top Reply with quote
#6   re: Does this site have a "Print topic" mod?
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Open the printview.php and change the :

include($phpbb_root_path . 'includes/bbcode.'.$phpEx);


To:

include('includes/bbcode.php');


Find and change:

   $poster_id = $postrow[$i]['uid'];
   $poster = $postrow[$i]['uname'];


To:

   $poster_id = $postrow[$i]['user_id'];
   $poster = $postrow[$i]['username'];


The download was updated too.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: Does this site have a "Print topic" mod?
Caedus
CZ Newbie
Caedus has been a member for over 20 year's 20 Year Member
netherlands.gif
Gender: Male
Status: Offline
Joined: May 23, 2004
0.00 posts per day
Posts: 14
Points: 1,174
   
I tried it and can confirm that it works! Great job and thank you Telli icon_wink.gif !




_________________
icon_arrow.gif Caedus
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum