SMFHacks.com

Modifications/Themes => Modifications Talk => Topic started by: Nicole on August 03, 2022, 07:39:41 pm

Title: Contact Page Mod Not Working
Post by: Nicole on August 03, 2022, 07:39:41 pm
Hell, I installed this Mod oon a SMF 2.0.17 board but whenever I go to the contact page I get a session verfication error. Strange. This mod shpuld be pretty straight forward I guess and I had it working on a SMF 1.1 Board before. I did allready rename the session cookie and made sure all login files have the hidden season vsalue field fixe applied - but no luck.

Any hints or suggestions? Thank you, Nicole

Title: Re: Contact Page Mod Not Working
Post by: SMFHacks on August 03, 2022, 09:25:53 pm
Just visiting the main contact page?
Title: Re: Contact Page Mod Not Working
Post by: Nicole on August 03, 2022, 09:41:06 pm
Yes exactly. When I go to /index.php?action=contact
Title: Re: Contact Page Mod Not Working
Post by: SMFHacks on August 03, 2022, 10:04:47 pm
Very strange it should only check the session on submission I looked a the the code and checkSession() is only called if the subaction sa is passed in the url.
Title: Re: Contact Page Mod Not Working
Post by: Nicole on August 03, 2022, 10:39:30 pm
Strange. You can check it out yourself at nihontoforum.com/index.php?action=contact ... I think you should still have an admin account there when you did work for me.

Should I comment out the season checking in teh associated files?
Title: Re: Contact Page Mod Not Working
Post by: SMFHacks on August 04, 2022, 08:45:38 am
Yes, try to comment that out and see if it helps.
Title: Re: Contact Page Mod Not Working
Post by: Nicole on August 04, 2022, 05:44:04 pm
Hello, this made it work. Works fine now. May I suggest to make those changes as suggested by another user in the mods support topic:

In contact page member must enter name, subject, message,e-mail.

I think is better the member enter only  subject and message.

must be default name (forum name) and e-mail address (forum e-mail address)
Title: Re: Contact Page Mod Not Working
Post by: SMFHacks on August 05, 2022, 12:19:43 pm
Yeah those could be options/features for the contact page to enable/disable. Probably won't do anything time soon though.