View Full Version : In the forums - Member.php link
Chris M
08-04-2002, 07:29 PM
If you dont understand, let me explain...
If you go to the General Hacking Discussion Forum, and look who posted a thread, it will say the thread title, and then a username...
Where is the template that controls where the username links to?
Satan
Xenon
08-04-2002, 07:43 PM
forumdisplaybit
Chris M
08-04-2002, 07:47 PM
Cheers:)
Now...
How would I change it to goto :
../forums/member.php?s=&action=getinfo&userid=$userid
Or wherever it goes...
??
Satan
Xenon
08-04-2002, 08:24 PM
you cannot change that in the template, hacking is needet:
this is the block you need to change in forumdisplay.php:
if ($thread['postuserid']) {
$thread['postedby'] = "<a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]\">$thread[postusername]</a>";
} else {
$thread['postedby'] = $thread[postusername];
}
Chris M
08-04-2002, 09:11 PM
Thanks:)
Satan
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.