[ABD]Display games owned 1.4.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

[ABD]Display games owned 1.4.1

Post by madmartyau » Sat Oct 17, 2009 4:17 am

MOD Title: Display games owned mod for phpBB3
MOD Description: Allows users to show which games they own
phpBB Version: 3.0.8(Survives upgrade to 3.0.9)
MOD Version: 1.4.1

Author Note: This is not limited to displaying games. You could use it for displaying fish, cars, movies or any other collectible items that users may wish to show off.

MOD Download: Games MOD for phpBB3

Demo Board: http://www.mecom.com.au/
Demo Username: demo
Demo Password: demouser

Credits:
Gremlin for his excellent Medals System Mod. There's not much of his code left but without it I wouldn't have got started.

Current Features
  • Umil installation script
  • MOD Version Check compliant
  • ACP module for adding games and categories
  • Activation/Deactivation switch
  • Game tiles show on member profile page
  • Game tiles show on viewtopic page
  • UCP module for users to select which games they own
  • Users can choose wether they want to see tiles in viewtopic(switch in board viewing preferances)
  • Prosilver template
  • Each game shows on it's own page by clicking on it's tile in viewtopic/profile view.
  • Registered users can mass pm owners of a particular game from a games separate page
    Added in 1.2.1
  • Optional Description field for games
    Added in 1.2.2
  • Subsilver2 template
  • ACP option for displaying tiles in viewtopic on separate row or not(Thanks F.Gozalo for the idea)
  • FIXED Game images not showing in UCP Add games
  • FIXED Template alignment issues in ACP for certain browsers
  • NOTE If you are upgrading, you will need to upload all files as I have made minor changes to everything
    Added in 1.2.3
  • Added permission for Mass PM of gameowners
  • Tidied up install and contrib files and folders
    Added in 1.2.4
  • ACP choose directory for each category(Needed for Non English forums) You can also choose to not use a subdirectory at all.
  • Add .jpeg as an allowed extension
  • Increase limit on game name length from 30 to 100
    Added in 1.2.5
  • Show last x added games (Configurable in ACP)
  • Show most popular x games (Configurable in ACP)
    Added in 1.2.6
  • Changed upload code in ACP to use phpBB's inbuilt functions_upload
    Added in 1.2.7
  • Added alphabetical search on games page
    Added in 1.2.8
  • Fixed error on game page when no games owned yet
  • Games categories have separate pages in UCP
  • Mod version is visible in ACP config page
  • Added Games sharing.(Switchable in ACP) Users can keep track of who they have shared games with
  • Added Games playing.(Switchable in ACP) Users can indicate which games they are currently playing
  • Code rewrite for viewtopic and memberlist pages for better performance and fixed a bug where games with same names would only show the first one.
  • More options in ACP
    Added in 1.2.8a
  • Fixed some fatal template errors
    Added in 1.2.9
  • Show fullsize image when hovering over smaller image(You must specify both a width and a height for this to be enabled.)
    Added in 1.3.0
  • Pagination in UCP and ACP
  • ACP option for pagination
  • On games page, indicate which users of a game want to play it
  • Option to not display games per post
  • Fix errors with Automod
  • Fix problems with game image hover in IE
    Added in 1.3.1
  • Fixed Using Quick Reply would stop games from showing
    Added in 1.3.2
  • BBcode use in description field.
    Added in 1.3.3
  • Bug fixes
  • Added contrib for Post Bot Mod fix
    Added in 1.3.4
  • Add/remove games from main games page.(Using AJAX)
  • Fixed language conflict with medals mod in ACP
  • Mod version check included in Games Config page
  • Removed some redundant files from the installation package
    Added in 1.3.41
  • Game owners list is updated dynamically when adding/deleting games on the main games page
    Added in 1.3.42
  • Add on for Board 3 Portal including extra settings in the ACP
  • General code cleanup
  • General template cleanup
    Added in 1.4.0
  • Total rewrite of code for viewtopic. Now only makes 2 calls to the database
  • Fixed Javascript files blocked by phpBB 3.0.8
  • Fixed Missing edit for Subsilver posting_body.html
    Added in 1.4.1
  • Fixed errors in portal addon
  • Fixed portal detection in ACP.(checks for portal config instead of looking for portal.php in root directory)
  • Added ACP option to limit how many games show in viewtopic.
  • Added ACP option to show extended statistics option on index page(Most popular game and Latest game added)

Still to do
  • Permissions for using games UCP
  • Option for admins only to add/delete games for users
  • Look at layout on all pages
  • Ability to see who has shared games to you
  • View 'my games' on games page
  • Option for displaying games in small size on main games page.
  • Option to use the image hover feature
  • ACP option to limit how many games show in view profile
  • 1-10 Rating for games
  • Additional info for games. Genre, Age Rating etc(give me some suggestions)
  • Highlight letter/category of current page in games.php
  • Logging for adding/editing games
  • Review system(long way off)



Additional links
Last edited by madmartyau on Mon Jul 11, 2011 1:28 am, edited 76 times in total.
Call me Grumpy.

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod

Post by madmartyau » Sat Oct 17, 2009 4:46 am

Here are some screenshots.

Mod installation Screen
Image

Mod Installed
Image

ACP Config
Image

ACP Games Listing
Image

ACP Cat Listing
Image

Prosilver UCP Games Owned
Image

Prosilver UCP Games Shared
Image

Prosilver Games Page
Image

Prosilver Games on index
Image

Prosilver Viewprofile
Image

Prosilver Viewtopic
Image

Subsilver2 UCP Games owned
Image

Subsilver UCP Games shared
Image

Subsilver Games page
Image

Subsilver on index
Image

Subsilver Viewprofile
Image

Subsilver Viewtopic
Image
Last edited by madmartyau on Fri Feb 26, 2010 12:03 pm, edited 1 time in total.
Call me Grumpy.

lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: [BETA]Games mod

Post by lovelysummer » Sat Oct 17, 2009 5:11 am

Could I use this for aquarium fish ? :geek:

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod

Post by madmartyau » Sat Oct 17, 2009 6:09 am

lovelysummer wrote:Could I use this for aquarium fish ? :geek:
There's no reason why not. You'd just have to change the language files to say fish instead of games.
Call me Grumpy.

F.Gozalo
Registered User
Posts: 82
Joined: Thu Jun 26, 2008 3:01 pm

Re: [BETA]Games mod

Post by F.Gozalo » Sat Oct 17, 2009 8:18 am

Hi there, congrats on the first release. I know it is early and all, but I would like to request the implementation of a description field, much like the medal mod, just so other users who don't own the game, can read and get some info about it.

One other thing I would like to ask is, if it is possible in the view games (under signature), the games are not separated in lines by genre, making the most use of all horizontal space available. <--- If it's possible to do so, and you can provide instructions that would be much appreciated.

Once again, THANK YOU VERY MUCH!

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod

Post by madmartyau » Sat Oct 17, 2009 8:28 am

F.Gozalo wrote:Hi there, congrats on the first release. I know it is early and all, but I would like to request the implementation of a description field, much like the medal mod, just so other users who don't own the game, can read and get some info about it.

One other thing I would like to ask is, if it is possible in the view games (under signature), the games are not separated in lines by genre, making the most use of all horizontal space available. <--- If it's possible to do so, and you can provide instructions that would be much appreciated.

Once again, THANK YOU VERY MUCH!
Thanks.

It shouldn't be too hard to add the description field in. I'll get back to you on that one.

As for the other thing,
OPEN
includes/games_viewtopic.php
FIND

Code: Select all

IF ((!$FIRSTRUN) && ($THISCAT <> $LASTCAT))
							{
							$template->assign_block_vars('postrow.game.game_row', array(
								'S_NEWCAT'     => TRUE,
								));
							}
Remove it.
Call me Grumpy.

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA]Games mod

Post by darkonia » Sat Oct 17, 2009 9:14 am

is there an option in acp, where the admin can limit the number of games that is showing in signature and memberlist_view.html?

an cool extra feature where when in memberlist_view.html (profile) could be a pagination by the games, example: in acp the admin limit the number of games in profile of 50 and the pagination shows every site only 10 games...so the profile will be not to big, showing to much games at once xD
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod

Post by madmartyau » Sat Oct 17, 2009 11:46 am

darkonia wrote:is there an option in acp, where the admin can limit the number of games that is showing in signature and memberlist_view.html?

an cool extra feature where when in memberlist_view.html (profile) could be a pagination by the games, example: in acp the admin limit the number of games in profile of 50 and the pagination shows every site only 10 games...so the profile will be not to big, showing to much games at once xD
I could add an option to limit the number of games shown but it would sort of defeat the purpose of the mod.
I created it for my gaming site so that people could show off how many games they own as well as being able to see who else has them. One of the reasons I added the javascript switch for showing the games in viewtopic is so that the screen is not overrun with gametiles.

I'll add it to a list of possible changes.
Call me Grumpy.

F.Gozalo
Registered User
Posts: 82
Joined: Thu Jun 26, 2008 3:01 pm

Re: [BETA]Games mod

Post by F.Gozalo » Sat Oct 17, 2009 3:51 pm

Fantastic! Now I'lll just sit tight and wait for the description field. Meanwhile I'm going to translate it to PT_BR (Brazilian Portuguese).

On a side note, I realized that I cannot add categories in my national language, because since those are related to the Folder's name, they cannot contain any special characters. For a future patch or something, maybe you can find a way to allow the categories to be named whatever we want while allowing us to select which folders they are related to so in example, I can have my category named: Race Simulation, the folder with the game images can be named just Racing. (This makes more sense for those that don't use English on their forums).

I would also like to provide you with a template for game boxes so you can use on your forum and distribute it to others as well, I take no credit for them, but they are extremelly useful.

http://www.mediafire.com/?sharekey=2043 ... b9a8902bda

Enjoy, cheers!

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod 1.2.1

Post by madmartyau » Sun Oct 18, 2009 2:07 am

New version with optional description field has been uploaded.
Call me Grumpy.

F.Gozalo
Registered User
Posts: 82
Joined: Thu Jun 26, 2008 3:01 pm

Re: [BETA]Games mod 1.2.1

Post by F.Gozalo » Sun Oct 18, 2009 3:44 am

Hi, that was fast! I've just updated. The description field is very nice, but it doesn't accept special characters, is there a way to allow it?

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod 1.2.1

Post by madmartyau » Sun Oct 18, 2009 4:11 am

F.Gozalo wrote:Hi, that was fast! I've just updated. The description field is very nice, but it doesn't accept special characters, is there a way to allow it?
The package has been updated or just
OPEN
includes/acp/acp_games.php
FIND

Code: Select all

$description = request_var('description', '');
REPLACE WITH

Code: Select all

$description = utf8_normalize_nfc(request_var('description', '',true));
Do this twice as it is in two places. editgamesql and addgamesql.
Call me Grumpy.

F.Gozalo
Registered User
Posts: 82
Joined: Thu Jun 26, 2008 3:01 pm

Re: [BETA]Games mod 1.2.1

Post by F.Gozalo » Sun Oct 18, 2009 4:51 am

Cheers!

Don't hate me so much for asking too many questions, this happens because I know very little. Since the 1st version you sent me, my ACP Games panel looks like this.

Image

Any particular reason for this? I got no complains, but is just makes impossible to edit the games on the 2nd row. Not much, since I do all edits in directly in the SQL.

Can you help me, fix this, or is it supposed to look like it?

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod 1.2.1

Post by madmartyau » Sun Oct 18, 2009 5:49 am

F.Gozalo wrote:Cheers!

Don't hate me so much for asking too many questions, this happens because I know very little. Since the 1st version you sent me, my ACP Games panel looks like this.
No it should look like this.
Image

Open
adm/style/acp_games_cat.html
FIND

Code: Select all

<div class="clearfix">&nbsp;</div>
<form id="module" method="post">

<fieldset class="quick" style="float: left;">
	<input type="text" name="game_name" maxlength="30" /> 
	<input class="button2" name="addgame" type="submit" value="{L_ACP_CREATE_GAME}" />
</fieldset>

</form>
REPLACE WITH

Code: Select all

<form id="module" method="post">
<fieldset class="quick" style="float: left;">
	<input type="text" name="game_name" maxlength="30" /> 
	<input class="button2" name="addgame" type="submit" value="{L_ACP_CREATE_GAME}" />
</fieldset>
</form>
<div class="clearfix">&nbsp;</div>
<br />
This will be fixed in the next release. I'm guessing you're using safari?
And I don't hate you for asking questions. :lol: Your helping me iron out any bugs. For that I thank you.
Call me Grumpy.

User avatar
madmartyau
Registered User
Posts: 440
Joined: Sun Sep 12, 2004 12:42 pm
Location: Brisbane,Australia
Name: Marty
Contact:

Re: [BETA]Games mod 1.2.1

Post by madmartyau » Mon Oct 19, 2009 3:06 am

A new version with bug fixes and subsilver2 templates should be ready soon.
Call me Grumpy.

Locked

Return to “[3.0.x] Abandoned MODs”

Who is online

Users browsing this forum: No registered users and 13 guests