php forum
php mysql forum
php mysql smarty
 
Topic Options
#127641 - 10/21/01 06:54 PM "Change Username" script in database
neurospiral Offline
Junior Member

Registered: 06/20/01
Posts: 15

   "Change Username" script in database to Del.icio.us Add to del.icio.us
  Digg "Change Username" script in database Digg it
Can anyone verify that this script works? The link to the demo is broken. I have done everything that the instructions said and still can't get it to work.

I changed the path to perl in the .cgi file that was included in the zip. I kept the default variables as they were. I then try to access the cgi file using my web browser, and it just takes me to a blank page.

Anyone have experience with this modification? The file is located here:

http://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=get_topic&f=8&t=000048

Thanks in advance. Running UBB 5.45a.

Top
#127642 - 10/21/01 07:13 PM Re: "Change Username" script in database
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
neuro...I once used one of the "Change Username" hacks...but it became too much of a PITA because (if I recall correectly) none of the hacks change OLD messages....so the old username shows as "unregistered".

I went with Carnell Utilities for many other reasons...but the "Sweep and Swap" works GREAT for changing usernames!! IT goes through and changes ALL instances of the old username and updates the threads!! Brilliant utility to have! Whats more, all username change requests have to go through me, so I have a record of not only who IS who...but who WAS who!!

I'll have a look at the script in question later, possibly, but IMHO you will be MUCH happier with the great Carnell Utilities! Oh, and there is NO hacking to do....basically upload the new script, CHMOD to 755 and run it. You can be cool and add a link to it in the Control Panel if you like...or you can just bookmark it...whatever works for you!! smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#127643 - 10/21/01 07:36 PM Re: "Change Username" script in database
neurospiral Offline
Junior Member

Registered: 06/20/01
Posts: 15
Thank you VERY much, I didn't know about that "unregistered" stuff, I don't think I'd want that.

I'm off to check out Carnell Utilities right now... looking forward to it, it sounds like just what I need. And easy to install too.

Thanks Vipermad! smile

Top
#127644 - 10/21/01 07:57 PM Re: "Change Username" script in database
neurospiral Offline
Junior Member

Registered: 06/20/01
Posts: 15
OMG, Carnell Utilities ROCKS!! I wish I had this when I had to mass move threads a while back...

Top
#127645 - 10/21/01 10:11 PM Re: "Change Username" script in database
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Yes, Carnell Utilities is one of the better things to hit 5.xx!! Best run late at night with low users...just to be safe, and just my opinion obviously. Makes things SO much easier! Glad it fit the bill for you! smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#127646 - 10/22/01 02:21 AM Re: "Change Username" script in database
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Yeah I loved Carnell Utilities. It's a very useful thing. smile

Top
#127647 - 10/24/01 03:35 PM Re: "Change Username" script in database
p2k Offline
Member

Registered: 02/28/01
Posts: 145
Loc: .
Well, if you still want a particular user to have a new name without having to reregister and still keep all their old messages intact with no "unregistered" as their name, do the following.

Open up ubb_library2.pl

Find:

Code:
code:


After that, add:

Code:
code:


All you're doing is fooling those reading the messages and UBB into thinking it's a new person. They will still have to log into your forum with their old name, but any posts they make will be posted using the "New_Name_of_User" that you define.

peetwokewl4u!

Top
#127648 - 10/24/01 05:24 PM Re: "Change Username" script in database
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Uhh, thats what Carnell does. No coding required...just run the script, enter the OLD name, enter the NEW name, and Carnell goes through and updates EVERYTHING. Did I miss something?

Also...where do you define these variables of Name_of_User and New_Name_of_User?

[ 10-24-2001: Message edited by: Vipermad ]
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#127649 - 10/25/01 10:31 AM Re: "Change Username" script in database
p2k Offline
Member

Registered: 02/28/01
Posts: 145
Loc: .
You define them yourself when you add the code in manually. So one would type Viperhand where "Name_of_User" is and type Viperfoot where "New_Name_of_User" is.

Carnell! BAH! You let something do something for you rather than code it yourself, you get lazy and rusty! wink

p2k

Top
#127650 - 10/26/01 01:46 AM Re: "Change Username" script in database
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Well people find Carnell much easier then editing the files. tipsy

Top


Top Posters Last 30 Days
AllenAyres 18
Gizmo 10
sirdude 7
GEN 3
blaaskaak 2
willing 2
Philipp 2
Who's Online
0 Registered (), 32 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.x] ubb.links
by AllenAyres
Yesterday at 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
Team UBBDev Rides Again!
by AllenAyres
08/21/08 01:02 AM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
Custom island in the middle row
by Kevin H
08/12/08 05:24 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks