A standalone Drupal 7.x module for creating and assigning Rank and Decorations to Drupal users that have been designated as Clan members. The module relates to gaming groups or clans that want to organize their members and assign awards pins.
Project Line: Clan Rank and Decoration
Git Repo: git clone http://git.drupal.org/sandbox/gflamino/1803994.git clan_rank_and_decorations
Demonstration site: http://clantastic.newnetwork.cc
-- CONFIGURATION --
Upon installation a new Clan Roster link will be visible in the Navigation menu.
Configuration (from README.txt)
1. As administrator, select the registered Drupal user to include in
the Clan Roster (Navigation Menu > Clan Roster > Edit Roster)
2. Define Ranks and Awards (Navigation Menu > Clan Roster > Rank Maintenance or
> Award Maintenance). Feel free to use the preload definitions.
3. Assign Ranks and Awards to individual Clan Roster members (Navigation Menu >
Clan Roster > Mass Rank Assign or > Mass Award Assign)
Review of other projects:
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Screen Shot 2013-01-13 at 11.01.40 PM.png | 62.41 KB | scott weston |
| #1 | Clan Rank and Decorations.txt | 35.14 KB | weebpal |
| 10-4-2012 7-13-28 PM.png | 24.74 KB | gflamino | |
| 10-4-2012 7-12-26 PM.png | 42.33 KB | gflamino | |
| 10-4-2012 7-11-14 PM.png | 47.98 KB | gflamino |
Comments
Comment #0.0
gflamino commentedadded project reviewed.
Comment #0.1
gflamino commentedadd project review and link to demo site.
Comment #1
weebpal commentedHi Gflamino,
- Your project is quite big, but the information we can read in your sandbox page is too little, please update it to help user easy to understand what is this project work for.
- Please check your project about Drupal Coding standard
Regards,
Steve Jan
Comment #2
issa.haddadinHello,
I did an automated project review for you, and i got some errors and warnings, please try to fix them.
http://ventral.org/pareview/httpgitdrupalorgsandboxgflamino1803994git
Good Luck.
Comment #3
gflamino commentedFixed.
Those 'errors' that remain are really data files (not code) that are used to pre-populate the tables. Makes it easier for users to get going. I won't be fixing these.
Comment #4
gflamino commentedHi Steve (and issahh),
Thank you for taking the time to review this project for me. I have updated the Sandbox page a bit to describe the project (and cut-and-pasted the relevant README.txt file's content).
This is a simple non-Core / non-commercial module. It is intended for entertainment purposes only. I am not looking for a collaborator or assistance in maintaining the code.
Comment #5
gflamino commentedthink i don't get the status process here. moved back to needs review.
Comment #5.0
gflamino commentedupdated repo link
Comment #6
adamelleston commentedDatabase tables
One thing with your db table names is that they are not all prefixed with your module name. I can see why you have probably not done this due to the length of the module. Maybe renaming the module to an acronym so its shorter? - http://drupal.org/node/2497#naming
Suggestion
I like the idea of being able to load dummy data, I wonder if there is a way to extend devel and devel generate. So you split your project into 2 modules. 1 for the actual functionality and one as a devel clan generate module. I think that would be awesome.
Spacing
There seems to be a lot of spacing between some array elements keys and values such as line 25 and 26 of your module file
I believe this should just be one space either side of =>
Errors after install
Install went fine but when I went to the following URL I got the following error messages
clan_rank_and_decorations/member/roster
I think this may have been related to my site only having a single user (uid: 1)
When I added a user to the clan the default image was missing /sites/default/files/clantastic/images/a0.png
Git folder in repo
There seems to be a folder "git.drupal.org sandbox" in the repo when I cloned it.
Overall
Other than the above the module works really well, the code looks good overall. My only suggestions would be to show the users clan info, rank, awards on their user profile maybe create a tab on their user page.
Remove the excess whitespace, rename the module or database tables and get rid of the "git.drupal.org sandbox" directory and I think its all good.
Comment #7
gflamino commentedHi Adam,
Thanks for taking the time to review my module - some good, clear comments.
I believe I've ticked off all of your concerns:
Thanks again!
Gil
Comment #8
roynilanjan commentedPlease have a look some code observation of technical point of view
or $_REQUEST if you want
keep it in the default behavior of this module weight.. because I think you have use system module function(system_admin_menu_block_page) in your custom callback(admin/config/clantastic_) but the url is different so in the execution of this function only depend on the url
Comment #9
gflamino commentedRoynilanjan, thank you for taking the time to review.
Removed: extraneous update of the system table (no longer necessary).
Fixed: a couple of bugs (i.e. 'admin/config/clantastic_') related to renaming the module to 'clantastic' (good catch!).
Comment #10
klausiThis application is not fixed? See http://drupal.org/node/532400
We are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #11
scott weston commentedI have manually reviewed the module there are a few items that I noticed:
There are numerous spelling errors in the inline comments. In clantastic.admin.inc:
When editing a member, I received the following errors:
(See attached Image)
Comment #12
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #12.0
PA robot commentedadded Configuration how-to instructions.