Forums / General Questions / Contact us form and guests

Contact us form and guests

Locked

Views: 1,223

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
14 Jan 2007, 8:33 PM
#1
tanzanite avatar

tanzanite

New Zenner

Join Date:
Dec 2006
Posts:
41
Plugin Contributions:
0

Contact us form and guests

Is it possible to stop guests from using the contact us form?

14 Jan 2007, 8:55 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Contact us form and guests

You could alter the:
/includes/modules/pages/contact_us/header_php.php

And force a login ... with a message to explain why ...

Something like:

if (!$_SESSION['customer_id']) {
  $_SESSION['navigation']->set_snapshot();
// add a message here
  zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!