Custom_User_Titles.mod
0.5
This mod allows you to give any of the members on your board a custom title! Instead of making a new position and assigning that to them, just give them a title!
Version 0.5 - BETA version!
- Allows you to add custom titles
Pheonix405
http://phx.gamewarriors.com
Sources/Profile.pl
fopen(FILE, "$memberdir/$INFO{'username'}.dat");
@memsettings=;
fclose(FILE);
fopen(FILE, "$memberdir/$INFO{'username'}.title");
@titlesettings=;
fclose(FILE);
$txt{'86'}:
$cuttxt{'1'}:
$txt{'233'}:
$dr
$txt{'196'}:
$titlesettings[0]
unlink("$memberdir/$username.dat");
unlink("$memberdir/$username.title");
unlink("$memberdir/$member{'username'}.dat");
unlink("$memberdir/$member{'username'}.title");
if($newpassemail) {
fopen( FILE, ">$memberdir/$member{'username'}.title");
print FILE "$member{'cutitle'}";
fclose(FILE);
$yytitle = "$txt{'92'} $INFO{'username'}";
&header;
fopen(FILE, "$memberdir/$INFO{'username'}.title");
@titlesettings=;
fclose(FILE);
Sources/Display.pl
# If user is not in memory, s/he must be loaded.
&LoadUserDisplay($musername);
fopen(FILE, "$memberdir/$musername.title");
@titlesettings=;
fclose(FILE);
# If user is not in memory, s/he must be loaded.
&LoadUserDisplay($musername);
$usernamelink
$memberinfo
$titlesettings[0]
english.lng
$txt{'749'} = "The 'number of posts' box can only contain digits.";
$cuttxt{'1'} = "Custom Title";