Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Joining pages

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
Andy Humm Posted - 26 May 2008 : 06:07:06
I have been revamping the way the forum looks with a view to come away from pop-up pages. Current when you are in the pop_profile and you click 'Click to send me an email' it opens pop_mail.asp in a new window. I have removed the javascript tag at the fron of the link so that the email form opens in the same window.

What I have done so far is changed the way the pop_mail.asp looks with a header and expanded the table area out to look similar to other forum pages, but what I am stuck on is trying to ensure there is the forum header and footer on the page. Also I would like to see the navigation directory tree on the form too.

Is there an easy way to join the pop_mail.asp to a page with header, directory and footer or simply add the code to pop_mail.asp..
Something like this:

Thank you
Andy<
15   L A T E S T    R E P L I E S    (Newest First)
Andy Humm Posted - 28 May 2008 : 05:07:39
Carefree absolutely.. spot on fix and the finished article is below (I say finished well near as dam it) Thanks to all for the priceless help, especially leatherlips for behind the scenes testing and advise..
Screenshot here:
<
Carefree Posted - 27 May 2008 : 18:15:41
Well as long as you were able to get it, everything's ok. Let me know if it fixed what you needed.<
Andy Humm Posted - 27 May 2008 : 11:27:17
HuwR Quote: "what browser/version are you using ?" ( IE7 - XP SR3 Home) .. But like leatherlips have to go the non-recommended route..<
leatherlips Posted - 27 May 2008 : 10:44:38
I too couldn't open it. I got an error about the certificate. However, I clicked on the link that said something to the effect of "Go to website anyway, not recommended" and I got there fine.<
HuwR Posted - 27 May 2008 : 10:34:49
quote:
Originally posted by Andy Humm

carefree I can not open the txt file: error message
There is a problem with this website's security certificate.



That shouldn't prevent you downloading it, I was able to open it fine, what browser/version are you using ?<
Andy Humm Posted - 27 May 2008 : 07:41:16
carefree I can not open the txt file: error message
There is a problem with this website's security certificate.<
Carefree Posted - 27 May 2008 : 07:32:03
Here you go, Andy. See if this is what you want:
https://24.168.209.249/pop_mail.txt<
Andy Humm Posted - 27 May 2008 : 05:11:42
bobby131313 re "Hmmmmm... I think I might like this idea...." have a butchers and see what you think, you will note that an email will not be sent as there is a spammer routine in the code to stop emails until a certain amount of genuine posts have been approved on the forum..

Personally, I prefer this method of pop_mail.asp as it gets away from pop ups..

Demo link here login/pwd: demo/demo


Carefree: pop_mail.asp text file as requested..

Edit demo link amended<
Carefree Posted - 26 May 2008 : 21:53:58
The simplest way, after you've changed the javascript routine, is to eliminate the response.clear line above the confirmation "Email has been sent" code.

Then you should add a meta-refresh back to default.asp following the confirmation.

Something like this:

%>
<!--#INCLUDE FILE="inc_mail.asp" -->
<%
					Response.Write	"    <p><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>E-mail has been sent</font></p>" & vbNewLine & _
						"<meta http-equiv=""Refresh"" content=""2; URL=default.asp"">" & vbNewLine
				else


That way it doesn't clear the screen but keeps your header/footer from pop_mail; then eliminates the Email table itself, adds the confirmation below the "Send an EMail Message ..." bit; pauses for two seconds, and returns to your main forum.<
bobby131313 Posted - 26 May 2008 : 20:48:05
Hmmmmm... I think I might like this idea....<
Carefree Posted - 26 May 2008 : 20:43:40
Post a link to a txt version and we'll fix your gap issue.<
Andy Humm Posted - 26 May 2008 : 12:14:37
yes thanks..The only niggling bit is when the page opens there is a gap between the top line of the directory tree and the live chat link, which does not appear on all other pages.
<
MarkJH Posted - 26 May 2008 : 07:51:40
Cool! Is it how you want it yet?<
Andy Humm Posted - 26 May 2008 : 06:25:31
Thank you! - with a little more fiddling I established the tree structure at the top..<
MarkJH Posted - 26 May 2008 : 06:16:44
It's because it uses inc_header_short.asp and WriteFooterShort. Have you tried replacing these lines of code within pop_mail.asp to inc_header.asp and WriteFooter? The former is near the top and the latter is at the bottom.<

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