TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 291
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 145
  • Total: 145

Pulling in high scores from smfarcade into a block. Has anybody tried this?

Started by houston, November 08, 2005, 03:43:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JayT

Ray your code doesn't pull up the the arcade gif. It's missing this code:

//make the block content
$content .= "<table width=\"100%\" ><tr>
<td align=\"center\">
<a href=\"{$scripturl}?action=arcade\"><img src=\"{$settings['images_url']}/arcade_block.gif\"  border= \"0\" alt=\"Arcade\" /></a>
</td>

</tr>";

Ray

their are 2 codes -- one has all the code and the other is cut down

here is the link to the code with the icon at the top
http://www.rranderson.com/arcade/index.php?topic=62.0

JayT

I noticed after I posted that you don't use the gif on your site.


elpvn


whoesa

First of all i wanna say thank you for this great code, works just fine  :)

I just have a question about high score block.
It shows me 2 things: The latest high score and top players.
Now the latest high score works great but i don't understand (and many on my site 2), how the top players is working.

One moment it shows 4 players ,then only 2, then 3. Is that normal? I thought it shows top 10 players.

And one moment some1 has 4 wins , then 2, then only 1 and that if he didn't play at all.

So can some1 explain me the working of this?

Greetings


JayT

It ranks the top 10 players by the number of trophies (highscores) they have.

If it is showing less, then it could very well mean that people are playing in the arcade and the high scores are being swapped out between players.

whoesa

And this is normal?

So when i had 4 wins yesterday and i was in place 2 of top players for example.
And today i login , im not on the list anymore even if they play other games?


JayT


RoarinRow

Anyone getting this red x?  Is it because I have a fresh install with no winners yet?  I'm on SMF 1.1 RC2, TP 0.8.6 with Arcade 1.2.4b.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

This website is proudly hosted on Crocweb Cloud Website Hosting.