phpBB-TweakS
 
Advanced Search
   
 
Home Downloads FAQ Register FAQ Memberlist Usergroups Ranks
 
 

Please help us to develop!

 
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
         

phpBB-TweakS Forum Index phpBB Security Administrator is leaving my site
Display posts from previous:   
Half Thread Topic  Fully Thread Topic  Download Topic
      All times are GMT - 5 Hours  
Post new topic  Reply to topic

Thu Apr 13, 2006 12:22 pm
Author Message
Cool en_shua Cool
Amature TweakeR
Amature TweakeR


Joined: 20 Oct 2005
Posts: 10
Words Posted: 568
Average Post: 56.80


Post subject: Administrator is leaving my site Reply with quote

The initial admin who put together the site I run is leaving for a bit, and certainly doesn't want to be an admin any more. He wants his account demoted to a regular user. The problem is that whenever I try to demote his account in User Permissions of ACP, I get an error saying that I couldn't do that. So, I went into the DB and just changed his user_level. Well, now even when I go to User Management in ACP and try to change his password, I get the error "Sorry, you're not authorized to view/change these settings." So, I'm assuming that his account is protected because it was probably used during the initial install of phpBB Security.

What do I need to do to get things right again?

Thanks.
Post #1
      Back To Top  

Thu Apr 13, 2006 4:19 pm
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

admin/admin_users.php
admin/admin_ug_auth.php

Code:

#======================================================================= |
#==== Start: == phpBB Security ========================================= |
#==== v1.0.3 =========================================================== |
#====               
$owner = '2';

   if (isset($HTTP_POST_VARS['submit']))
      {   
      if ( ($user_id == $owner) && ($userdata['user_id'] != $owner) )
         message_die(GENERAL_ERROR, $lang['PS_admin_not_authed']);
      }
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |
#==== End: ==== phpBB Security ========================================= |   
#======================================================================= |


Thats why....
Post #2
      Back To Top  

Thu Apr 13, 2006 4:43 pm
Author Message
Cool en_shua Cool
Amature TweakeR
Amature TweakeR


Joined: 20 Oct 2005
Posts: 10
Words Posted: 568
Average Post: 56.80


Post subject: Reply with quote

I'm slow. Are you saying that I can't change his account settings? Is there anything that I can do to my account that will give me the permissions required?

Thanks.
Post #3
      Back To Top  

Thu Apr 13, 2006 4:45 pm
Author Message
Spinebuster
Support Team
Support Team


Joined: 21 Jan 2005
Posts: 413
Words Posted: 25,498
Average Post: 61.74


Post subject: Reply with quote

Change this to your user_id number.
Code:
$owner = '2';
Post #4
      Back To Top  

Thu Apr 13, 2006 5:06 pm
Author Message
Cool en_shua Cool
Amature TweakeR
Amature TweakeR


Joined: 20 Oct 2005
Posts: 10
Words Posted: 568
Average Post: 56.80


Post subject: Reply with quote

DOH! Laughing Should have seen that one. Thanks guys. I've change that part in both the files to my ID and was able to change his setting without a problem.

Thanks again.
Post #5
      Back To Top  

 
         

Post new topic  Reply to topic

phpBB-TweakS Forum Index phpBB Security Administrator is leaving my site
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


      Back To Top  

Page 1 of 1
Jump to:  
 
Protected by phpBB Security © phpBB-TweakS
phpBB Security Has Blocked 3,237 Exploit Attempts.

· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·

:: [ Load Time: 2.8 Seconds ] :: [ 29 Queries ] :: [ 3,602 Page(s) Viewed Today ] ::
:: [ Todays Queries: 107,947 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] ::
:: [ SQL Load: 61% Time: 1.7 ] :: [ PHP Load: 39% Time: 1.1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] ::
:: The server last rebooted 82 days, 2 hours, 24 minutes, 11 seconds ago. ::

The phpBB[Network]!
       
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004