PDA

View Full Version : Add rating block to your website



.PG|monk
12-10-2011, 22:13
Hello Trackbase,

I would like to suggest a Trackbase block which you can add on your own website. This is an example which i have done.
Ofcourse it will not update the ranks as i did html only.

I would like to see such block which updates the ranks as well.

This is html based from Trackbase page ofcourse;



<table style="width: 190px; height: 1000px;">
<tbody>
<tr>
<td class="top">Playername</td>
<td class="top">Rate</td>
</tr>
<tr class="rev1">
<td class="nc">
<div class="cimg"><img title="England" alt="&nbsp;" src="http://tbstatic.net/gfx/flags/en.png" /></div>
<a style="float: left;" href="index.php?mod=playerinfo&amp;idx=2129485"><span style="color: rgb(255, 255, 255);"><span style="color: rgb(0, 255, 0);"> |<span style="color: rgb(88, 88, 88);">IMG<span style="color: rgb(0, 255, 0);">||<span style="color: rgb(88, 88, 88);">Barn<span style="color: rgb(0, 255, 0);">!<span style="color: rgb(88, 88, 88);">e</span></span></span></span></span></span></span></a>
<div style="color: rgb(0, 102, 153); float: right;">&nbsp;</div>
</td>
<td><span class="rating_equal">13.54</span></td>
</tr>
<tr class="rev2">
<td class="nc">
<div class="cimg"><img title="Czech Republic" alt="&nbsp;" src="http://tbstatic.net/gfx/flags/cz.png" /></div>
<a style="float: left;" href="index.php?mod=playerinfo&amp;idx=2429066"><span style="color: rgb(255, 255, 255);"><span style="color: rgb(88, 88, 88);">|IMG||<span style="color: rgb(0, 255, 255);">*<span style="color: rgb(88, 88, 88);">Shapa<span style="color: rgb(0, 255, 255);">*</span></span></span></span></span></a></td>
<td><span class="rating_equal">13.51</span></td>
</tr>
<tr class="rev1">
<td class="nc">
<div class="cimg"><img title="Central African Republic" alt="&nbsp;" src="http://tbstatic.net/gfx/flags/cf.png" /></div>
<a style="float: left;" href="index.php?mod=playerinfo&amp;idx=10587"><span style="color: rgb(255, 255, 255);"><span style="color: rgb(255, 0, 51);">|<span style="color: rgb(127, 127, 127);">I<span style="color: rgb(255, 255, 191);">M<span style="color: rgb(255, 255, 127);">G<span style="color: rgb(255, 0, 51);">||<span style="color: rgb(255, 255, 255);">M<span style="color: rgb(127, 127, 127);">o<span style="color: rgb(255, 255, 191);">n<span style="color: rgb(255, 255, 127);">k</span></span></span></span></span></span></span></span></span></span></a>
<div style="color: rgb(255, 255, 4); float: right;">&nbsp;</div>
</td>
<td><span class="rating_equal">13.20</span></td>
</tr>
<tr class="rev2">
<td class="nc">
<div class="cimg"><img title="Malta" alt="&nbsp;" src="http://tbstatic.net/gfx/flags/mt.png" /></div>
<a style="float: left;" href="index.php?mod=playerinfo&amp;idx=16949"><span style="color: rgb(255, 255, 255);">|IMG||Empy<span style="color: rgb(88, 88, 88);">.</span></span></a>
<div style="color: rgb(0, 102, 153); float: right;">&nbsp;</div>
</td>
<td><span class="rating_equal">12.19</span></td>
</tr>
<div class="headingd">
<div class="heading_md">
<div class="heading_in">&nbsp;</div>
</div>
<div class="hendd">&nbsp;</div>
</div>
<p>&nbsp;</p>
</tbody>
</table>


Which looks like a table like this one; www.enedwaith.com
Can't attach files...

Regards,
monk

.PG|monk
24-10-2011, 13:43
Nobody from TB interested in making a plug in like i am referring?

Regards,
monk

Shownie
24-10-2011, 16:24
I like the idea!

It seams like the coders is busy atm so hang on. I am sure there will be a reply here soon ;)

Regards.

Shagileo
24-10-2011, 16:34
Interesting it is, indeed, but we're currently focussing on our tracker issues at the time.
These kind of plugins are certainly worth the discussion, once we got things sorted out :)

giriel
24-10-2011, 17:18
The idea is nice and would require some kind of API that can be called.
Given some names, clan, ... it would return information about the players.
I wouldn't restrict the layout though, webmasters should be able to decide the layout for themselves.
Will suggest this to Paul, thx !