Where in the template there is user nickname?
Hello all,
I am trying to add user ranking with the addon and I am stuck. I have followed the readme and inserted all the code except for the last step:
***** Add in templates/main_posts_cell.html (under user nickname):
{$userInfo_num_posts[$poster_id]}
Question is - Where is user nickname? I cannot find it in main_posts_cell.html. Below is the code from main_posts_cell.html :
<tr valign="top" class="{$bg}"> <td class="caption1"> <a name="msg{$cols[6]}" href="JavaScript:paste_strinL('{$posterNameJs}',2)"> <span class="username">{$posterName}</span> </a> <br /> <span class="txtSm">{$viewReg}</span> </td> <td class="caption1"> <span class="txtSm"> <a href="#msg{$cols[6]}">#</a> {$l_posted}: {$postDate}{$editedBy}{$viewIP} <br /> {$eachReply}<script type="text/javascript">getQuotation();</script>{$allowed} </span> <br /><br />{$posterText}{$deleteBox}<br /><br /> </td> </tr>
Where exactly would I insert this? I have tried different places but the user ranking is still nt working so I guess I am going something wrong.
Any help woudl be greatly appreciated!
Thanks! |