UBB.Dev
Posted By: Ian Spence [6.7] [beta] Edit Public Name in CP - 03/03/2004 9:58 PM
Modification Name: Edit Public Name in CP

Author(s): Ian Spence

Description: Allows you to edit a user's public name via the CP.

Demo: CP MOD

Requirements: UBB.classic 6.7

Download Link: https://www.ubbdev.com/ubb/upload/00020028/EditUserNameinCP.txt

Credits: Gizzy for annoying me until I released it.

Modify Files. Upload Files. Change your least favorite member's name to "Snuggle Bunny".

That is required. This mod will stop working after 1 hour if there isn't a member named "Snuggle Bunny" on your boards.
Posted By: Charles Capps Re: [6.7] [beta] Edit Public Name in CP - 03/03/2004 10:23 PM
You're forgetting to update the pdn index...
Posted By: Ian Spence Re: [6.7] [beta] Edit Public Name in CP - 03/03/2004 10:33 PM
Are you sure?

Code
		$profile[15] = $in{pdn} || $profile[0];
.
.
.
my $public_name = $profile[15] || $profile[0];
&AppendNameList($public_name);
my $pdnlist = &GetPDNListAsHash;
$pdnlist->{$u} = $public_name;
#my @newlist = map { "$_|.|$pdnlist->{$_}" } sort keys %{$pdnlist};
&UpdatePDNList($pdnlist);
or is the PDN list and the PDN index different?
Posted By: Gizmo Re: [6.7] [beta] Edit Public Name in CP - 03/04/2004 2:29 AM
See, this is why you need to release things, so charles can yell at you :x...
Posted By: Charles Capps Re: [6.7] [beta] Edit Public Name in CP - 03/04/2004 3:35 AM
Ah, sorry. I didn't realize that the stock code already did so.
Posted By: Gizmo Re: [6.7] [beta] Edit Public Name in CP - 03/04/2004 3:47 AM
This coming from charles; the one who helped code the stock code... I'm scared now...
Posted By: Gizmo Re: [6.7] [beta] Edit Public Name in CP - 03/04/2004 7:51 AM
I have it at UGN and it seems to be running perfectly.
Posted By: Charles Capps Re: [6.7] [beta] Edit Public Name in CP - 03/04/2004 9:45 PM
Heh... I've been working on a lot of non-Classic projects of late (including helping with the Eve migration and working with Rick on getting the Threads importer set up in 6.5)
Posted By: Tiger66 Re: [6.7] [beta] Edit Public Name in CP - 08/17/2004 3:44 AM
I get this error, I took the board name off for security reasons

Code
(RequireCode) /home/www/www.board.com/cgi-bin/cp2_membermanage.cgi: syntax error at /home/www/www.board.com/cgi-bin/cp2_membermanage.cgi line 60, 
near ""$vars_config{CGIURL}/$CONTROLPANEL?page=editprofile&u=0`"w"syntax error at /home/www/www.board.com/cgi-bin/cp2_membermanage.cgi line 79,
near "my $results = &OpenFileAsMultiHash(""Global symbol "$results" requires explicit package name at /home/www/www.board.com/cgi-bin/cp2_membermanage.cgi line 78.Compilation
failed in require at /home/www/www.board.com/cgi-bin/ubb_lib.cgi line 931.
Posted By: Ian Spence Re: [6.7] [beta] Edit Public Name in CP - 08/17/2004 5:25 AM
redo the hack, it isn't that long
Posted By: Tiger66 Re: [6.7] [beta] Edit Public Name in CP - 08/18/2004 1:30 AM
I have, 4 times, still get the same error frown
Posted By: Ian Spence Re: [6.7] [beta] Edit Public Name in CP - 08/18/2004 1:38 AM
the part of cp2_membermanage.cgi my mod requires you to edit begings at line 667. Your errors is at line 60, 79 and 78.

This error has nothing to do with my mod
Posted By: Tiger66 Re: [6.7] [beta] Edit Public Name in CP - 08/31/2004 12:43 AM
It's me again

I added it succesfully but in the Public Name line there's an empty text field, and if I update anything in the profile with out re entering the member nickname it shows the Login Name as the Public Name, and yes I did set a member name "Snuggle Bunny"

Any chance for any kind of help?
Posted By: Ian Spence Re: [6.7] [beta] Edit Public Name in CP - 08/31/2004 6:47 AM
try reinstalling it, as I don't know any reason that would happen. This is a simple mod
© UBB.Developers