XOOPS WoW Roster Author:Daelic | This XOOPS Module will take your guildroster.lua file, and save your guild roster into your xoops mysql database for redisplay within your website. The xoops API has been used where possible to completely integrate the module into your site, so there is very little configuration involved to get the module running.
Rather than harcoding the presentation layer, I've opted for theme support which will allows you to create& share themes. A basic theme (lite) is included. To create your own themes, some PHP knowledge is required, but it's still better than writing the entire thing on your own. ;)
Installation:
Upload the wowroster directory to {XOOPS_INSTALL}/modules, then go to your xoops control panel module installation screen. Locate the wowroster icon, and click the install button. All that you need to do now, is go to the administration screen for wowroster, and upload a valid guildroster.lua to populate the database.
Theme Functions:
GetMembers(PlayerClass, SortOrder, SortDirection{ASC|DESC}, Status (1|0) -GetMembers returns an array of members. Array order: Array[0] = id - Can be ignored, merely an index. Array[1] = Name - Name of Player Array[2] = Class - Class of player Array[3] = Level - Level of Player Array[4] = Rank - Guild Rank of Player Array[5] = Note - Public Note of Player Array[6] = Active - Binary switch, 1= guild member, 0= no longer in guild. GetMembers only returns Active=1 by default Array[7] = LastUpdate - Last time the entry was updated. MMDDYYHHMM
Example: GetMembers('Rogue','Level','ASC',1); This example would extract into an array, all active rogues, and sort the list by their level, lowest to highest.
GetClass() - This function returns an array of classes within your guild.
GetCount($Array) - This function returns a count for the query provided to it. For example, if you perform a GetMembers() query, and pass it to GetCount(), you would get the number of results gained from the GetMembers query.
Support:
Due to the difficulty of keeping track of multiple websites, please visit our dedicated website forums for all of your support needs, feature requests and bug reports.
Rate this Package: 1 2 3 4 5 6 7 8 9 10
| |
|