Information sur les auteurs & la licence

Retour à la page principale des auteurs

Changement du fichier d'activités pour pnFlashGames version 1.5

pnFlashGames Postnuke Module Changelog

Author: Lee Eason
email: leason@pnflashgames.com

1.5:
* Rewrite of the categories for permissions and administration. Categories can now be set from the games "edit" page.
* Added "status" to games. Games can be active, disabled, or pending approval.
* Added "status" to contests. Contests can now be active or disabled. This allows you to run a contest and disable
it, rather than delete it. This way contest winners site ranking can be permanently affected by a contest, rather
than before when you deleted a contest it made the site ranking the same as before you ran the contest because the
results were deleted.
* Added some more CSS tags to the game display page. See "css.txt" for details.
* Added a "display-top" hook call to allow you to place display hooks above the game, rather than just below it.
This means you can configure the PN ratings to display above the game and turn off the stock pnFlashGames ratings.

1.1.0:
* Altered the way we test for POST on the score saving... This was causing some problems for certain configs of PN 0.750
* Trying to add in some anti-leeching methods. So far this is not working so don't use this yet!
* Added Score Optimization function. This function will break on mysql version 4.0.20. Basically it strips out
all the unnecessary scores. If you have set the module to display 25 scores on the game display page then
all but the top 25 scores for each game will be removed. Make a backup before you try this the first time.
* Added quick admin link to clear scores for a game on the game display page.
* Fixed minor bugs with short-url compatability in the thumbnail display for the blocks and the main output as well.
* Added ban ability. Admins can ban users and un-ban them (though their scores are forever
lost)
* Fixed a minor bug with the domain name retrieval. This affected the automatic installation
service and possibly some installs of the commercial games.
* Fixed several language file problems (thanks to Schnutz for these updates)
* Made a critical optimization with showscores.php which can reduce CPU load by 10% or more.

1.0:
* Fixed highscores block so it no longer shows games that are not highscore enabled.
* Added quick admin links on the game display page for quick delete and edit ability
* Fixed minor bugs in pninit.php file that may or may not have affected upgrade ability
* Added ability to put commercial games before others regardless of sort order/method
* Made several adjustments to the english language file to better reflect the newer
functionality of the links in the administration area.
* Added edit and delete quick admin links to game display page.
* Added time tracking for each score. When a game is displayed a variable is set and noted when a score is
saved. This allows us to display the time it took a user (from the moment the page loaded) to get the
score shown. Use this to help determine if a user is cheating or not, but do not rely on this alone. For
example, he could pause while taking a phone call and look like it took a really long time. Be suspicious
of very short score periods, however.
* Added Automatic Installation subscription service. Allows one click batch installation of games straight from pnflashgames.com
* Simplified install process by allowing for the upload of an INI file which would contain all the necessary
information about the game. The game .swf and thumbnail are also uploaded automatically. This makes
installing games fast and very easy.
* Added CSS tags to output. See http://docs.pnflashgames.com for explanation and http://pnflashgames.com for
examples.
* Improved security by tracking start and end times for all score saving operations.
* Teams added. Basic functionality for now. Admins create teams and establish the first team leader(s).
users request to join teams. Admins or team leaders must approve requests to join. Team leads can suspend
players, but only admins can remove them.
* Added ability to display scores in an iframe below the game. This is not cross browser compatible, but works
well for IE users. If you use this, make sure you have copied the showscores.php file to your root dir. This
allows users to click a "refresh scores" link to see the updated scores rather than having to refresh the
entire page, saving you lots of bandwidth.
* Bug Fix: When you remove a game, it is removed from contests and categories as well to prevent "ghost" games.
* Fixed administrative and user links to support PN 0.7.5. "name" is now an illegal variable for modules.

0.9.92:
This is a patch, not a full build. Just a couple little changes.
* Improved Newest game block so that you can show multiple games there if you want.
* Fixed pnadmin.php to work with XTE/pnRender RC3 build.
* Fixed pnuserapi.php because certain configurations of categories would cause problems in certain
situations.

0.9.91:
* Bug Fix: if a game was in multiple categories or multiple contests, strange things could happen.
* Added support for non-highscore enabled games. Thanks to Schnutz for implementing that feature.
* Random game block now supports categories so you can specify from which category you want to
pull games.

0.9.9:
* Added support for commercial games.
* Fixed display function to disable right-clicking on all games by default (Forums suggestion)
* Bug Fix: Added date format preference setting for highscore dates (Schnutz)
* Major Feature: Added Categories
* Changed security schema to allow for category based permissions. The new schema for games is as follows:
pnFlashGames::[Commercial] | Category Name::Game Name
If you want the permission to apply to commercial games, then use the [Commercial] specification, otherwise
leave that blank. Overview will allow users to see a game or category in the browse pages, but Read rights
are required in order to play a game. Here are some examples:
1) Allow unregistered users to see the commercial games, but not play them:
unregistered | pnFlashGames::Commercial | .* | Overview
2) Restrict unregistered users from seeing the "Action Games" category:
unregistered | pnFlashGames:: | Action Games:: | None
3) Allow unregistered users to see the "Airfox" game, but not play it:
unregistered | pnFlashGames:: | ::Airfox | Overview

Note: By default the last line in your permissions schema will give unregistered users Read access to
everthing in your site. That line will in effect give them the ability to play all the games in your
site. You may want to alter that line in order for these to work as you would expect them to.
Another Note: Having a game in multiple categories can make this permission setting unreliable.
* Significant performance tuning was done to make sure that the module was working as quickly and
effeciently as possible.

0.9.8:
* Added pntitle.php for supporting the title hack available on http://lottasophie.sourceforge.net.
* Fixed security schema for blocks. All pnFlashGames blocks now use this security schema:
pnFlashGames::Blocks | [block name]::[block title]
This was done for several reasons. One is so that permissions will be clearer for pnFlashGames blocks (the
module name is now part of the schema) and also to be more compatible with pnSnapshot (formerly pnModDebug).
* Fixed authorization failure for blocks. Rather than displaying the block with "Authorization failed" in it,
the block just does not display at all. (Bug # 13)
* Several Bug fixes including: Contest time countdown was innaccurate; Extra space in pnuser.php; Several loops
were not tested properly and would cause warnings if there were no contests or scores stored yet; if there was
only one scorerer on a site his name would not appear on the top scorers page until a second scorer joined him.
* Several lang file exceptions were fixed. The new defines are at the top of each lang file.

0.9.5:
* Major Feature: Added the contests feature. Admins create contests and specify start and end dates as well as
a description field for prize or contest information, an image field which defaults to the standard contest image,
and a name field for giving the contest a descriptive name. After you create a contest you add games to it. You
can add as many games as you like. Rankings are determined in the same way as the Top Players are found,
only the findings are only based on scores for the games included in the particular contest. When the contest
is over, the block information changes to reflect the winner and the final top ranking players. The feature also
adds a center block for displaying contests. This block may be extended in the future to display recently added
games and the like.
* Modified the highscores block to allow for scrolling of the highscores.
* Added a Top Player main page to list a certain number (configurable) of players and their sitewide score.
* Added Java game support to pnFlashGames.
* Fixed blocks so that each block could have a different link to the games section.

0.9.2:
* Fixed a bug with a "u" appearing on the user pages. Somehow a "u" found its way into the pnuser.php file...

0.9.1:
* Added Italian translation and fixed a couple of hardcoded values in pnuser and pnadmin.
* Bug Fix: On Windows systems, the strftime function does not work properly when "%T" is used as the format
string. So, in the storeScore and getHighscores functions, %T was replaced with %H:%M:%S, which works fine.
Thanks to eppoeh for helping me figure this one out...

0.9:
* Major Feature: pnFlashGames now has the ability to properly host and manage games with various scoring
structures. Before, only games with a numeric score - the highest being the best - could be hosted. Now
we have the ability to host time based games (lowest time wins), and lowest score wins in addition to just
highest score wins. This is set at the time you add a game. The default for existing games at the time of
upgrade is '1' (highest score wins). The highscores and randomgame blocks have been updated accordingly.
* Bug Fix: (# 697 in the tracker). Franz Skaaning posted a fix for our little include difficulties. Thanks
for the contribution man.
* Improved the randomness of the random game block. Now using ORDER BY MD5(RAND()) LIMIT 1 to find a random
game to display.
* Added a newest game block.
* Strengthened the security of the entire module by adding checks and some other things. The
checks are designed to quickly determine if a request came from flash or from some other source.
An option to use the extended security settings has been provided just in case a site has problems
with the new feature. Hopefully this will keep people from being able to hack a sites scores.
Thanks to Legix for contributing so much to this addition.
* Added block config for sorting the highscores block
* Added Admin config option for allowing guest comments posting.
* Added Admin config option for game sorting. Choose column and then direction.
* Added Comments feature. Can be turned off in admin panel
* Added admin config option for number of comments per page
* Added Ratings feature. Can also be turned off in admin panel
* Added admin config option for setting the ratings precision (for display purposes)
* Added Spanish translation. Thanks to Daniel Portilla for that translation.
* Added Russian translation. Thanks to Legix for that.
* Bug Fix - Data was being not saved properly by the save game function. Now the data is properly
prepped for storage. When the game is loaded, the data is urlencoded to make sure that the
data is recieved exactly as it was sent. This is accomplished because Flash automatically
url-unencodes all data it recieves in the LoadVars object.
* Bug Fix - Game data was not being stored properly if a null ("") value was saved.

0.8.2:
* Bug Fix - pninit.php file had bug that was not upgrading prior versions properly.

0.8.1:
* Bug Fix - Paging was not really disabled in 0.8, so if you had more than ten games, they wouldn't
all show up like they were supposed to. Oops. All fixed now. Admin configuration options for
the number of games per page in the user and admin sections were added to complete the paging
feature.

0.8:
* Added option to show/not show the date for a highscore. This was requested by a user, so I figured
it was important enough to do.
* Removed paging from the user and admin screens.
* Bug Fix - The random game block would not display the game thumbnail if there were no highscores
for that game yet. This was simple moving of a block of code...
* Added Save and Load game feature. Now game developers can use the updated component to add save
game functionality to their games. This will enable us to host games like Zelda, or other RPG's,
and users can come to the site and continue previously saved games. A great deal of potential is
presented with this feature.
* Bug Fix - Include statement for pnversion.php would display an error if safe_mode was on so I added
the \@\ char before the include directive. This way, if the function is rejected due to safe_mode
no error will be displayed. The only ramification is that the version will not display in the title.
* Added ability to clear highscores for either one game at a time (through admin view games) or all games
(through the admin Edit games configuration screen)
* Display a 'new' icon next to new highscores.

0.7.2:
* Bug Fix - Main games page displaying the bottom X scores, rather than the top X scores.

0.7.1:
* Bug Fix - Parse error in highscores block

0.7:
* Added admin configuration options:
numCols - The number of columns per row on the main games display page
numHighScores - The number of high scores to display per game on the main display page
numHighScoresDetail - The number of high scores to display beneath the game on it's individual game page
* Upgraded Block, added two configuration options
numGames - The number of games to display in the block; ordered by popularity
numHighScores - The number of high scores to display in the block per game
* Revamped main games display page. Now games are displayed in a nice table style, rather than listing down
the page. * Added screenshot thumbnails. Now the script looks in the same directory as the game's .swf file for a .gif
or a .jpg named the same as the game's .swf. For example, the screenshot thumbnail for
modules/pnFlashGames/games/pacman.swf is modules/pnFlashGames/games/pacman.gif. If the image is not found,
a "screenshot not available" image is used instead.
* Added pnFlashGames logo to main games display page. Thanks to shinnobie for the logo design and artwork.
* Added pnFlashGames admin image. Thanks to crazymac for that image.

0.6.2:
* Bug Fix - The fields were still too short in the admin interface, so I increased
them quite a bit. Also made sure the edit interface worked like the "new game" interface.

0.6.1:
* Bug Fix - Description and game location fields in the admin interface were
too short and were cutting off the values. (thanx to machinehead)

0.6: (10/8/2003)
* Prettied up the user interface so the games page looks alot nicer
* Added a 'timesPlayed' column and track the number of times a game is displayed
* Bug Fix - highscores for a game are now deleted if you delete the game they
are associated with.

0.5:
* Basic functionality. No bells and whistles yet.