![]() |
Would also suggest renaming your admincp and modcp.
|
Quote:
(plugins are disabled). |
This may work.
Open your config.php and below<?php add this line: PHP Code:
PHP Code:
|
THANKS Ozzy :up:
I was able to get in using the "return;" function :) |
What return function?
|
I'll send you a PM ;)
|
Quote:
I see now you have access, curious to know what the return function is too.. |
Quote:
Quote:
|
Quote:
|
What I posted in post #83 above will allow you to disable the product and get into the ACP should you get locked out by this product. :)
|
Just adding the genereric disable hooks define to your config.php would also allow you back in.
PHP Code:
|
Installed.
|
Quote:
There is however a slim, coincidental hole with this idea as it will disable all the spam stuff, the protection stuff and everything else for the brief period where one has to do the changes in config.php and then gain access again to add another IP.. There is a vulnerability here... I like the password idea. |
Quote:
So the way to disable it is the way I said in post #83 and as theOP described in post #2 |
Quote:
Quote:
In that case, when the inevitable day comes where I have to use them, I know they are there...:) I guess next I have to protect the includes folder.. |
Quote:
|
Quote:
|
I had an email..
A user has logged into the AdminCP using an unauthorized IP address. Ok, I had to check but it doesn't seem to be the case.. Perhaps re-wording the mail to A user has attempted to log into the AdminCP using an unauthorized IP address. I will try to do this myself... EDIT: It was easy, it is all in languages and phrases...Shall see if it shows up the next time...:up: |
Mine is dynamic Ip so how does this mod help me?
|
Could someone please help me with instructions on how to install this? I'd really like to add this mod as I've been hacked twice in the last 2 weeks.
Thanks very much. |
Quote:
Go to your admincP/Plugin and Products/Manage Products/Add/Import Product. :confused: |
Quote:
Awesome! |
I just tried to set it up with my own IP and everything and it's blocked me from the ACP!
Sorry, you don't have permission to access the administrative controls on this page. If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel. |
This may work.
Open your config.php and below<?php add this line: PHP Code:
PHP Code:
|
Quote:
I searched the vb.org forums and apparently it's in forum/includes, but I don't know where to find that, either. I couldn't find it in cPanel. I use FileZilla - it should be in there, right? :up: |
Correct, it will be in what ever folder your forums resides in, so something like this, /public_html/forums/includes
|
Quote:
|
Quote:
|
Quote:
Any more tips? I could certainly use them. :D Thanks, man. I tried the "disbale hooks" code that was in here as well, and that didn't work either. Ahhhhhh! haha |
Quote:
If you put back the original then the edited config.php should be the one to replace the original.:confused: |
Yeah there was no need to load the original config file, just remove the line you added.
|
Oh, man. I don't know what I've done.
Sorry to bother you, fellas, and thanks for hitting me back. Whatever happened the first time, it didn't work. Should I just try and repeat the process, do you think? |
Repeat the process if it is less confusing.. Save the edited version with the
Code:
define('CPFIREWALLDISABLEIPDENY', true); One more thing, in options/settings/AdminCP firewall Allowed IP's Enter the IP's that are allowed to access the AdminCP. These can be single IP's or CIDR ranges. One IP or range per line. Have you included your IP? |
Quote:
I just added the original "disable hooks" code and got this: Parse error: syntax error, unexpected '<' in /home/obglobal/public_html/includes/config.php on line 206. Which is what I got the first time. Thanks a lot for getting back to me, I appreciate it very much. |
I got it! Oh, thank Christ!
I actually had to delete the <? at the end of the config.php. Any opinions on that? Thanks so much, dudes, I was sh*tting bricks for a while there. |
Currently mine looks like this at the very top
Code:
<?php I have a fixed IP for the moment, perhaps now I should go and try from another IP to see if I get the same errors as you...? Got's me thinking brother... |
Quote:
|
Quote:
Man, I think I just lost half a dozen years off my life. Anyway, this mod is awesome, but I need a fixed IP for it to work as intended, is that right? |
Quote:
So I just deleted that and the question mark next to it and put the code under the <? at the top of the page instead. Pot luck, undeniably. I went back in and deleted the code and all's swell. :up: |
Fixed IP or any IP that is recorded in the
Allowed IP's Enter the IP's that are allowed to access the AdminCP. These can be single IP's or CIDR ranges. One IP or range per line. I am guessing here.... |
All times are GMT. The time now is 12:53 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:
|