Jump to content


Arcade block for Unreal Portal


  • You cannot reply to this topic
9 replies to this topic

#1 kostassakel

    Newbie

  • Members
  • Pip
  • 8 posts
  • Gender:Male
  • Location:Athens

Posted 17 November 2006 - 12:47 PM

What if someone created this? An Ib Pro Arcade block for Unreal Portal!

Hmm,it could show some things like the Arcade Champions or the newest games....I will give it a shot,but someone who knows php better than me should try that, too.

EDIT

Sorry,now I realised that there were topics for this issue.... ;)

#2 ravenfaust.com

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 30 November 2006 - 07:17 AM

sounds like something id like to see!

#3 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

Posted 23 December 2006 - 04:02 PM

Yes there are topics but nobody seems to be coming across with anything that works. :( :(

#4 ShootMePls

    Advanced Member

  • Members
  • PipPipPip
  • 51 posts

Posted 29 December 2006 - 11:50 AM

Hi
Not sure what you mean but if it shtis one then there is a few thats been out for long time, cant remember where I got it from but in mine I have as title

Arcade Latest Champions

and code

<tr><th width="50%" nowrap="nowrap">Game Name</th><th width="30%" nowrap="nowrap">Champ</th><th width="20%" nowrap="nowrap">New Score</th></tr>
<?		  
$champer = mysql_query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,10");

while($goats=mysql_fetch_array($champer))

{  
$the_game_id=$goats["champ_gid"];
$game_title=$goats["champ_gtitle"];
$game_name=$goats["champ_name"];
$game_score = $this->ipsclass->do_number_format($goats["champ_score"]);

$content .= "<tr><td class='row1' colspan='1'><a href=".$this->ipsclass->base_url."act=Arcade&do=play&gameid=".$the_game_id."> <b>$game_title</b></a></td><td class='row1' colspan='1'> <b>$game_name</b></td> <td class='row1' colspan='1'> <b>$game_score</b></td></tr>";
}
echo $content;		
?>



this creates a block on the main portal and shows latets chanpions, score and game etc

#5 Gerry

    Advanced Member

  • Members
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:St Helens - UK -

Posted 31 December 2006 - 08:24 AM

View PostShootMePls, on Dec 29 2006, 06:50 PM, said:

Hi
Not sure what you mean but if it shtis one then there is a few thats been out for long time, cant remember where I got it from but in mine I have as title

Arcade Latest Champions

and code

<tr><th width="50%" nowrap="nowrap">Game Name</th><th width="30%" nowrap="nowrap">Champ</th><th width="20%" nowrap="nowrap">New Score</th></tr>
<?		  
$champer = mysql_query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,10");

while($goats=mysql_fetch_array($champer))

{  
$the_game_id=$goats["champ_gid"];
$game_title=$goats["champ_gtitle"];
$game_name=$goats["champ_name"];
$game_score = $this->ipsclass->do_number_format($goats["champ_score"]);

$content .= "<tr><td class='row1' colspan='1'><a href=".$this->ipsclass->base_url."act=Arcade&do=play&gameid=".$the_game_id."> <b>$game_title</b></a></td><td class='row1' colspan='1'> <b>$game_name</b></td> <td class='row1' colspan='1'> <b>$game_score</b></td></tr>";
}
echo $content;		
?>

this creates a block on the main portal and shows latets chanpions, score and game etc



Does not work on IPB 2.2.1

#6 NiceM

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 22 April 2007 - 01:46 PM

View PostGerry, on Dec 31 2006, 09:24 AM, said:

Does not work on IPB 2.2.1


It work on 2.21 with cybers arcade.

#7 highlander

    Advanced Member

  • Members
  • PipPipPip
  • 33 posts

Posted 10 May 2007 - 01:36 AM

I have this one...

its not the champions but a simple arcade with link
<? 

$homey = $this->ipsclass->DB->query("SELECT gname,gtitle,gid,object,gcount FROM ibf_games_list WHERE active=1 ORDER BY RAND() LIMIT 1");

while($mouse=mysql_fetch_array($homey))

{ 
$randomgameid=$mouse["gid"];
$randomgamename=$mouse["gname"];
$randomgametitle=$mouse["gtitle"];
$randomgameobject=$mouse["object"];
$randomgamecount=$mouse["gcount"];

$content .= "<center><a href='/index.php?autocom=arcade&code=play&g=$randomgameid'><img src='/arcade/images/{$randomgamename}1.gif'></img><br /><b><span style='color:red'>Play $randomgametitle</span></b></a><hr><b><u>Times Played: </b>$randomgamecount</u><hr><b><u>Description</u></b><br />$randomgameobject</center>";
}
echo $content; 
?>


#8 fourthsyde

    Member

  • Members
  • PipPip
  • 14 posts

Posted 14 May 2007 - 12:05 PM

Posted Image

thats all i get from that block

#9 il saggio

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 12 December 2007 - 07:22 AM

Works with ipb 2.3 but this is the path
$content .= "<center><a href='index.php?autocom=arcade&code=play&g=$randomgameid'><img src='arcade/images/{$randomgamename}1.gif'></img><br /><b><span style='color:red'>Play $randomgametitle</span></b></a><hr><b><u>Times Played:


without /
but the Description don't work

#10 LipiG

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 28 August 2008 - 08:43 PM

View PostShootMePls, on Dec 29 2006, 08:50 PM, said:

Hi
Not sure what you mean but if it shtis one then there is a few thats been out for long time, cant remember where I got it from but in mine I have as title

Arcade Latest Champions

and code

<tr><th width="50%" nowrap="nowrap">Game Name</th><th width="30%" nowrap="nowrap">Champ</th><th width="20%" nowrap="nowrap">New Score</th></tr>
<?		  
$champer = mysql_query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,10");

while($goats=mysql_fetch_array($champer))

{  
$the_game_id=$goats["champ_gid"];
$game_title=$goats["champ_gtitle"];
$game_name=$goats["champ_name"];
$game_score = $this->ipsclass->do_number_format($goats["champ_score"]);

$content .= "<tr><td class='row1' colspan='1'><a href=".$this->ipsclass->base_url."act=Arcade&do=play&gameid=".$the_game_id."> <b>$game_title</b></a></td><td class='row1' colspan='1'> <b>$game_name</b></td> <td class='row1' colspan='1'> <b>$game_score</b></td></tr>";
}
echo $content;		
?>



this creates a block on the main portal and shows latets chanpions, score and game etc


voilà ce que ça donne depuis que je suis chez 1&1
:(
Posted Image





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users