01-25-2001, 07:16 AM
if i wanted to have people who've been @ my board for >= 1 year given a title like Forum Vet for example, how would y'all go about it?
on the ubb since doing custom titles are basically hardcoded in, i could probably find my way, but i dont really know where to start w/ vb. :|
any suggestions? i'd imagine something like
$currentdate = date("U");
$registered = $userinfo["joindate"];
$year_epoch = 31622400;
if (($currentdate - $registered) > $year_epoch) {
if($userinfo["title"]=="Member"){ // dont overwrite any custom titles
// change title somehow
}
}
would work if placed in the appropriate area, but as to where to put it, and how to change the title, im @ a loss.
on the ubb since doing custom titles are basically hardcoded in, i could probably find my way, but i dont really know where to start w/ vb. :|
any suggestions? i'd imagine something like
$currentdate = date("U");
$registered = $userinfo["joindate"];
$year_epoch = 31622400;
if (($currentdate - $registered) > $year_epoch) {
if($userinfo["title"]=="Member"){ // dont overwrite any custom titles
// change title somehow
}
}
would work if placed in the appropriate area, but as to where to put it, and how to change the title, im @ a loss.