Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - Other
Author Message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Jun 28, 2007 7:17 am Reply with quote

myrtletrees wrote:
1 is usually Yes, and 0 is usually No....

Agreed, but that's how it has always been since FB released it with that setting and we didn't change it.
 
View user's profile Send private message
myrtletrees
Involved
Involved



Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Thu Jun 28, 2007 7:21 am Reply with quote

Raven wrote:
myrtletrees wrote:
1 is usually Yes, and 0 is usually No....

Agreed, but that's how it has always been since FB released it with that setting and we didn't change it.


It's just a typo. It still works as it should.
1=on 0=off
 
View user's profile Send private message
Raven







PostPosted: Thu Jun 28, 2007 7:31 am Reply with quote

myrtletrees wrote:
Raven wrote:
myrtletrees wrote:
1 is usually Yes, and 0 is usually No....

Agreed, but that's how it has always been since FB released it with that setting and we didn't change it.


It's just a typo. It still works as it should.
1=on 0=off


Well, yes & no. The logic in index.php was corrected by someone in 2001 but the instructions were never changed Smile. We will update the instructions for the next release of RN. Thanks!
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Jun 30, 2007 4:40 pm Reply with quote

Ok, here is the deal. Whether we like FB's mess or not, I feel that if we change how the code behaves now, it could cause even more confusion, or worse, when / if someone upgrades to a later release of RN, they could end up having the reverse of the "lock out" occur. So, instead of create more confusion, I'll just explain the two settings here in more detail:

$blockunregmodify

This setting within Web Links' l_config.php script is for submitting CHANGES to existing links, not for new links. The comment at the top of the script is correct in how it reads:

"Block unregistered users from suggesting links changes? (1=Yes 0=No)"

$links_anonaddlinklock

This setting is for submitting NEW links. The comment after it is written so bad by FB that it is really confusing. So, I have taken the liberty of correcting the entire comment to make it more understandable as well as to make it be reflective of how the code is written (rather than changing the code):

"Allow Unregistered users to Suggest New Links? (1=Yes 0=No)"

------

This simple change in the comment text should make this more clear.

I have had mine set to "0" for years as I do not want unregistered users to be able suggest new links. Works like a champ, however, ONLY RavenNuke(tm) 2.10.x+ also has the code that I modified in Web Links to correct a "by-pass" that was possible (the bypass would allow links to be submitted and so the admin would have a ton of crap to clean up all the time... ). Wink

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - Other

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©