Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
buildingmaster01
Regular
Regular



Joined: Dec 11, 2004
Posts: 68
Location: Indiana, USA

PostPosted: Fri Apr 01, 2005 10:04 pm Reply with quote

Two problems. I forget my password to phpMyChat. Does anyone know how I can get it back? I looked at the MySQL database, but the password has been encrypted. I tried editing one of my chat accounts to another encrypted password (that I know), but it isn't working. Anyone know how to edit it using phpmyadmin/unencrypt it?

Secondly, I integrated my PHPNuke site with phpMyChat. My problem there is the field to type in your user name in phpMyChat is only 8 characters long, and my site user name is 10. I need to lengthen that field. I can see the integration has worked, but I just can't type all my name in the field.

PhpMyChat doesn't have a forget password link, but my old accounts are only site's old email addresses. I might be able to update those though through phpmyadmin.
 
View user's profile Send private message Yahoo Messenger MSN Messenger
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Apr 02, 2005 9:16 am Reply with quote

I don't know the product, but to change your password using phpMyAdmin you need to know the encryption scheme. Let's assume it's MD5. So, you would type in your new password and there should be a dropdown box beside it where you can select MD5. When you save it, it will be encrypted with MD5. This would be the same way you directly change your nuke admin/user password.

As to the lengthening, you might try checking the field length in phpMyAdmin. If it says 8, change it to 10. If that doesn't completely fix it, then you will just have to find the code that generates the input form and the user name check fields.
 
View user's profile Send private message
buildingmaster01







PostPosted: Sat Apr 02, 2005 10:16 am Reply with quote

Thank you, I fixed the passwords. I can't seem to find the length. It is at 10 now, and I need it to 12 (I actually counted it this time). Where would I look for the field's length?
 
Raven







PostPosted: Sat Apr 02, 2005 10:33 am Reply with quote

Well, as I said, look at the table schema in phpMyAdmin and verify that it is not limited there. Then, look at what form/file is in the url where it requests your username. View the source code in the browser to see if there is a maxlength attribute on the field. If so, try to find where that logic is, in the actual php file and modify it.
 
buildingmaster01







PostPosted: Sat Apr 02, 2005 10:53 am Reply with quote

Found it! Thank you again! It was in chat/lib/index.lib.php3.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©