2013-09-03, 04:19 AM
Well i was customizing one theme. Aka the minimal theme by ThemeFreak and to the thread listing I added {$rating} for the rating module.
But it does not seem to work. What I mean that all though the stars are displayed it does not allow me to rate it.
Hovering on it also does nothing. Ie its just a static set of starts.
This is how my forumdisplay_thread template looks like:-
Any help?Looking at you effone.
But it does not seem to work. What I mean that all though the stars are displayed it does not allow me to rate it.
Hovering on it also does nothing. Ie its just a static set of starts.
This is how my forumdisplay_thread template looks like:-
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}" width="62%">
{$attachment_count}
<div>
{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}
<div class="author">Started by {$thread['profilelink']}</div>
</div>
</td>
{$rating}
<td width="12%" class="{$bgcolor}{$thread_type_class}">
<a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts} replies<br />{$thread['views']} views</td>
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: left;">
<span class="lastpost">Last post by <a href="{$thread['lastpostlink']}">{$lastposterlink}</a><br />
<a href="{$thread['lastpostlink']}">{$lastpostdate} {$lastposttime}</a></span>
</td>
{$modbit}
</tr>
Any help?Looking at you effone.