DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • July 19, 2018, 02:16:09 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Mega User Flag  (Read 430 times)
0 Members and 1 Guest are viewing this topic.
TGTarheel
Codemeister
****
Offline Offline

Posts: 452


View Profile
« on: May 01, 2018, 08:12:09 AM »

OK, question....how do you give yourself back the Mega User Flag if you took it away?

I thought the main admin character would be able to do this??

But now I can't do it.

What I was trying to do was to add a new Superuser Flag for Screenreader Users - thus opening certain accessibility features, and making it a global setting only Admin could set.

I was not able to set the flag after I created it.

So, brilliant me took away the Mega User flag from myself, figuring then I could give it back...and then would be able to set the new flag I had created.  Problem is now I can't gve myself back the mega user flag.

This is only on my test site.

I went into PHP MyAdmin to see if there was an easy way to do this, and I don't see it.
Logged
Sunday
Codemeister
****
Offline Offline

Posts: 395


So meme'd up.


View Profile
« Reply #1 on: May 01, 2018, 09:07:49 AM »

Given that you are the acctid of 1, you could use the following SQL statement through PHPMyAdmin. It will give you every flag besides translation tool, if I recall correctly.

Code:
UPDATE accounts SET superuser = 112984063 WHERE acctid = 1
Logged

Slowly progressing fork with PHP 7 support: https://github.com/stephenKise/Legend-of-the-Green-Dragon
Cheap VPS Hosting (10$ credit!): https://m.do.co/c/acde75b086c5
TGTarheel
Codemeister
****
Offline Offline

Posts: 452


View Profile
« Reply #2 on: May 01, 2018, 09:18:04 AM »

Given that you are the acctid of 1, you could use the following SQL statement through PHPMyAdmin. It will give you every flag besides translation tool, if I recall correctly.

Code:
UPDATE accounts SET superuser = 112984063 WHERE acctid = 1

Could I just manually change it?

Did it, thanks.

Now...would there be a way...to be able to do what I was originally TRYING to do...to be able to set a flag I, myself do not possess vis a vis screenreader usage?
Trying to find a way to increase accessibility for screenreader users without allowing non-screenreader users to use it to cheat things.
« Last Edit: May 01, 2018, 09:26:04 AM by TGTarheel » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
32 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search