Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Yet Another Printer Friendly Mod
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

gor
Retired Admin

Netherlands
5511 Posts

Posted - 08 February 2001 :  01:05:21  Show Profile  Visit gor's Homepage
quote:

Since it doesn't seem to deal with cookies, beside figuring out the "Line equivalent", does your mod would be compatible with v3.1sr2?



Yes it should be.
As far as the line equivalents go:
The code in inc_top.asp goes right after the other javascript window definitions (keep it withing the </script> tag though).
The code in topic.asp goes in the function PostingOptions() right after the mail to friend code. Just make sure it isn't in any if the IF...THEN statements so it also displays when mail is not enabled and when the topic is locked.

Pierre
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 08 February 2001 :  23:01:30  Show Profile
Thanks Pierre,
Will do it tomorow and post !

Wedont
snitz ver3.1 sr2
access 2k.
Installed on v3.1sr2. Works great,
Thanks again Pierre !



Edited by - wedont on 09 February 2001 17:40:20
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 11 February 2001 :  21:24:59  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
implimented in source of sf2k_31sr4a4.zip

Reinsnitz (Mike)
><)))'>
"Blessed are those who hear the word of God and obey it." - Luke 11:28
Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 12 February 2001 :  09:38:18  Show Profile  Visit tilttek's Homepage
quote:

What do you mean IE4 and IE5 doesn't do it the same way? Do you mean that each version browser uses a different javascript function to open the print window?



I did try to implement it on a site, But I did seem IE and NE didn't use the same function (IE4 does't have windows.print()) if I remember well.
We had 3 impletentation, one for NE, one for IE4 and one for IE5


Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page

portiz
Starting Member

USA
8 Posts

Posted - 14 February 2001 :  16:53:42  Show Profile  Send portiz an ICQ Message
I've changed/modified some of the code in order to eliminate many of the blank spaces (empty spaces) in the code and some other things in order to customize it to my site. Now, the YAPF Mod works fine after installing it BUT the messages (other than the original posting) aren't showing in the pop-up window. Everything else is showing fine.

Any ideas?

-PP



Go to Top of Page

Kerry
Average Member

USA
553 Posts

Posted - 14 February 2001 :  18:49:17  Show Profile  Visit Kerry's Homepage
Bug or feature?

The pageview count on the topic is affected by the printer-friendly window (+1)

-Kerry

Go to Top of Page

ckaine
Starting Member

Australia
19 Posts

Posted - 16 February 2001 :  20:11:27  Show Profile  Visit ckaine's Homepage
I'm having the no message text problem here, but I didn't do any customisation to it.





Edited by - ckaine on 16 February 2001 20:15:17
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 16 February 2001 :  20:23:07  Show Profile
here is a script for the print function, good for ie4+ nn4+ and nn6 !
(from:http://infinitemonkeys.atrax.co.uk)


function printIt()
{
if (document.all) {
var OLECMDID_PRINT = 6;
var OLECMDEXECOPT_DONTPROMPTUSER = 2;
var OLECMDEXECOPT_PROMPTUSER = 1;
var WebBrowser = "<OBJECT ID=\"WebBrowser1\" WIDTH=0 HEIGHT=0 CLASSID=\"CLSID:8856F961-340A-11D0-A96B-00C04FD705A2\"></OBJECT>";
document.body.insertAdjacentHTML("beforeEnd", WebBrowser);
WebBrowser1.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER);
WebBrowser1.outerHTML = "";
} else {
self.print();
}
}
/*
to call this script, use onClick="printIt()" in the <a> tag of a link, or
use <a href="javascript:printIt()">

*/


Wedont
snitz ver3.1 sr2
access 2k.

Edited by - wedont on 16 February 2001 20:26:24
Go to Top of Page

lancepr
New Member

73 Posts

Posted - 20 February 2001 :  12:48:04  Show Profile
I am also having the no messge text, I just upgraded to the newest version of snitz and have minimal mods installed.
I have the email password mod, and have modified my stars code, and thats it.

My RS3("R_Message") is blank, not sure why.

http://www.huntingbbs.com/forum/

When you view my print screen you see test test where the message is supposed to be, here is the line of code I have writing test test


Response.Write("<br> test " & rs3("R_Message") & " test")


Edited by - lancepr on 20 February 2001 16:27:08
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 February 2001 :  14:37:14  Show Profile
Can any of you guys who are not seeing the messages when you click on the pop_printer_friendly.asp link, post a link to your forums so we can see what's happening?

*----*----*----*----*----*----*----*----*
"Even when you feel you have nothing left,
You still have prayer--And that's enough."

*----*----*----*----*----*----*----*----*
Go to Top of Page

ckaine
Starting Member

Australia
19 Posts

Posted - 20 February 2001 :  20:56:45  Show Profile  Visit ckaine's Homepage
Forum is:
http://203.44.212.101/forum

You need to register to read any forum.

Go to Top of Page

lancepr
New Member

73 Posts

Posted - 21 February 2001 :  16:42:04  Show Profile
Anyone have any clues why some us are not getting the reply messages?

Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 21 February 2001 :  16:51:05  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
mail on this server is hosed right now

Reinsnitz (Mike)
><)))'>
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page

tteal
Junior Member

USA
438 Posts

Posted - 22 February 2001 :  11:49:04  Show Profile  Visit tteal's Homepage  Send tteal an AOL message  Send tteal an ICQ Message
This printer mod works like a chump... I mean "champ"!!!! Nice job and thank you! I implemented it in about 10 seconds flat!

Cheers,
Tim

http://www.free-guestbook.com
Go to Top of Page

lancepr
New Member

73 Posts

Posted - 22 February 2001 :  15:57:59  Show Profile
Do you get the reply message text in your print view tteal?
http://www.huntingbbs.com


Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07