HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 2,116 | Guests: 888 | Members: 9 


   Current Location: Forums Best place for XBox ROMS?   |   XBOXONE-HQ.COM just hit 25K on Twitter!   |   PS2 games that aren't on xbox?   |   Unable to run Slayers/install evox   |   Free Game Engine to develop games for XBOX360   |   XBOX-HQ T-Shirts, Hoodies, Mugs & More (Available Now)   |   The best new free XBOX ONE and XBOX ONE X games of 2019   |   Homebrew Xenium Modchip   |   Xbox 360-hq youtube channel now posting daily   |   List of Xbox One X Enhanced Games   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Xbox-Hq.Com :: View topic - Websites Running our pnFlashGames Module (add your site)
Xbox-Hq.Com Forum Index -> pnFlashGames Project
Post new topic Reply to topic  Goto page Previous  1, 2, 3, 4, 5  Next  
 Websites Running our pnFlashGames Module (add your site) View previous topic :: View next topic  
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Fri Jan 14, 2005 10:21 pm   
Post subject:
Reply with quote
 
tbw.. just tried to check out your site.. Is the FlashGames module active or do you have to be registered..

Unfortunately i dont speak 'estoniang'..

this is the message i receive:
Vabandust, see Moodul pole aktiivne!

l8r

forahobby
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
NukeMaku
V.I.P. Lifetime



Joined: Jan 14, 2005
Posts: 17
Location: Estonia

Post Posted: Fri Jan 14, 2005 10:37 pm   
Post subject:
Reply with quote
 
Hey again Smile

First i have run all of my sites nuke 7.6 and Flash_Games module work just fine. In module index.php has OpenTable(); and CloseTable(); functions coded wrong way. I have corrected two functions Display Categories and Display Games like that:

Code:
// ########################
// ## Display Categories ##
// #####################################################################################################
function DisplayCategories(){
global $cookie, $ThemeSel, $user, $prefix, $db, $dbi, $module_name, $admin;
OpenTable();
echo"<table width=\"100%\" border=0>";
$sql2 = "SELECT * FROM ".$prefix."_flashgames_cat";
$count = 0;
$result = $db->sql_query($sql2);
if(sql_num_rows($result, $db) > 0) {
while ($row = $db->sql_fetchrow($result)) {
$cid = "$row[cid]";
// Total Games Per Category
$result3 = sql_query("select * from ".$prefix."_flashgames_games WHERE gcid='$cid'", $dbi);
$gamesincat = sql_num_rows($result3, $dbi);
$cname = "$row[cname]";
$cdesc = "$row[cdescription]";
$cimage = "$row[cimage]";
$chits = "$row[hits]";
echo "<td width=\"50%\">"
        ."<a href=\"modules.php?name=$module_name&func=view&cid=$cid\"><center>$cname<Br><img src=\"modules/$module_name/images/cat/$cimage\" border=\"0\" alt=\"$cname "._FGAMES_HAS." $gamesincat "._FGAMES_AVAILABLE."\"><br><b>$gamesincat "._FGAMES_AVAILABLE."</b></a><br><br><i>$chits "._FGAMES_PAGEVIEWS."</i></center><br>"
        ."<font class=\"content\">$cdesc<br></td>";
$count++;
        if ($count == 2) {
            echo "</tr><tr>";
            $count = 0;
        }
}
}else{
echo "<td>"
        ."<center>"._FGAMES_NOCATEGORIES."<br><br></center>";
if (is_admin($admin)) {
echo ""._FGAMES_ADMINONLY."";
}
echo "</td></tr>";
}
echo "</table>";
CloseTable();
// MainFooter();
}
// #####################################################################################################

// ###################
// ## Display Games ##
// #####################################################################################################
function DisplayGames($cid){
global $cookie, $ThemeSel, $user, $prefix, $db, $module_name, $nukeurl, $dbi;
$sql3 = "SELECT * FROM ".$prefix."_flashgames_cat WHERE cid='$cid'";
$result3 = $db->sql_query($sql3);
while ($row = $db->sql_fetchrow($result2)) {
$cimage = "$row[cimage]";
$cname = "$row[cname]";
}
$result = sql_query("update ".$prefix."_flashgames_cat set hits=hits+1 WHERE cid='$cid'", $dbi);



$sql2 = "SELECT * FROM ".$prefix."_flashgames_games WHERE gcid='$cid' ORDER BY gname ASC";
$count = 0;
$result2 = $db->sql_query($sql2);
if(sql_num_rows($result2, $db) > 0) {
echo "<table width=\"100%\"><tr><td>";
echo "<center><img src=\"modules/$module_name/images/cat/$cimage\" alt=\"$cname\"></center>";
echo "</td></tr></table>";
}else{
OpenTable();
echo "<center>"._FGAMES_NOGAMES."<Br><Br>[ <a href=\"modules.php?name=$module_name\"> "._FGAMES_BACKTOMAINMENU."</a> ]";
CloseTable();
}
while ($row2 = $db->sql_fetchrow($result2)) {
$gid = "$row2[gid]";
$gname = "$row2[gname]";
$gdesc = "$row2[gdescription]";
$gimage = "$row2[gimage]";
$gauthorname = "$row2[gauthorname]";
$gauthorurl = "$row2[gauthorurl]";
$hits = "$row2[hits]";

OpenTable();

// ####### START Top 10 Scores ##
$sql = "SELECT * FROM ".$prefix."_flashgames_hiscores where gid='$gid' ORDER BY playerscore DESC LIMIT 0,5";
$result = $db->sql_query($sql);
echo "<table width=\"100%\" border=0 align=\"center\"><tr><td valign=\"top\" align=\"center\" width=\"100%\"><b><u>"._FGAMES_TOP5HISCORES."</b></u>:</td></tr></table>"
        ."<table width=\"100%\"><tr><td valign=\"top\"><b>"._FGAMES_NAME."</b>:</td><td align=\"right\"><b>"._FGAMES_SCORE."</b>:&nbsp</td></tr></table>"
        ."<table width=\"100%\" border=0>";
if(sql_num_rows($result, $db) > 0) {
$i = 0;
while ($row = $db->sql_fetchrow($result)) {
$i++;
$gamename = "$row[gamename]";
$playername = "$row[playername]";
$playerscore = "$row[playerscore]";
        echo "<tr><td valign=\"top\"><b><img src=\"modules/$module_name/images/stats/icon_award_silver.gif\">$playername</b></td><td align=\"right\">$playerscore<br></td></tr>";
                    }
            }else{
        echo "<tr><td><center>"._FGAMES_NOSCORES."</center></td></tr>";
}
        echo "</table>"
        ."<br>"
        ."<center><i><a href=\"modules.php?name=$module_name&func=play&gid=$gid\">"._FGAMES_VIEWMORE."</a></i></center>";
// ####### END Top 10 Scores ##
CloseTable();
OpenTable();
//echo "</td><td valign=\"top\">"
    echo "<br><br>"
        ."<a href=\"modules.php?name=$module_name&func=play&gid=$gid\"><img src=\"modules/$module_name/images/screenshot/$gimage\" border=0 valign=\"top\" align=\"right\" alt=\""._FGAMES_PLAY." '$gname'\"></a><B>$gname</b><br>";



   if ($gauthorurl == "") {
   echo ""._FGAMES_BY." $gauthorname<Br><br>";
   }else{
   echo ""._FGAMES_BY." <a href=\"$gauthorurl\" target=\"blank\">$gauthorname</a><Br><br>";
   }
   echo ""._FGAMES_PLAYED.": <a href=\"modules.php?name=$module_name&func=play&gid=$gid\"><B><u>$hits</u></b></a> "._FGAMES_TIMES."<br><br>"
           ."$gdesc";
       echo"<Br><Br>";
   CloseTable();
   OpenTable();
   echo"<table width=\"100%\" border=0><tr>";
   echo"<td align=\"center\"><a href=\"modules.php?name=$module_name&func=play&gid=$gid\">"._FGAMES_PLAY." $gname</a></td><td align=\"center\">";
   if ($gauthorurl == "") {
   echo "</td>";
   }else{
   echo "<img src=\"modules/$module_name/images/stats/icon_internet_explorer.gif\"><a href=\"$gauthorurl\" target=\"blank\">"._FGAMES_AUTHORSWWW."</a></td>";
   }
   echo "</tr></table>";
   CloseTable();

   echo "<Br>";
}
}


That code work me just fine for me. When i finsh translation then i give you my language files.

BTW.....when that games module release it where are etc banned/teams functions inside?

Maku

_________________
http://www.phpnuke.ee | http://project.phpnuke.ee


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
 
 
 
NukeMaku
V.I.P. Lifetime



Joined: Jan 14, 2005
Posts: 17
Location: Estonia

Post Posted: Fri Jan 14, 2005 10:40 pm   
Post subject:
Reply with quote
 
Try now again it is active now http://eug.phpnuke.ee/modules.php?name=Flash_Games Wink
_________________
http://www.phpnuke.ee | http://project.phpnuke.ee


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Fri Jan 14, 2005 10:47 pm   
Post subject:
Reply with quote
 
hi,

I still have to code some functions and have been looking for users who are capable of helping add some of their own code.. (as long as they are not a beginner and have no idea).

My first step for the flashgames was to get the pnFlashGames component working which took quite a long time.. the v0.2 of the module now has full commercial games support too now so you can buy the games.. Wink

I like it..

Just hang in there.. I work 7 days a week as a on-call support technician and also build websites.. Xbox-Hq and all my other projects are just hobbies.. But lately my time is getting less and less.

anyway, ive gotta go to bed.. its 9:49am here in australia and ive been coding since 11pm the previous night to get this release out to you all.

Im just ironing out bugs before adding all the features.

l8r

forahobby
http://www.xbox-hq.com


btw.. nice job on the translation.. v0.2 has admin language support! Smile

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Fri Jan 14, 2005 10:53 pm   
Post subject:
Reply with quote
 
another thing..

i just noticed some english still in your module for anonymous users:

here it is:
Quote:
Your HighScores will NOT be recorded!!!
Why just play when you could score??? Members can also make comments, rate the games and view active users. Registration on this site is totally free and will make sure your great scores are saved every time you play!

Click here to register for free now!



I'm hoping i haven't forgot to do that bit in the language file.. what a night!
let me know people

l8r nukers,

FH
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
NukeMaku
V.I.P. Lifetime



Joined: Jan 14, 2005
Posts: 17
Location: Estonia

Post Posted: Fri Jan 14, 2005 11:25 pm   
Post subject:
Reply with quote
 
I was finish module translation and now i have are another issue i can find all those language defines what are in language file. I like to test it first when i all users can access in Flash_Games module. Are all language defines used or not?

Also i have notice there are missing many OpenTable(); and CloseTable(); functions in statistics/menu functions. In index.php are tabel colors like #FFFFFF what i cut it out cus my theme dont use such color.

Take a look now work perfect all open and closetabels functions everywhere Wink

_________________
http://www.phpnuke.ee | http://project.phpnuke.ee


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Fri Jan 14, 2005 11:43 pm   
Post subject:
Reply with quote
 
Hi all,

v0.2 has all the languages defined in the lang-.php files for both the module and the admin sections now..

NukeMaku,
You need to edit your modules/language/lang.php file and find this line:

Code:
define("_FGAMES_NOHISCORE","<b><font color=red>Your HighScores will NOT be recorded!!!</font></b><br>Why just play when you could score??? Members can also make comments, rate the games and view active users. Registration on this site is totally free and will make sure your great scores are saved every time you play!<br><br>Click <a href=\"modules.php?name=Your_Account&func=new_user\">here</a> to register for free now!<br><br>");


Then translate it.. Then your done with the modue translation im sure and then you can move on to the admin translation!

Anyway, Keep postig as you find errors guys and please always try to supply some SOURCE CODE from where youare having the issue if you can.

cheers,

forahobby
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
NukeMaku
V.I.P. Lifetime



Joined: Jan 14, 2005
Posts: 17
Location: Estonia

Post Posted: Sat Jan 15, 2005 12:00 am   
Post subject:
Reply with quote
 
I have done now module side, but i cant see all my translated text in module...like Active Gamers and so on.
I like to notice you again....there are very badly wrong all opentabel and close tabel functions. I go to sleep now and tomorrow i look ower again all open and closetabel functions.

Greetings,
Maku

_________________
http://www.phpnuke.ee | http://project.phpnuke.ee


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Sat Jan 15, 2005 12:13 am   
Post subject:
Reply with quote
 
hi,

I know there will be some little bugs but i will get through them all with the help from you guys testing on different servers and skins.

Next time before i release v0.3 im going to test on about 10 different phpnuke skins with different colours etc etc.

Hopefully i can pickup what i have done wrong and fix it for the whole module.. Its nothing really big if you have your #bhcolor1, bgcolor2 etc set correctly in your theme.

im guessing that may be causing it a bit too!

l8r,

forahobby
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
NukeMaku
V.I.P. Lifetime



Joined: Jan 14, 2005
Posts: 17
Location: Estonia

Post Posted: Sat Jan 15, 2005 7:13 am   
Post subject:
Reply with quote
 
That are good idea to repelase all such tabel/cell colors
<table bgcolor=\"#FFFFFF\"
to
<table bgcolor=\"$bgcolor2\"
Then no one has color trobules Wink

Have you using here same Flash_Games module what public can download in DL section? If yes, then i cant undrestand how here are nothing wrong with opentable and closetabel functions.

I have now test it many hours and i dont see any bug with Flash_games module....so nice job Laughing

_________________
http://www.phpnuke.ee | http://project.phpnuke.ee


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
 
 
 
joejoe
Xbox-HQ Newbie
Xbox-HQ Newbie



Joined: Jan 15, 2005
Posts: 1

Post Posted: Sat Jan 15, 2005 9:34 pm   
Post subject:
Reply with quote
 
Hi, I was over on the pnFlashGames forums with a problem, but I found here and its looks far busier so here's my two cents.

I was running the Kaput theme and the whole layout was messed up. Basically OpenTable() function in kaput's theme.php opens too many cells. What I did was to create a new function OpenTable3(), basically a normal OpenTable from another theme. I used the one off Deep Blue, so I added

function OpenTable3() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable3() {
echo "</td></tr></table></td></tr></table>\n";
}

I then opened modules/Flash_Games/index.php and changed all OpenTable() to OpenTable3()

The colours and borders aren't quite right but that's for later. Having done that I guess it'd prob be easier to redefine the functions within the module tho. You could also then have an option in the admin menu to choose which bgcolor's to have where.


View user's profile Send private message
 
 
 
 
NukeMaku
V.I.P. Lifetime



Joined: Jan 14, 2005
Posts: 17
Location: Estonia

Post Posted: Sat Jan 15, 2005 10:12 pm   
Post subject:
Reply with quote
 
That opentabel was clever Wink


forahobby if you like can send you Estonian translation for Flash_Game.


I have one question also. Flash_Game use special flash files what put scores in database and every flash game dont compatibility with Flash_Game module so where we can find those special flash games for Flash_game module? Or we need to buy all those games for that module?

_________________
http://www.phpnuke.ee | http://project.phpnuke.ee


View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
 
 
 
 
sandman229
Xbox-HQ User
Xbox-HQ User



Joined: Jan 09, 2005
Posts: 14

Post Posted: Sun Jan 16, 2005 2:09 am   
Post subject:
Reply with quote
 
So far I haen't found any problem running the module but I am only running 13 games so far..


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Sun Jan 16, 2005 3:07 am   
Post subject:
Reply with quote
 
Hi guys,

Quote:
That opentabel was clever


Yes very simple fix for the module.. I forgot to test on heaps of different types of themes. I used standard BLUE PHPNUKE and xboxhq theme to do testing..

Like i said before i will tripple check the next release and will test on more themes.. Smile Its very simple to fix the small table probs a few guys are having.

Im thinking i will create all the OPENTABLE(); functions in a include file in the FlashGames module.. Then it will definately work with all themes..
I will call them OPENFLTABLE(); or sometihng like that!

Quote:
Flash_Game use special flash files what put scores in database and every flash game dont compatibility with Flash_Game module so where we can find those special flash games for Flash_game module? Or we need to buy all those games for that module?


All pnFlashGames compatible games can be downloaded for free from:
http://www.pnflashgames.com.. Thats where all the games on HQ are from too.. Every one apart from LUNAR COMMAND which soon will be.

THIS MODULE WORKS 100% with over 150++ SWF games from pnFlashGames.. So go and download them and upload!..

Quote:
forahobby if you like can send you Estonian translation for Flash_Game.

Sounds great.. All users who translate the module will receive a copy of ++ for free to run on their websites which has many more features.. I really appreciate all your help with translations guys because i only speak English.

Send translations to: webmaster@xbox-hq.com

l8r

forahobby
http://www.xbox-hq.com

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Sun Jan 23, 2005 9:28 am   
Post subject:
Reply with quote
 
Another website running flashgames:
http://www.xdogsofwar.com

just keeping track of all i can!

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
Goto page Previous  1, 2, 3, 4, 5  Next |
 All times are GMT | Page 2 of 5
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
 

 Members Online (9) / Guests Online (888)
Members Browsing
light790, yourspace, MBry0, BrooksHodg, WeleSlinarore, RudolfChar, DominickIb, SS_Dave, ZQXNichole,

Legend
Administrator  Moderator  VIP Member  Registered User  Banned Users