
11-21-2004, 08:25 AM
|
 |
|
|
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Scerina
Do you have one for a vb forum which is version 3.00????? I would luv to have this hack but I got an older version...v3
|
It works with vB3.0.0 as well. Only difference is the looks of init.php and usergroup.php. Here is how it looks with vb3.0.0.
Quote:
INIT.PHP
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
'canviewmembers' => 1,
'canmodifyprofile' => 2,
'caninvisible' => 4,
'canviewothersusernotes' => 8,
'canmanageownusernotes' => 16,
'canseehidden' => 32,
'canbeusernoted' => 64,
'canprofilepic' => 128,
'canseeraters' => 256,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canuseguestbook' => 262144,
'canusewebpage' => 524288
);
|
Quote:
USERGROUP.PHP
$ug_bitfield = array(
'showgroup' => 1, 'canview' => 1, 'canviewmembers' => 1,
'canuseguestbook' => 1, 'canusewebpage' => 1,
'canviewothers' => 1, 'cagetattachment' => 1, 'cansearch' => 1,
'canmodifyprofile' => 1, 'canthreadrate' => 1, 'canpostattachment' => 1,
'canpostpoll' => 1, 'canvote' => 1, 'canwhosonline' => 1,
'allowhidden' => 1, 'showeditedby' => 1, 'canseeprofilepic' => 1,
'canusesignature' => 1
);
|
Rest of the installation is the same.
I do suggest holding off. I have an update for this script now and it includes the WYSIWYG editor.
|