![]() |
Can someone help me with the user.php file?
I am an Admin at ThePhora.com, and I have a problem...
I am trying to edit the user.php file to restrict access to my profile... We have 2 Nazi Administrators who insist on editing my profile, and I want to be able to block them from accessing my profile... I tried demoting them, but another Admin re-instated them, and since then they keep doing it... Can you show me how to or help me to edit the user.php file to stop them? Thanks... Satan |
*BUMP*
This is a really big problem... Satan |
why dont you just remove their admin rights
|
I told you that...
Because another Admin keeps adding them... Satan |
Then remove that Admin's rights as well.
|
Lol...
If I did that, there would only be two left... I think if someone could help me edit the user.php file, then I could deny them access, as they dont have FTP access... Satan |
i thought you meant nazi as in +++++++, but after i visited the site i realized you were speaking literaly.
|
Lol...
I meant it in both senses of the term... Their names are Wehrmacht and LaundryBob... We have a mixture of Aryans, Socialists, Religious and Gaming groups of people, and we all discuss and make good conversation... But If anyone can help... Satan |
So can anyone help?
Satan |
Using the basis of Viewing the Admin Log...
Would something like : $canviewuserid=13 = "13"; $canpruneuser=13 = "13"; I am userid = 13... I am just theoretically suggesting something... Can you tell me if this would work? Satan |
Thats all in admin/config.php
I am going to try it, and post my results... Satan |
here's an idea. do something like:
Code:
if (($userid == "zz") && ($bbuserinfo[userid] == "xx" OR $bbuserinfo[userid] == "yy")) { it SHOULD work |
Thanks...
I shall try that, as my idea failed:) Satan |
No it didnt work...
I tested it with a fake admin account of user id 86... Satan |
I am going to try editing a different file...
I have an idea that might make it work:) Satan |
@nicksaunders - I would never say this online for the fear of being mistaken as Gay, but I love you for that!!!!!!!
Thanks ever so much... I tested it, and it comes up with : you do not have permission to access this page!!! Brilliant! Thank you... Satan |
Aha...
I have got another idea... If I wanted to restrict viewing to misc.php, how would I do that? Satan |
OK :
I tried Quote:
Satan |
If I cant stop them from doing it, can I somehow exempt myself from it?
Satan |
Then I tried this to exempt myself -
Quote:
|
I think I have the solution to that error...
Working on the Basis of what nicksaunders told me yesterday, I have developed this code which I think will block them from doing the user postcount update? Quote:
I believe this will work, though I have not tested it yet?I am going to test it with another account by editing the admin/misc.php file? I was wondering if there is any way to manipulate this, so that everyone else?s post count gets reset, apart from mine? Any ideas? Thanks in advance? Satan |
PHP Code:
|
Thanks...
You are a real help m8... Satan |
All times are GMT. The time now is 10:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|