Notifications
Clear all

Visitors see [edit] for anon challenges

5 Posts
2 Users
0 Reactions
1,771 Views
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

This is kind of odd. If you're not signed/logged in, the anonymous challenges have

Options: [Edit] [Delete]

showing up under them. Of ocurse, when you click on one of the links you get

You are not authorized to access that function.

http://www.potionsandsnitches.net/fanfiction/browse.php?type=challenges


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 20/01/2007 9:42 pm
(@tammy)
Posts: 2577
Member Moderator
 

Try deleting your challenges folder and re-uploading it.  I'm not seeing the same thing on my sites.  So I'm wondering if an old file is hanging around somewhere.


 
Posted : 20/01/2007 10:48 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

I deleted the challenges module on my local server and my remote. I unzipped the last efiction3 file I have and reuploaded that one's challenges folder.

I still see the Options when I am logged out.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 21/01/2007 11:32 am
(@tammy)
Posts: 2577
Member Moderator
 

Okay, now I get it.  I read your first post wrong.  I'll have it fixed in the next update. 

Manual fix is open modules/challenges/browse.php and edit line 78 to read:


if($adminloggedin || ($useruid != 0 && $useruid == $challenge['uid']))  ....

You're changing everything after || and before the last ).


 
Posted : 21/01/2007 1:29 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

I am no longer seeing this, it is now fixed. Thanks Tammy!


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 05/02/2007 1:46 am
Share: