Quote:
Originally posted by Koss
just a suggestion, maybe add a column on the member page (members.php) with a link of all the members with a journal
|
Here's how to do this:
In memberlist.php find:
Code:
if ($userinfo[receivepm]) {
eval("\$userinfo[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
} else {
$userinfo[pmlink] = " ";
}
and add after:
Code:
// vBJournal Hack by Ryangel
if($userinfo[journal]==1){
$journal = '<a href="journal.php?s=&journalid='.$userinfo[userid].'&action=view"><img src="images/journal.gif" alt="View '.$userinfo[username].'\'s Journal" border="0"/></a>';
}
else {
$journal = '';
}
// vBJournal Hack End
In memberlist template, find
Code:
<td bgcolor="{categorybackcolor}" colspan=
Your columnspan needs to be increased by one, so if it's 7, make it 8.
In same template, find:
Code:
</tr>
$memberlistbits
Beneath that add:
Code:
<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}"><b>Journal</b></smallfont></td>
In the memberlistbit template find:
Right above that add:
Code:
<td bgcolor="{firstaltcolor}">$journal</td>
That should do it