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

Recent

Welcome to TinyPortal. Please login or sign up.

April 20, 2024, 12:23:03 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,165
  • Total Topics: 21,219
  • Online today: 118
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 107
  • Total: 107

Arcade in a block

Started by technodragon73, February 06, 2006, 06:07:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

technodragon73

Is it possible to make a block that shows a random game each time the page refreshes?  I have seen it on other forums using an arcade (not sure if it was this portal or another one)

If it is could someone please show me where to get it?

IchBin

You may want to ask over at the arcade site.

technodragon73

lol...tried but they said to ask here

rdoggsv

can somebody give me the arcade address ?? it would be great if i could add some games to my site  8) , somebody told me that it was smfgames.com but the site looks down...

thanx  :D

IchBin

Quote from: technodragon73 on February 06, 2006, 02:57:25 PM
lol...tried but they said to ask here
Go give them a hard time. Tell them they have TP installed and they OWN the arcade. They are the ones with the arcade code. lol

G6Cad


bloc

If you can get the sql code to fetch a game from the arcade datatable, then its simply a matter of adding a random to it, like...

"SELECT * from xxxx order by rand() limit 1"

....where xxxx is the arcade table.

houston

Have a look at this thread. The second post in the thread is what you want. It works great. http://www.tinyportal.net/smf/index.php?topic=1293.0

technodragon73

thanks for all your help...smf arcade people finally answered and gave me the code.

rebelrose

Quote from: TechnoDragon on February 07, 2006, 04:00:40 AM
thanks for all your help...smf arcade people finally answered and gave me the code.

Do you want to share it here