CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [BUG] Commenters can't save 'personal options'
Rating 5 V
FUNimations
post Mar 30 2009, 09:17 PM
Post #1


CuteNews Support Crew Pimp
***

Group: Support
Posts: 16,509
Joined: 28-August 05
From: Belgium
Member No.: 5,662



Name: Commenters can't save 'personal options'
Author: FUNimations
CuteNews Compatibility: 1.3.6 - * (no incompatibility reported yet)
Description: Registered users with a 'commenter' userlevel are presumed to change their 'personal options'. However due to a fault in the code, commenters can't access the page where the new information is saved.
Instructions:
in /inc/options.mdu find
CODE
if($member_db[1] == 4 and ($action != 'personal' and $action != 'options')){ msg('error', 'Error!', 'Access Denied for your user-level (commenter)'); }

replace with
CODE
if($member_db[1] == 4 and (!in_array($action, array('personal','options','dosavepersonal')))){ msg('error', 'Error!', 'Access Denied for your user-level (commenter)'); }


--------------------

General FAQ
Spam Protection In Cutenews
Comments get deleted
_______________________
<< If you appreciate my help
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 19th June 2013 - 04:45 PM