View Full Version : Profile Enhancements - WP_RosterMod
wpeloquin
06-04-2011, 10:00 PM
Guild Roster
Background
-I looked for a good roster plugin that I could use on my site, but could not find one with the functionality that I wanted. The best I could find was by Sarcoth, and my inspiration to write this plugin came from his showroster addon (link). My roster homepage is modeled after his, so I am giving credit due where needed.
Right now, the default install is done based on the DDO Character model, but it should not be too hard to customize it to work with other games, such as WoW. My goal for a future release is to have it fully customizable to different games out-of-the-box.
This is also my first real addon, so any suggestions/etc. is welcomed.
Installation
-
Download the latest version of the addon (currently v1.1)
Upload roster.php to your forum root directory
Go to AdminCP -> Plugin & Products -> Manage Products -> Add/Import Product
Import product-wp_ddoroster.xml
Go to AdminCP -> Settings -> Options -> WP - DDO Roster Settings
Change settings as needed
Features
-
Specify what usergroups can use the addon
View summary screen showing all characters and which user owns the character
Enable/disable a statistics section at the bottom of the home page
View list of characters owned by a user
View detailed character screen with all stats
Enable/disable summary of characters owned in the postbit, with links to the character detail screens
Customizable phrases and roster name
Working breadcrumbs
Future Plans, Changes and Ideas
-
Add a tab to the user profile page showing a quick summary of toons
Make the class and race tables fully editable in the addon, in order to more easily customize to different games
Add the ability to upload a picture of the character
Make dropdown menu for the admin group for editing future options such as class, race, etc.
Add multi-guild/clan support.
Notes
-This mod is currently supported, but I cannot guarantee speedy service. School, work, volleyball, and of course, some light gaming and coding on the side...
Changelog
-
Version 1.0 - Initial Release Version
Version 1.1 - Added 'Artificer' class. NOTE: if you do not use this for DDO, this update is not needed.
wpeloquin
06-05-2011, 05:27 PM
Reserved
Harelin
06-05-2011, 08:33 PM
Thanks, more gaming/guild related mods are always appreciated, will be checking this out soon.
kardac.stenfot
06-10-2011, 08:34 AM
Will try this out during the weekend. Does it suport multiclans? Thats one thing i really miss with Sarcoths otherwise great mod.
wpeloquin
06-10-2011, 09:14 PM
I plan to build multiclan support into it, but it does not currently have that.
Zerandise
07-29-2011, 10:35 PM
This rocks wpeloquin! I do have a couple questions for you. This mod is what I have been looking for! I want to use it in a totally different light however and am unsure about the modding of it. Please let me know if you have some time. I fully understand if you dont but here is to hoping you do!!! Once again this is a killer mod!!!
sanadil
07-30-2011, 06:25 PM
Never thought I'd find a fellow DDO gamer here. I was looking at Sarcoths myself, but ended up writing my own as it didn't support multiple characters. I didn't go as far as you did with all the stats for the characters as my.ddo has most of that, I just added external links to my.ddo pages. You may be able to get all that info from my.ddo for yours, give them an option to "get stats" when entering the character, go out to my.ddo and pull the info down and populate.
I still haven't learned how to properly code for vBulletin yet, so I don't have the same clean look that you do. I'll be downloading this to take a peak how you did it and see if I can't mod mine a bit more ;)
Not much of a point to the post other than to give you huge props on getting this working.
If you want to check mine out you can head to http://www.inferussus.com and register. Its invis to those that are not.
wpeloquin
08-01-2011, 12:29 AM
@ zerandise: i sent you a PM.
@ sanadil: i thought about linking to my.ddo, and may still add that on the view character page, but i would much more prefer some sort of API to have the ability to pull the stats directly, which i don't believe they have at this point. Currently working on adding in an event signup that integrates with the calendar for creating raids and such, and allowing members to sign up. I also registered on your site, i like the clean look of how you used the vbadvanced for your roster. I plan on incorporating some sort of sorting like you have, just maybe not as in-depth!
sanadil
08-02-2011, 12:33 PM
No API makes it more difficult for sure, but you can use a CURL and yank the data down yourself and regular expressions to parse it. Its how I'm doing the Renown charts daily, and something similar for the raid timers in the game guide.
I'd say I'm willing to offer my code for how I sorted, but it may require some significant changes in your code. I'm passing it all on the URL, and adjust the order by based on what it gets.
Sarcoth
08-02-2011, 03:38 PM
Nice work. I like what you have done with it. The problem with my members is that it is hard enough just asking them to keep their level and class updated. They'd kill me if I also asked them to keep their stats up to date. :)
Sarcoth
08-02-2011, 03:41 PM
@ zerandise: i sent you a PM.
@ sanadil: i thought about linking to my.ddo, and may still add that on the view character page, but i would much more prefer some sort of API to have the ability to pull the stats directly, which i don't believe they have at this point. Currently working on adding in an event signup that integrates with the calendar for creating raids and such, and allowing members to sign up. I also registered on your site, i like the clean look of how you used the vbadvanced for your roster. I plan on incorporating some sort of sorting like you have, just maybe not as in-depth!
If I may, from someone that speaks from some experience, I recommend making the event sign-up additions as a separate mod. This way, if you move to another game in the future, you can update your roster mod without having to touch the event sign-up mod. Plus, there may be a lot of people that want to use one and not the other. Just a suggestion. :)
wpeloquin
08-08-2011, 11:28 PM
If I may, from someone that speaks from some experience, I recommend making the event sign-up additions as a separate mod. This way, if you move to another game in the future, you can update your roster mod without having to touch the event sign-up mod. Plus, there may be a lot of people that want to use one and not the other. Just a suggestion. :)This is a good idea. I plan to make it a bit more customizable, so that it can be easily used for multiple games out-of-the-box, and right now on my demosite i have a switch to turn off the event part, as well as customize sections of it, but i'll try splitting it off and see how that works. thanks sarcoth
thecore762
08-09-2011, 05:53 AM
Can you make it more FPS type friendly? Right now the many options sometimes can make it very confusing.
Is it possibly implement an option such as pre-customized roster options?
For example set a customization for steam games, or world of warcraft or battlefield series...and so on.
It would be nice.
wpeloquin
08-12-2011, 08:13 PM
I will be making it so that the categories and such are much more customizable, to make it more useful for multiple games.
What kind of options would be useful for an FPS game? I only ever really played CS, not sure how this would be useful for a game like that, but not familiar with many other FPS games.
Vick98
12-03-2011, 09:00 PM
Does this mod support other games as suggested and does this work for the latest vB version 4.1.8?
Kiint
05-26-2012, 04:06 PM
Any plans for an update on this? I'm looking for a roster for Starwars The Old Republic and this one looks great. Would love to be able to customise it for what I need :)
Kiint
05-27-2012, 05:54 PM
What I would specifically like is a roster with these options for every character:
Character Name: (text field)
Main character name (links to main character on roster)
Guild Rank (1 - 10 options)
Level (drop down list, numbers 1-50)
Class (drop down list with 8-10 options)
Adv Class (drop down list with 16 options)
Speciality 1 (droip down list with 20 options)
Speciality 2 (same as above)
Skills (3 dropdown boxes with 10-15 options)
If you get time would this be a possibility? would be a nice addition to the mod :)
Kiint
05-31-2012, 10:49 AM
Been playing around with this mod but noticed a little error on vb 4.2 and that's the same as Sarcoths Customizable roster, the sub nav menu's are overlapping the default sub navs. He posted a fix for his roster but needs the same thing done for this mod.
Kiint
09-05-2012, 10:14 AM
I've been modifying the code on this to create seperate groups of what I call "ranks", Similar to what Sarcoth has created here: https://vborg.vbsupport.ru/showthread.php?t=235326 but his is generated from the vb profile and you are unable to add multiple characters for each user.
I've created a seperate table with several different ranks and I've hardcoded each rank to display in the order I want, that's 6 different ranks, but with a seperate query to the database for each of them, so 6 lots of queries, 6 sets of templates...
Could anyone give me some basic info on how to do this with a single query and a single template to display each rank, basically some sql to select all the members of a rank depending on what the rank is in the second table which is built like this:
|RankID | Rank Description|
1 Officer
2 Member
3 Recruit
So the page would dynamically display the groups depending on how many ranks there were.
I know only basic coding, and know that you'd have to store each set of records in an array of some kind, but lack the knowlege on how to do this.
Can anyone point me in the right direction on how to do this please?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.