Hello,
I was trying to put all the top posters variables into one module (in this case, the overall top posters widget module) but it parsed me only the results of the top posters
Here's now my code looks like
I was trying to put all of them together and use jQuery to separate them into tabs. Everything is working fine but then I notice that the results are wrongly parsed.
I checked on the variables itself and they are the same code in all three different intervals, which are
I may have been doing the wrong thing from the very beginning.
If so, what should be the right way of fetching the right statistics?
I was trying to put all the top posters variables into one module (in this case, the overall top posters widget module) but it parsed me only the results of the top posters
Here's now my code looks like
- Code:
<div class="module borderwrap">
<div class="maintitle"><h3>{L_TOP_POSTERS}</h3></div>
<div class="box-content">
<div class="topposter">
  <div class="tptabs_container">
   <center>
    <ul>
      <li class="activetptab"><a rel="#weeklytp" class="tptab">Weekly</a></li>
      <li><a rel="#monthlytp">Monthly</a></li>
      <li><a rel="#overalltp">Overall</a></li>
    </ul>
   </center>
    <div class="tpcontent_container">
      <div id="weeklytp" class="activetpcontent">
      <table summary="{L_TOP_POST_USERS_WEEK}" width="100%">
<!-- BEGIN POSTER -->
<tr>
<td class="{POSTER.ROW_CLASS}" nowrap="nowrap" width="30%">{POSTER.NAME}</td>
<td class="{POSTER.ROW_CLASS}" nowrap="nowrap" title="{POSTER.NB_POSTS}">{POSTER.BARRE}</td>
</tr>
<!-- END POSTER -->
</table>
      </div>
      <div id="monthlytp">
      <table summary="{L_TOP_POST_USERS_MONTH}" width="100%">
<!-- BEGIN POSTER -->
<tr>
<td class="{POSTER.ROW_CLASS}" nowrap="nowrap" width="30%">{POSTER.NAME}</td>
<td class="{POSTER.ROW_CLASS}" nowrap="nowrap" title="{POSTER.NB_POSTS}">{POSTER.BARRE}</td>
</tr>
<!-- END POSTER -->
</table>
      </div>
      <div id="overalltp">
      <table summary="{L_TOP_POSTERS}" width="100%">
<!-- BEGIN POSTER -->
<tr>
<td class="{POSTER.ROW_CLASS}" nowrap="nowrap" width="1">{POSTER.NAME}</td>
<td class="{POSTER.ROW_CLASS}" nowrap="nowrap" title="{POSTER.NB_POSTS}">{POSTER.BARRE}</td>
</tr>
<!-- END POSTER -->
</table>
      </div>
    </div>
  </div>
</div>
</div>
</div>
I was trying to put all of them together and use jQuery to separate them into tabs. Everything is working fine but then I notice that the results are wrongly parsed.
I checked on the variables itself and they are the same code in all three different intervals, which are
- Code:
{POSTER.NAME}
- Code:
{POSTER.BARRE}
I may have been doing the wrong thing from the very beginning.
If so, what should be the right way of fetching the right statistics?