[6.0x] Public Name Hack v1.0 [ Finished ] - 06/14/2001 2:22 PM
Hack Name: Public Name Hack v. 1.0
UBB Version: 6.04c
Description:
This is a hack to change users' Public Names from the Control Panel.
With this hack Administrators can edit users' Public Names through the Control Panel.
Bonus:
- It's pretty usefull when you upgraded from UBB5 if you had the Avatar Hack installed.
########################################################################
Author: Zack
Co-author: Goku
########################################################################
Files Modified: cp_users.cgi, cp_edit_profile.pl
########################################################################
Installation:
#################
open cp_users.cgi
#################
# FIND
if ($vars_registration{location_field_use} eq 'REQ') { push(@VA, "location"); }
# ABOVE PUT
if ($vars_registration{publicly_displayed_name_field_use} eq 'REQ') { push(@VA, "publicly_displayed_name"); }
# FIND
print FILE ("$user_profile[15]n");
# REPLACE WITH
print FILE ("$in{publicly_displayed_name}n");
#######################
open cp_edit_profile.pl
#######################
# FIND
$vars_wordlets{public_name_field}:
$user_profile[15]
# REPLACE WITH
$vars_wordlets{public_name_field}:
UBB Version: 6.04c
Description:
This is a hack to change users' Public Names from the Control Panel.
With this hack Administrators can edit users' Public Names through the Control Panel.
Bonus:
- It's pretty usefull when you upgraded from UBB5 if you had the Avatar Hack installed.
########################################################################
Author: Zack
Co-author: Goku
########################################################################
Files Modified: cp_users.cgi, cp_edit_profile.pl
########################################################################
Installation:
#################
open cp_users.cgi
#################
# FIND
if ($vars_registration{location_field_use} eq 'REQ') { push(@VA, "location"); }
# ABOVE PUT
if ($vars_registration{publicly_displayed_name_field_use} eq 'REQ') { push(@VA, "publicly_displayed_name"); }
# FIND
print FILE ("$user_profile[15]n");
# REPLACE WITH
print FILE ("$in{publicly_displayed_name}n");
#######################
open cp_edit_profile.pl
#######################
# FIND
$vars_wordlets{public_name_field}:
$user_profile[15]
# REPLACE WITH
$vars_wordlets{public_name_field}: