Translate
Sub Menu
Links Menu
Online Users

In total there are 71 users online :: 2 registered, 0 hidden and 69 guests

Most users ever online was 372 on Thu May 09, 2019 3:50 am

Registered users: Bing [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

very basic help needed - editing a file

Any topics related to phpBB (non-IntegraMOD related)

Moderator: Integra Moderator

very basic help needed - editing a file

PostAuthor: rrswife » Mon Mar 14, 2011 10:06 am

I need to change the Board Founder
"I" am currently the board founder --- but, I'm handing the forum over to one of the other admins... and I need his account to be "board founder" and my account to be just a regular member.

I found the editing script here --- what files to go to and what to change... It's my understanding I basically need to go to the right file in the database and change the user_id from mine to his.

When I get to that file and find the spot to change the user_id number, I cannot just type and change it.
It's been way too long since I messed with any of this - and I'm very very much a newb... extremely limited knowledge about phpBB, html, etc....

How do I edit the file?

Can someone give me some steps? ....I have notepad... and I can copy the info from that file to notepad and make the change... but, how do I get the changed info saved to the database?

(I know this is a realllllly stupid/basic question.... so thanks in advance for your patience.... if it matters - it's phpBB 2.0.23 / IntegraMod 141)

rrswife
Newbie
Newbie
 
Posts: 7
Joined: Mon Mar 14, 2011 9:54 am

Re: very basic help needed - editing a file

PostAuthor: Helter » Tue Mar 15, 2011 3:28 am

not a stupid question at all.
First you need to make him an admin.
Then find his user id#
Your user id is #2 if your the board founder.
Using phpmyadmin ( you should have a link to this in your CPanel or Plesk ) browse through the database table "phpbb_users" until you find his user id.
Then you'll edit the file "forum root/profilcp/functions_profile.php
FIND
Code: Select all
      $res = USER;
      if ( ($userdata['user_level'] == ADMIN) && ($userdata['user_id'] == 2) )


change the "2" to his user id. Thats all there is to it.

if his user id is 47 then the code will look like this
Code: Select all
      $res = USER;
      if ( ($userdata['user_level'] == ADMIN) && ($userdata['user_id'] == 47) )

or you can both be founders by replacing the code with this
Code: Select all
      $res = USER;
      if ( ($userdata['user_level'] == ADMIN) && ($userdata['user_id'] == 2) || ($userdata['user_level'] == ADMIN) && ($userdata['user_id'] == 47) )

you can edit this file using either an ftp client such as the free program "filezilla" if you know your ftp login info, or you can use the built in file editor in your web hosting CPanel or Plesk
If you cant figure it out Private Message me your website control panel login info and ill do it for you. If you have CPanel it will only take a minute. Plesk may take 5 minutes. I can also make you both founders if you wish so you wont completely loose control of the site <img>
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: very basic help needed - editing a file

PostAuthor: rrswife » Tue Mar 15, 2011 2:26 pm

Thank you!!!!!!!!!!!! Ignore my PM to you ----- your instructions helped and I did it all by myself (so proud) haha!

<img> thanks a ton!

rrswife
Newbie
Newbie
 
Posts: 7
Joined: Mon Mar 14, 2011 9:54 am

Re: very basic help needed - editing a file

PostAuthor: rrswife » Tue Mar 15, 2011 6:25 pm

HHHmmm.... I thought I had it... but, we still have a problem.
Making the above code change DID change my username to orange (admin) and the new owner is now red (board founder) on the forum index and when posts are made. However --- in the box on the left margin that says "who is online" I am still red and he is still orange.... and We cannot change my account from admin to "user". It says we are not allowed to make that change.

I am assuming I am still listed as board founder somewhere else??? Is there another file to change?

(I'm also the one that is still getting the private messages and emails concerning any 'alerts' about the forum)

any ideas that I can try? Thanks!!! :) thanks

rrswife
Newbie
Newbie
 
Posts: 7
Joined: Mon Mar 14, 2011 9:54 am

Re: very basic help needed - editing a file

PostAuthor: Helter » Wed Mar 16, 2011 1:16 am

you should be able to set your default usergroup to "registered users". That will change your color to the normal registered user color.
You can also go to acp/Redirect Admin PM's and set this to his username so he will get the administration pm's
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: very basic help needed - editing a file

PostAuthor: rrswife » Wed Mar 16, 2011 7:11 am

I get this:

Sorry, you're not authorized to view/change these settings.

(I set up a generic admin acct... I log in as the generic admin and try to change my real account from admin to "user" and I get the above message)

rrswife
Newbie
Newbie
 
Posts: 7
Joined: Mon Mar 14, 2011 9:54 am

Re: very basic help needed - editing a file

PostAuthor: Helter » Thu Mar 17, 2011 1:26 am

that is because only a founder can alter another founder account.
youll probably have to alter your account via your new founders account
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: very basic help needed - editing a file

PostAuthor: rrswife » Thu Mar 17, 2011 6:17 am

"HelterSkelter" wrote:that is because only a founder can alter another founder account.
youll probably have to alter your account via your new founders account



We tried that... the new founder gets the same "not allowed" message that I get.
"some where" I must still have a setting that needs changed...

rrswife
Newbie
Newbie
 
Posts: 7
Joined: Mon Mar 14, 2011 9:54 am


Return to phpBB Related Topics

Who is online

Registered users: Bing [Bot], Majestic-12 [Bot]

cron