PDA

View Full Version : Make IP's public in only one forum?


CJPC
09-26-2003, 09:17 PM
Is there any way (yes i searched) to make IP's available to all our registered members, in just one forum?

Thx
CJ

Logician
09-27-2003, 02:28 PM
edit functions.php, find:

$post[message]=bbcodeparse($post[pagetext],$forum[forumid],$post[allowsmilie]);

before that add:


if ($forum[forumid]==X AND ($bbuserinfo[usergroupid]==2 OR $bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7))
{
eval("\$post[iplogged] = \"".gettemplate("postbit_ip_show")."\";");
}

Replace X with your forumid

CJPC
09-27-2003, 03:38 PM
Thanks ALOT!

It really helps us out (lots of rippers in our B/S/T) so we want to make there ip's public, so no one can rip!

Thanks again!
CJ