Disable Email Requirement

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
WayneO42
Posts: 2
Joined: Fri Oct 29, 2004 7:13 pm

Disable Email Requirement

Post by WayneO42 »

I want to remove the user email requirement from the "Add Content" and "Ask Question" feature. What do I need to modify. I am a php newbie but know enough not to mess with things yet.
Thorsten
Posts: 15743
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

open the file save.php and remove in the line 20 the following code:

Code: Select all

&& isset($_REQUEST["usermail"]) && $_REQUEST["usermail"] != ""
Then save the file. After that open the file savequestion.php and remove in the line 20:

Code: Select all

$_REQUEST["usermail"]
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply