Your Self, Your Buddy


  -----  
Author Message

Thoul
Administrator

Wed Mar 29, 2006 2:12 am   Post subject: Your Self, Your Buddy
Many people have requested that Contact List should not allow users to add themselves to their buddy list, for various reasons. Other people, myself especially, might find the ability to do so useful, so a compromise was reached. Contact List's includes/constants_contact.php file contains a constant which can be used to turn the "buddy-self" power on or off at the board admin's wish.

The code that controls this switch can be seen below. The ability is turned off by default. To reactivate it, all you have to do is add two slashes in front of the "false" line and remove the two slashes in front of the "true" line.

Code:

// Allows users to set themselves as buddies. This is mainly used only
// in debugged during development.  You should probably leave it at false.
//define('ALLOW_BUDDY_SELF', true);
define('ALLOW_BUDDY_SELF', false);
 

Page 1 of 1
Display posts from previous: