T O P I C R E V I E W |
leatherlips |
Posted - 02 July 2008 : 14:46:34 I installed a few years ago a mod called something like Contact The Admin MOD.
It brought up a pop up form that would send an email to the admin. It is used on the policy and faq pages.
I decided to make it a regular page instead of a pop up.
My question is, what pages do I need to include in it to keep you logged in? Right now, if you are logged in and then go to that page then it does not show you as being logged in. It in fact seems to log you out.< |
10 L A T E S T R E P L I E S (Newest First) |
Carefree |
Posted - 02 July 2008 : 17:44:04 Sure. Remove the following code:
That's the part that's displaying your email.< |
leatherlips |
Posted - 02 July 2008 : 17:18:43 Hmmm. I did find a small issue with mine.
If you view the page source my email address is visible. Can that be changed like it is when you email a member?< |
leatherlips |
Posted - 02 July 2008 : 17:12:36 Carefree. Thanks for doing the rewrite, but the forum tags do not work when sending an email. The email just shows the tags themselves. I don't really need them for this contact email form.
Thanks anyway! < |
Carefree |
Posted - 02 July 2008 : 16:58:08 Hey Leather, I rewrote your page to give you a bit more. Try this:
|
leatherlips |
Posted - 02 July 2008 : 16:54:44 I'm not sure why, perhaps a cookie thing? But now it is working fine. Go figure. < |
AnonJr |
Posted - 02 July 2008 : 16:44:44 Nothing jumps out... Are you sure they are getting logged out? Or is it just that some information is not being displayed right?< |
leatherlips |
Posted - 02 July 2008 : 15:49:01 Any idea why you appear logged out when visiting that page?< |
Carefree |
Posted - 02 July 2008 : 15:33:08 That's all there is to it, Leather. Some of the 3.3 and older Snitz files had Call WriteFooter, etc; rather than simply WriteFooter. Yours uses the newer routine.< |
leatherlips |
Posted - 02 July 2008 : 15:10:28 Thanks AnonJr. I have already changed the header and footer. I'm not sure what you mean about the "call" part.
Here is the text of my code if that can help.
|
AnonJr |
Posted - 02 July 2008 : 14:55:02 Not sure if/why it seems to log you out, but I'm willing to bet that since it started out as a pop-up its using inc_header_short.asp. Change the reference to inc_header_short.asp to inc_header.asp and change the Call WriteFooterShort to Call WriteFooter (The file may or may not have the "Call" part)< |