Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Email Question

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
MaGraham Posted - 02 August 2012 : 01:13:05

Is there a way to block Outlook Express, AOL, etc. from opening when a member tries to email someone from my website? I want members to be able to send email from my website only. If I can accomplish this, no one can see the recipient's email address UNLESS the recipient replies to an email. . .thus allowing me to promise to keep a member's email address private. But when Outlook Express or AOL, etc. opens, it automatically displays the email address in its window.


8   L A T E S T    R E P L I E S    (Newest First)
MaGraham Posted - 06 August 2012 : 17:02:05


That worked, Carefree!

Thank you both so much!



Carefree Posted - 05 August 2012 : 11:20:07
In "inc_header.asp"



Look for the following lines (appx 236-255), notice the lines in green.  That's the window currently being opened with height/width of 400 pixels each.  Now see the lines in red, they use height/width of 450 & 525 respectively (almost what you're requesting).  So the simplest method would be to use openWindow(5) where Anon suggested openWindow(4).

		"function openWindow(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=400')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow2(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=450')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow3(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=450,scrollbars=yes')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow4(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=525')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow5(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=450,height=525,scrollbars=yes,toolbars=yes,menubar=yes,resizable=yes')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow6(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=500,height=450,scrollbars=yes')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindowHelp(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=470,height=200,scrollbars=yes')" & vbNewLine & _
MaGraham Posted - 04 August 2012 : 22:39:54


About 150 pixels more added in width would be great!

And, thank you so much!!


AnonJr Posted - 03 August 2012 : 17:06:47
For that you would have to make an additional openWindow() function with the width and height you want. When I'm not on my tablet I'll see what I can put together for instructions. How wide are you looking for?
MaGraham Posted - 03 August 2012 : 06:20:38


Well, that was simple! :)

Thank you, AnonJr!

Is there something just as simple to make the window a bit wider?


AnonJr Posted - 02 August 2012 : 19:00:02
I don't have the particular line numbers in front of me, but if you search pop_profile.asp and topic.asp (possibly other files depending on what MODs are installed) for "pop_mail.asp", you'll see the link is wrapped up in the Java Script function openWindow() - kinda like in one spot in pop_profile.asp:
<a href=""JavaScript:openWindow('pop_mail.asp?id=" & rs("MEMBER_ID") & "')"">Click to send an E-Mail</a>


Change openWindow( to openWindow4( to get a little more height in the pop up.

If you want to specify your own window size, go to inc_window.js and make your own variant of the openWindow() function - note: given how widely it is used elsewhere in the code, I do not recommend modifying the original openWindow().
MaGraham Posted - 02 August 2012 : 17:42:39



You are absolutely correct! :)

I had been working on a few things and had turned the email off and totally forgot I had not turned it back on.

My motherboard died recently (Windows 7) so I am back on an older (Windows XP) computer. I knew the email had worked perfectly before so I thought it had something to do with Windows XP. Sure glad it didn't!

Thank you so much!

Another question: How do I make the email window just a bit larger?


AnonJr Posted - 02 August 2012 : 12:46:35
do you have "Email Mode" set to "on" or "off" in your Email server config?

If Email Mode is on, it will use the email component and all the other settings you filled in on the Email Server Config.

If Email Mode is off, it will post a mailto: link with the user's email address and then open in the person's default email client.

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000 Version 3.4.07