![]() |
Ugh.... vB 3.6.4 already comes with this built in.
So am I overwriting whats in 3.6.4? I see a similar code EX BELOW: ONE THAT COMES WITH VB 3.6.4 Code:
/** Code:
/* |
I know what's built in :) If you want to use this then follow the instructions.
|
<a href="http://www.vbulletin.com/forum/showthread.php?p=1260425#post1260425" target="_blank">http://www.vbulletin.com/forum/showt...25#post1260425</a>
Whole site crashed... after doing those specific edits to class_core.php |
That error has nothing to do with this mod, or any edits to class_core.php (as you proved yourself by uploading the original). That is a basic mysql connection error meaning the database/user/password in your config.php is being rejected by the server.
|
How can i make it hide for Moderators ??
Thanks |
Quote:
As soon after.. i edited the class_core.php with the hack the site had a DB error. I checked the sites email and it said it was from class_core.php Line 237 (i think thats the number..) IM NOT KNOCKING YOUR HACKS.. I just found it...rather..funny..thats all.. This is a great hack and you make good hacks that ive seen.. but hopefully you understood to a point were I came from seeing I didnt understand why that specific file I edited with the hack happened to be the same one throwing the site of or whatever. Thanks Paul :) |
I don't remember which mod it was, but after installing one and editing some file or another my site went down (I just got a white page). Turned out I had left a single bracket out when making the edits. Are you positive you made all your edits 100% correctly? Those darn php files are so picky. ;)
|
Hi Paul,
Thank you for this addon. The proxy is using the following HTTP HEADER X-Remote-Addr May i know how do i edit your script? Thank you Edy |
As far as I can tell, X-Remote-Addr is not the ip address of the client, but the ip address of the proxy server, therefore it is not much use in this code as you already know the proxy server ip. This is designed to pick out the headers giving the client ip.
|
Paul... youll be happier to know that this hack did indeed install properly this time.. we did alot of troubleshooting and it was infact our password being the same as our WHM's which infact was the server host's fault as we were misinformed.
So... needless to say.. great hack as you know..! :) I assumed wrong at the time of the install (long story).. just keep making good hacks!. peace. |
Glad you sorted it. :)
|
Where do i find class_core.php?
|
Quote:
forum root/includes/class_core.php |
Shaz found it on the server Thanks
I did all edits got this error Fatal error: Call to undefined function: fetch_real_ip() in /home/forum/includes/class_core.php on line 1569 vBulletin version 3.6.4 I did step 1, 2, 4, 5 |
Then you need to check what you did wrong, step 1 adds the function code.
|
tried from start again this time
Parse error: syntax error, unexpected $end in /home/forum/includes/class_core.php on line 1515 |
In vB 3.6.4 edited new class_core.php 1,2,4 & 5 steps. No errors but don't work, don't detect proxys IP.
Best regards |
to make an update from 2.23 what a i need?
|
Quote:
Quote:
Quote:
None of you have marked this as installed, please do this if you have further questions. |
Using vb 3.6.4 here and trying to install this.
Step 3 tells to find in class_core.php: Code:
// define session constants Code:
// define session constants Code:
if (!defined('SESSION_IDHASH')) |
Quote:
Quote:
|
Sorry, my fault. Got to have some sleep one of these days.
Thank you ;) |
Quote:
|
*click* (installed)
Tells you loads about the anonymity of most proxies. I suppose that there will be proxies for which it doesn't work? Great hack, thank you. |
Installed , thanks Paul :)
|
Quote:
|
I just noticed that the version of the current XML file (v2.25) outdates the one I have installed on my site (from when I first installed the mod (v2.21)). Should I replace the old one with the new one? If so, how would I go about doing that? Should I uninstall the old one first, or just upload and overwrite?
I'm running 3.6.4 if that matters, and yes, I have already upgraded my class_core.php |
Just import the new xml via the product manager.
There are a couple of minor bug fixes between 2.21 and 2.25 so it's worth updating it. |
Thanks.
|
Thanks for this hack!
I'm having trouble lately with some idiot who keeps making accounts since he has been banned. >.< |
I asked on vbulletin-germany.com about the reason why my database error emails don't contain the Referrer but instead the string "REFERRER".
example: Quote:
|
excellent hack.
installed with ease |
MR. Paul M the Greatest admin, The gr8test vb.Hacker & the best Supporter
Your Hacks .. are always great ones :cool: please accept our Deep Thanks Mr. Admin Q: The Real IP Address .. will it be stored in DB for any future use? . . . . Thank you Paul. |
Quote:
|
Quote:
|
Nope, this does not touch the referrer variable.
|
I get:
XML Error: not well-formed (invalid token) at Line 1 Whats the problem |
It would help if you actually said what what you are doing to get that error.
If you are importing the product, then the xml file you have is corrupt, redownload and unzip it. |
OK I feel like a total idiot, and I appologize if this has been asked before or if the answer is so simple my 6 year old could do it, but I need help here. I downloaded the zip file, I looked at the instructions, I tried to find the class_core.php but I don't know where or how to find this. I used the ctrl + F feature to find the text but it can't find it, I saw on here that it was in lines 1550 or something but when I opened the xml document in my html-kit there were only 150 lines so now I am so confused it's pathetic....can anyone help an idiot out and explain this all to me? I would really appreciate it!
|
class_core.php is a default vbulletin file, in the includes folder.
|
All times are GMT. The time now is 01:59 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:
|