neptune (neptunix) wrote in lj_everywhere,
neptune
neptunix
lj_everywhere

  • Music:

Account types

I cant allow my 'news" account to use customview.cgi.

Here is a part of my ljconfig.pl


$NEWUSER_CAPS = 2;


%CAP_DEF = (
'maxfriends' => 5,
'userpics' => 1,
'checkfriends_interval' => 60,
'checkfriends' => 1,
'styles' => 0,
'todomax' => 25,
'todosec' => 0,
'friendsviewupdate' => 30,
'findsim' => 1,
);


%CAP = (
'0' => { # 0x01
'_name' => 'new user',
'userpics' => 1,
},
'1' => { # 0x02
'_name' => 'normal user',
'userpics' => 3,
},
'2' => { # 0x04
'_name' => 'vip user',
'styles' => 1,
'makepoll' => 1,
'userpics' => 10,
'paid' => 1,
'useremail' => 0,
# 'textmessaging' => 1,
},
'3' => { # 0x08
'_name' => 'permanent account',
'paid' => 1,
'useremail' => 0,
},
# a capability class with a name of "_moveinprogress" is required
# if you want to be able to move users between clusters with the
# provided tool. further, this class must define 'readonly' => 1
'4' => {
'_name' => '_moveinprogress',
'readonly' => 1,
},
);


"news" account typese are:

- vip user
- permanent account


And i get
Notice

This user's account type is not permitted to create and embed styles.



Am i wrong somewhere? Thx in advance
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 1 comment