PDA

View Full Version : [help] Need to know what this code was change dtoo? [/help]


Mathiau
01-24-2003, 01:24 PM
Hey all

a friend sent me an old hack, and it asks to find some code, but i can not find it in 2.2.9, so i assume it was changed

Does anyone know where to find this code in 2.2.9 - or what it may have been changed to?


##################
# SHOWTHREAD.php #
##################

FIND:

-----------------------------------------------

if ($post[ip]!="") {
if ($logip==2) {
eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_show")."\";");
}
if ($logip==1) {
eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_hidden")."\";");
}
if ($logip==0) {
$post[iplogged]="";
}
} else {
$post[iplogged]="";
}

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

-----------------------------------------------


all help is appreciated.!

Xenon
01-24-2003, 03:49 PM
it's not in showthread.php it's in functions.php

and i think it was always there, just the hack description was wrong..