[Trick] Administrate Yourself

Started by Matthew K., March 09, 2011, 02:01:05 AM

Previous topic - Next topic

Shadow Queen

When this happen? I can just log into the cpanel and upload the file. whatever this topic said to do?

Matthew K.

What do you mean? Not a very clear post.
Quote from: Shadow Queen on September 13, 2011, 02:11:28 PM
When this happen? I can just log into the cpanel and upload the file. whatever this topic said to do?

Branko.

Quote from: Shadow Queen on September 13, 2011, 02:11:28 PM
When this happen? I can just log into the cpanel and upload the file. whatever this topic said to do?
Labradoodle-360 is always precise when explaining something....   ;D  Read the first post again
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Shadow Queen

I mean when this happen to the main account holder of the forum. You just upload the file to the same place as the SSI.php file?

Sorry, It's was my faulth about the unclear post I made :)

Matthew K.

When anyone who has the database password needs their account administrated, they can use this file in the same directory as SSI.php.

Shadow Queen

Oh ok.

When that happen I just do what I needed to do.

And the main account holder become admin.

Neat tick

~Dragon~

Please do not PM or email, Thank respond please post fast to SMF!

cicka

Sorry to bump this old topic but I wanted to say thank you to Labradoodle-360 for this script. I learned a few things simply by reading the code.

Matthew K.

No problem, and wow, I take that as a big compliment from you, thank you for the kind words! :)

cicka

Quote from: Labradoodle-360 on August 11, 2012, 01:09:33 PM
No problem, and wow, I take that as a big compliment from you, thank you for the kind words! :)

You are very welcome :)

DEANO3528

REally sorry to bump this after so long, but I've read this and not being a super-whizz with the tech stuff, I wanted to ask a question:
Does this trick only work once administration rights have been removed/lost?
I have uploaded it to the correct directory (same as SSI.php) but nothing happened. So I wondered if I don't actually install it unless I already lost admin rights?
Sorry again for the idiot question and bump.

Matthew K.

Not a problem. This is in case you lose your administration rights. It just modifies your id_group in the database automatically for you.

DEANO3528

Ok many thanks for that. I will delete until it might be needed.
Really wish SMF would auto-protect #1 member, but hey-ho.

Arantor

Protect it against what, exactly? SMF won't let you remove group 1 from any member unless the person doing it is also in group 1, and it won't let you remove group 1 from a user if that user is the only group 1 user. What's left to protect?

On the other hand, what happens if you leave the forum and sell it on? If user 1 is auto protected, that option becomes impossible.

Advertisement: