
03-13-2002, 12:53 PM
|
|
|
Join Date: Oct 2001
Location: super
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
basically.. add two fields to user profile for the reason of banning, and the length of the ban.
create a new user group called "Banned" (exact name/case required) and set permissions as you wish
(most likely you would set them all to 'No')
edit your config.php and add
-----------V
wherever i want??
//set fieldid's of banreason field and banuser field
$banreasonfieldid=10;
$banuntilfieldid=11;
-----------^
to the bottom of it, replacing '10' and '11' with the fieldid's of the reason and until field respectively.
|
Red= i don't understand, can somebody post an example code, because i don't know, how to make 2 new fields!
Green= Question by me
thx in adnace
DoDgE
|