i'm very surprised.. it's so simple..
(sorry for my english)
can u explain me why for the same effect i had do that in my older forum:
- in ShowThread.php :
find:
code :
$counter=0;
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
}
else {$postdone[$post[postid]]=1;}
$postbits .= getpostbit($post);
}
then insert after :
code :
$counter=0;
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
}
else {$postdone[$post[postid]]=1;}
find:
code :
$postbits .= getpostbit($post);
}
add after :
code :
//if user chahce contain something, so don't show the signature
if (isset($sigcache["$post[userid]"])) {$post[signature] = "";}
finaly to obtain that:
code :
$counter=0;
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
}
else {$postdone[$post[postid]]=1;}
//if user chahce contain something, so don't show the signature
if (isset($sigcache["$post[userid]"])) {$post[signature] = "";}
$postbits .= getpostbit($post);
}
hu... :speechless:
please explain for my brain...and knowlege.... lol
thanx
|