showing user name in recent_comments() function - Printable Version +- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum) +-- Forum: My Category (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: showing user name in recent_comments() function (/showthread.php?tid=270) |
showing user name in recent_comments() function - Punktured - 08-03-2011 02:08 PM If you would like to show the username with the recent comments, or the username and date, replace this line with one of the two others provided: Code: $kategoriler=$kategoriler.'<li><a href="'.$root_url.$linki.'">'.substr(urldecode($row['comment']),0,60).'...</a></li>'; To show Username: Code: $kategoriler=$kategoriler.'<li>'.$row['adi'].'<br><a href="'.$root_url.$linki.'">'.substr(urldecode($row['comment']),0,60).'...</a></li>'; To show Username and date: Code: $kategoriler=$kategoriler.'<li>'.$row['adi'].'<br>'.$row['tarih'].'<br><a href="'.$root_url.$linki.'">'.substr(urldecode($row['comment']),0,60).'...</a></li>'; BE SURE TO CLEAR YOUR CACHE ONCE MAKING CHANGES |