Mystics
Sat 27th Jul '02, 6:48pm
Hi,
when you add an user with your Admin CP, and you do not use a custom title for him, he doesn't get an usertitle.
This will fix it:
Open admin/user.php and search for: if ($biography=="Location:\r\nOccupation:\r\nInterests:\r\n") {
$biography="";
}Add below it: if ($customtitle==0) {
$usergroup=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid='$usergroupid'");
if ($usergroup[usertitle]=="") {
$gettitle=$DB_site->query_first("SELECT title FROM usertitle WHERE minposts<=0 ORDER BY minposts DESC LIMIT 1");
$usertitle=$gettitle[title];
} else {
$usertitle=$usergroup[usertitle];
}
}Greetings,
Mystics
when you add an user with your Admin CP, and you do not use a custom title for him, he doesn't get an usertitle.
This will fix it:
Open admin/user.php and search for: if ($biography=="Location:\r\nOccupation:\r\nInterests:\r\n") {
$biography="";
}Add below it: if ($customtitle==0) {
$usergroup=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid='$usergroupid'");
if ($usergroup[usertitle]=="") {
$gettitle=$DB_site->query_first("SELECT title FROM usertitle WHERE minposts<=0 ORDER BY minposts DESC LIMIT 1");
$usertitle=$gettitle[title];
} else {
$usertitle=$usergroup[usertitle];
}
}Greetings,
Mystics