Quote:
04-14-03 at 09:10 PM Xelation said this in Post #183
hey zelda-king.. I know you posted some code above saying how to put a link to a users journal using $journal... j/w did you get that to work yet? I could really use that
|
Oh, you mean in profiles or memberlist? The modifications to have it in memberlist have been posted in this thread. For profiles we just pasted a load of code out of newreply.php or something so $journal would be compatible with member.php (to be honest I'm rusty on that procedure. It was long ago and it was my co-site founder that did that particular trick. He also edited journal.php so views wouldn't count if you were viewing your OWN journal).
For the journal code I recommend this in member.php;
Above
PHP Code:
// Get referrals
add
PHP Code:
//Get Journal
if($userinfo[journal]==1){
$journal = '<a href="journal.php?journalid='. $userinfo['userid'] .'&action=view">View Journal for '. $userinfo['username'] .'</a>';
}
else {
$journal = ''. $userinfo['username'] .' has no journal.';
}
I'd attach my member.php but we're not allowed to post vBulletin coding.