The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.

Create a free forum like this one.

Help in adding top poster in latest topics(new system)

Go down

Help in adding top poster in latest topics(new system)

Post by lBlacKl on December 4th 2011, 10:26 am

i just want to know if this code is using in adding top poster in latest topics(new system)

add to mod recent topics

<!-- BEGIN scrolling_row -->
<div class="module main">
  <div class="main-head"><div class="h3">{L_RECENT_TOPICS}</div></div>
  <div class="main-content" id="comments_scroll_div">
      <!-- BEGIN recent_topic_row -->
      » <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_TITLE}" title="{scrolling_row.recent_topic_row.L_TITLE}">{scrolling_row.recent_topic_row.L_TOPIC_TITLE}</a><br />
      <img src="{ICON_TIME}" alt="" />{scrolling_row.recent_topic_row.S_POSTTIME} {BY}

      <!-- BEGIN switch_poster -->
      <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="

then add this to javascript

$(function() {
var row=$('.rtrow').get();
var x=$('.topics2').get();
for (i=10;i<row.length;i++) {
    var element=row[i];
    var td=x[i-10];

is this code for adding top poster in latest topics?

please correct me if im wrong


Male Posts : 202
Reputation : 2
Language : English and Tagalog

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum