View Full Version : [Release] Show users ip on forum home [for gaming boards]
Hack: User ip on forumhome
What it dose: When a user is logged in it shows their current ip on the forums home page right after 'Welcome back 'username here'.
Why install?
If you run a gaming board this can be useful to your users if they run servers.
Tony G
11-18-2002, 08:23 AM
Nice mod, I remember this one for another software. ;)
[JAB] Ben
11-25-2002, 07:05 PM
Ben]I run a vBulletin forum for a Gaming Community.
I tried your mod and the mod for the drop down menu to select a style but both are not working.
For the IP, I only see "Welcome back, [JAB] Ben your ip is " without an IP and without the menu.
I followed your instruction to the letter.
I run a vBulletin v2.2.2 over a FreeBSD, running a MySQL engine.
Maybe it's because it's not up to date? (2.2.9)
Thank you! :)
filburt1
11-25-2002, 07:09 PM
If his doesn't work, try this:
add to phpinclude:
$currentip = $_SERVER['REMOTE_ADDR'];
Then use $currentip instead of $bbuserinfo[ipaddress]. It might be because you're using an old version, yes.
Its the verson, it was tested and ran fine on 2.2.8 and 2.2.9 RC.
imported_TMG1
11-29-2002, 08:15 PM
then what would $bankuser[bankval] on a old vb version?
filburt1
11-29-2002, 08:20 PM
Huh? :confused:
imported_TMG1
11-29-2002, 08:36 PM
I want to show the persons cash in the bank the same way as the ip but its not working heh.
Rufus69
11-29-2002, 08:37 PM
O_o I dont think this has anything to do with this mod...
filburt1
11-29-2002, 08:39 PM
Right, it's a hack.
imported_TMG1
11-29-2002, 08:55 PM
naw it has to do with the forumhome template
Rufus69
11-29-2002, 08:56 PM
and a hack..
imported_TMG1
11-29-2002, 08:58 PM
its like showing money on your forum home im talking templates
filburt1
11-29-2002, 09:02 PM
There is no bank feature standard in vB. It's a hack.
On an unrelated note why are you running such an old version of vB. Anything before 2.2.8 has a critical XSS bug.
imported_TMG1
11-29-2002, 09:04 PM
so why are people coming out with quick reply stuff on these boards then hmmm?
filburt1
11-29-2002, 09:16 PM
Quick Reply can be in mod form. I did it 100% myself with just template changes at my boards, so the hack isn't needed.
imported_TMG1
11-29-2002, 09:30 PM
i dont care people release **** for quick reply and thats ok but a simple money on your forum home cant be told! pretty gay.
Rufus69
11-29-2002, 09:31 PM
....
goto www.vbulletin.org ...
[JAB] Ben
12-03-2002, 03:24 PM
Ben]Thanks for the replies everyone...
I will get my Host to update our version to 2.2.8 at least...
If it's working, I will tell you guys soon! :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.