PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15062
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
myrtletrees
Worker
Worker


Joined: Sep 13, 2005
Posts: 140

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

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
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15062
Location: Kansas

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

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!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
montego
Site Admin


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

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

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
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum