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/O Code)
 Joining pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 26 May 2008 :  06:07:06  Show Profile  Reply with Quote
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<

Edited by - Andy Humm on 26 May 2008 06:19:43

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 26 May 2008 :  06:16:44  Show Profile  Visit MarkJH's Homepage  Reply with Quote
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.<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 26 May 2008 :  06:25:31  Show Profile  Reply with Quote
Thank you! - with a little more fiddling I established the tree structure at the top..<

Edited by - Andy Humm on 26 May 2008 07:22:53
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 26 May 2008 :  07:51:40  Show Profile  Visit MarkJH's Homepage  Reply with Quote
Cool! Is it how you want it yet?<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 26 May 2008 :  12:14:37  Show Profile  Reply with Quote
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.
<
Go to Top of Page

Carefree
Advanced Member

Philippines
4216 Posts

Posted - 26 May 2008 :  20:43:40  Show Profile  Reply with Quote
Post a link to a txt version and we'll fix your gap issue.<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 26 May 2008 :  20:48:05  Show Profile  Visit bobby131313's Homepage  Reply with Quote
Hmmmmm... I think I might like this idea....<

Switch the order of your title tags
Go to Top of Page

Carefree
Advanced Member

Philippines
4216 Posts

Posted - 26 May 2008 :  21:53:58  Show Profile  Reply with Quote
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.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 27 May 2008 :  05:11:42  Show Profile  Reply with Quote
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<

Edited by - Andy Humm on 27 May 2008 06:26:06
Go to Top of Page

Carefree
Advanced Member

Philippines
4216 Posts

Posted - 27 May 2008 :  07:32:03  Show Profile  Reply with Quote
Here you go, Andy. See if this is what you want:
https://24.168.209.249/pop_mail.txt<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 27 May 2008 :  07:41:16  Show Profile  Reply with Quote
carefree I can not open the txt file: error message
There is a problem with this website's security certificate.<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 27 May 2008 :  10:34:49  Show Profile  Visit HuwR's Homepage  Reply with Quote
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 ?<
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 27 May 2008 :  10:44:38  Show Profile  Visit leatherlips's Homepage  Reply with Quote
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.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 27 May 2008 :  11:27:17  Show Profile  Reply with Quote
HuwR Quote: "what browser/version are you using ?" ( IE7 - XP SR3 Home) .. But like leatherlips have to go the non-recommended route..<
Go to Top of Page

Carefree
Advanced Member

Philippines
4216 Posts

Posted - 27 May 2008 :  18:15:41  Show Profile  Reply with Quote
Well as long as you were able to get it, everything's ok. Let me know if it fixed what you needed.<
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 28 May 2008 :  05:07:39  Show Profile  Reply with Quote
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:
<

Edited by - Andy Humm on 28 May 2008 05:08:12
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07