X7 Chat Support Board
Welcome, Guest. Please login or register.
July 31, 2010, 07:32:48 PM

Login with username, password and session length
Search:     Advanced search
X7 Chat Version 3.0.0 Alpha 2 is now available (http://x7chat.com/support_forum/index.php?topic=3198.msg11497#new).
13036 Posts in 3760 Topics by 66534 Members
Latest Member: magdemis1945
* Home Help Search Login Register
+  X7 Chat Support Board
|-+  Version 1 Archive
| |-+  [Version 1] Help
| | |-+  FAQ #2
« previous next »
Pages: [1] Reply Send this topic Print
Author Topic: FAQ #2  (Read 13288 times)
E-Oreo
Administrator
Member
*****
Offline Offline

Posts: 3710


View Profile Email
« on: August 13, 2004, 07:26:30 PM »
Reply with quote

There are 2 ways to restore your admin powers if you have taken them away from yourself.  The first requires FTP access and the second requires access to the MySql database.

Before doing either of these make sure that you have an account already registered, the user account must exist in the database before you can give it admin access.  If your chatroom is set to automatically expire user accounts make sure that you have registered one within the expiration time so that it still exists in the database.

Method 1) We have created a special script that will restore you admin powers.  Download it here: http://x7chat.com/readminme.zip (http://x7chat.com/readminme.zip) and unzip it.  Inside is one file called 'readminme.php'.  Upload this file into your X7 Chat folder and then visit it in your web browser.  It will ask you for your username, enter it, then click submit and it will give your admin powers back.  DELETE THE FILE "readminme.php" WHEN YOU ARE FINISHED!!  Not doing so will allow anyone who wants it to get Admin powers in your chat room.



Method 2) You will need to edit the users table in the X7 Chat database.  Find the row that has your username in the 'username' column and change the level column in that row to a value of '5'.  This can be done with the following SQL statement:
Code:
UPDATE {prefix}users SET level='5' WHERE username='{username}'
You will need to replace {prefix} with your table prefix and {username} with your username.
« Last Edit: September 14, 2006, 04:30:38 PM by E-Oreo » Report to moderator   Logged
WebmasterDan
Guest
« Reply #1 on: December 18, 2004, 12:08:57 PM »
Reply with quote

E-Oreo,

I tried what you suggested in Method two of the link you provided, but when I click on the [Admin Panel] and I get an Error message stating "You do not have access to this section of the admin control panel."

Whatelse can I do?
Report to moderator   Logged
Untamed
Member
*
Offline Offline

Posts: 2


View Profile Email
« Reply #2 on: January 26, 2005, 02:31:39 PM »
Reply with quote

I followed the instructions as well as still have NO admin rights for the Webmaster nor the two people to whom admin rights should be assigned.

Any more suggestions please? huh

Sign me;
Stumped
Report to moderator   Logged
E-Oreo
Administrator
Member
*****
Offline Offline

Posts: 3710


View Profile Email
« Reply #3 on: January 26, 2005, 04:26:45 PM »
Reply with quote

If the user level for your account is set to 5 in the database then you will have admin rights.  Both methods will work unless your browser is cacheing it or the database you are opperating on is not the one being used by chat.

Something odd must be going on, because it isn't something that can 'break'.  If the user level is set to 5 then the problem is something else, probably not related to the script.
Report to moderator   Logged
Untamed
Member
*
Offline Offline

Posts: 2


View Profile Email
« Reply #4 on: January 31, 2005, 08:44:45 PM »
Reply with quote

Thanks for the help!

I seriously think there is a browser cache issue - when I log in on IE (as the Admin) it tells me that I don't have Admin rights (but when checked in mySQL, it clearly shows me there as level 5.).

Any ideas on how to clear the cache?  I know that sounds like a dumb question but obviously what I'm doing isn't working so what am I missing (besides the nose on my face because it's probably that obvious lol)? smiley   Deleting my temp files is not cutting the mustard.

Also, why does everyone keep having to register?  It's as though their registrations never existed... is this supposed to happen?

Thanks again,
Untamed
« Last Edit: January 31, 2005, 09:25:48 PM by Untamed » Report to moderator   Logged
E-Oreo
Administrator
Member
*****
Offline Offline

Posts: 3710


View Profile Email
« Reply #5 on: February 02, 2005, 05:48:11 PM »
Reply with quote

By default registrations expire after 10 minutes, this can be changed in the admin panel.

Make sure that you are looking at the correct database, if you have X7 Chat installed more then once you may be looking at the wrong database.

You can clear your cache by giong to Tools -> Internet Options -> Delete FIles (Under the Temporary internet Files box)
Report to moderator   Logged
shaesmith
Member
*
Offline Offline

Posts: 1


View Profile Email
« Reply #6 on: June 01, 2005, 12:14:02 AM »
Reply with quote

None of these options work for me... I am a V-deck user... I don't use MySql or FTP.... I need to regain my admin rights ASAP.  Please help me.  
Report to moderator   Logged
jackie
Guest
« Reply #7 on: June 14, 2005, 07:14:55 PM »
Reply with quote

Hi. Im having same prob. when I try to get to my admin panel I get message telling me I dont have admin rights. my user levels are set to 5. I tried the script fix. still nothing. I use vdeck too and I cant get to it from there either. it rejects my username and password. It will let me in to edit my bullitin board but not the chat and this reply tells me Im unregistered and Im not, I am registered
Report to moderator   Logged
Guest
Guest
« Reply #8 on: July 20, 2005, 01:19:41 AM »
Reply with quote

hmmm.
Report to moderator   Logged
lyon
Guest
« Reply #9 on: July 20, 2005, 01:23:49 AM »
Reply with quote

whoops.

well, at the risk of confusing the issue, i figured out what i had to do in the vDeck. i was getting the same problem (permission denied to access the admin panel for X7Chat) so i started reading everything i could and looking through the vDeck admin capabilities.

what seems to be happening is that although you can set an admin name and password during the "install", it doesn't seem to be translating correctly. since i already had created admin database accounts for my forums and whatnot, i went into the vDeck > Databases > Setup > Edit (the chat database) and then gave my other admin accounts access to X7 as administrators.

worked like pie. let me know if it works for anyone else.

jady_lyon@hotmail.com
Report to moderator   Logged
extremegl
Member
*
Offline Offline

Posts: 4


View Profile Email
« Reply #10 on: August 23, 2005, 06:34:55 PM »
Reply with quote

Please help me, the file to download above in the first post isn't there. Great.
Report to moderator   Logged
extremegl
Member
*
Offline Offline

Posts: 4


View Profile Email
« Reply #11 on: August 23, 2005, 07:01:11 PM »
Reply with quote

Fxed.  cool
Report to moderator   Logged
E-Oreo
Administrator
Member
*****
Offline Offline

Posts: 3710


View Profile Email
« Reply #12 on: August 23, 2005, 08:04:09 PM »
Reply with quote

The link has been restored.
Report to moderator   Logged
saeed
Guest


Email
« Reply #13 on: June 27, 2006, 02:38:21 AM »
Reply with quote

E-Oreo,

I tried what you suggested in Method two of the link you provided, but when I click on the [Admin Panel] and I get an Error message stating "You do not have access to this section of the admin control panel."

Whatelse can I do?
Report to moderator   Logged
Pages: [1] Reply Send this topic Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.125 seconds with 17 queries.