• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 im admin and my ip got banned

Senpai

Formerly RamzanHD
#3
I think you're running CloudFlare. This can make it appear as though all visitors have the same IP address (CloudFlare's IP address). At a guess, you haven't implemented anything that would make XF see the original visitor's IP address.

There's a support guide on CloudFlare's site about this:
https://support.cloudflare.com/hc/e...o-I-restore-original-visitor-IP-with-XenForo-
no but i turned on VPS right then tried logging in then it said incorrect password when its correct
 

Chris D

XenForo developer
Staff member
#9
Restore from a recent backup, then, then log in to your account and change your password then enable two step authentication on your account. Also change all your other passwords just in case. I recommend using a different password for each account. Hopefully you're not using the same password on your forum as you are on CloudFlare or similar.
 

Senpai

Formerly RamzanHD
#10
Restore from a recent backup, then, then log in to your account and change your password then enable two step authentication on your account. Also change all your other passwords just in case. I recommend using a different password for each account. Hopefully you're not using the same password on your forum as you are on CloudFlare or similar.
i got another admin if i loggin with that how can i change super admins password
 

Chris D

XenForo developer
Staff member
#11
Edit config.php, stop the stolen admin account from being a super administrator, make the other admin account a super administrator, then you can edit the stolen admin account in the Admin CP.
 

Brad P

Active member
#15
$config['superAdmins'] = '1';

and add the User ID number at the end as shown below:-
admin5.png

Save the file and reupload via your FTP (overwriting the existing file).
yeah but he toke permissions of him
Not sure what you mean?

Your config.php is located on the server which is located in the library directory. Locate the line which reads:-

$config['superAdmins'] = '1';
 

Senpai

Formerly RamzanHD
#16
$config['superAdmins'] = '1';

and add the User ID number at the end as shown below:-
admin5.png

Save the file and reupload via your FTP (overwriting the existing file).

Not sure what you mean?

Your config.php is located on the server which is located in the library directory. Locate the line which reads:-

$config['superAdmins'] = '1';
i know that but the attacker toke permissionsof my friend whos admin in my site so he cant see anything iin admincp will it still work if i put his id
 

Brad P

Active member
#17
i know that but the attacker toke permissionsof my friend whos admin in my site so he cant see anything iin admincp will it still work if i put his id
does he have access to anything on the backend?

Tbh i would go down the route of what Chris said, go with a backup