Closed ghost closed 6 years ago
Just set is_admin = 1 in the mysql database on your user.
On Sun, Mar 11, 2018 at 5:48 AM, ash121121 notifications@github.com wrote:
Just wondering what steps you take to become a admin in this script? kind regards
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AlphaReign/www-php/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/ACnvZqZRQ2lPotgVVdmdCOeQzEUfB8tOks5tdQEJgaJpZM4SlpGa .
I registered but don't see such row in mysql
Do you have a users table?
On Sun, Mar 11, 2018 at 10:31 AM, ash121121 notifications@github.com wrote:
I registered but don't see such row in mysql
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AlphaReign/www-php/issues/8#issuecomment-372124028, or mute the thread https://github.com/notifications/unsubscribe-auth/ACnvZmLbA25llT74K83tOatplB496FJmks5tdUNigaJpZM4SlpGa .
ive attached an image
Add a column called is_admin that is a bit / Boolean column
On Sun, Mar 11, 2018 at 16:40 ash121121 notifications@github.com wrote:
[image: jg6t78] https://user-images.githubusercontent.com/21961112/37258788-da343b46-2574-11e8-9715-50b9bf644e05.jpg
ive attached an image
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AlphaReign/www-php/issues/8#issuecomment-372151918, or mute the thread https://github.com/notifications/unsubscribe-auth/ACnvZirEKjXY6nDfLSZJ0TV2SVS-pKq4ks5tdZnlgaJpZM4SlpGa .
Yep did that but I see no change to my account ?
What changes am i meant to see?
kind regards
You should be able to see the ability to update a torrent, or delete / block a torrent
On Mon, Mar 12, 2018 at 3:29 PM, ash121121 notifications@github.com wrote:
What changes am i meant to see?
kind regards
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AlphaReign/www-php/issues/8#issuecomment-372451794, or mute the thread https://github.com/notifications/unsubscribe-auth/ACnvZjYc-0OqVncb2tEC8VXRX87wJyJPks5tdtq3gaJpZM4SlpGa .
Nope afraid it remains the same as standard account :/
Sorry it seems i can see update button but not ability to delete?
It might be a report button. But the ability to update works means you should be admin
yup its the flag button sorry
Thanks mate
Just wondering what steps you take to become a admin in this script? kind regards