PDA

View Full Version : Simple request .. Show IP's in public in ONE forum


CJPC
03-30-2004, 11:01 PM
OK, i forget, but someone hooked me up with this for vB2.3.x, and now i need it for 3.0.0, but forget what it was!!!

Just need it to show the IP's in public for our BST forums

THX again!
CJ

CJPC
07-02-2004, 03:58 AM
Its old, but i needs it

BUMP (about 3 months overdue )

Modin
07-02-2004, 05:43 AM
here ya go mate

open up functions_showthread.php and find

if ($vboptions['logip'] == 2)
{
$show['ip'] = true;
eval('$post[\'iplogged\'] .= "' . fetch_template('postbit_ip') . '";');
}


change it to...


if ($vboptions['logip'] == 2 || $thread['forumid'] == XX)
{
$show['ip'] = true;
eval('$post[\'iplogged\'] .= "' . fetch_template('postbit_ip') . '";');
}


changing XX to the forum you want.


Haven't tested it yet, but I should work :)

CJPC
07-02-2004, 05:50 AM
Thx, works great!!

Once again, you guys bail me out, i gots a little tiny hack coming, w/ password protected forums and super mods (not really a hack, just a "remove this line", but good enough!)

Thx!
CJ

Modin
07-02-2004, 07:45 PM
your welcome :)