![]() |
Customizable Roster
1 Attachment(s)
Customizable Roster Introduction: This Mod is ideal for a Guild/Clan roster, but it is also a great replacement for the memberlist. Customize it any way you like: add or remove columns with just a few easy edits. The installer includes permission control that allows you to set which groups appear on the roster and which ones can view it. The most popular option is the ability to control advanced sorting; check it out! Installation: Step 0: If you are upgrading from a previous version, save a copy of your old showroster.php and rename your showroster templates (I recommend giving them an underscore prefix; Example: _SHOWROSTER). When upgrading from version, make a copy of all your templates, then revert the templates back to their default, and then uninstall the older version. Also, make sure you delete the bitfield_showroster.xml file in the /includes/xml directory; this will cause database errors if not deleted. Step 1: Download the showroster_vX.X.X.zip file and unzip it. Step 2: Upload the files to their correct directories. Upload the showroster.php to the /forum/ directory.Step 3: Admincp > Plugin & Products > Manage Products > Add/Import Product Import the product-showroster_v4.x.x.xml file.Step 4: Admincp > User Profile Fields > Add New/Update User Profile Field Add all the Profile Fields you plan to use and keep track of their number(s) (i.e. field6, field7, etc.).Step 5: Admincp > Settings > Options > ShowRoster Settings Update the settings for your roster: usergroups allowed to view the roster, usergroups that are displayed on the roster, the title and field# for each of your columns on the roster, and any of the many other settings.Step 6: Admincp > Styles & Templates > Expand > ShowRoster Templates > SHOWROSTER, showroster_header, and showroster_userbits You only need to adjust these if you have custom adjustments to make. Otherwise, there is no longer a need to change these.NOTE: See installation and upgrading instructions in the included corresponding txt files. Version Updates: See 2nd post. FAQ: See 3rd post. Screenshots: See 4th post. PLEASE CLICK INSTALLED. Support will be given to those that do. |
Version Updates:
Version 4.0.0 - February 8, 2010
Version 4.0.1 - March 11, 2010
Version 4.0.2 - March 17, 2010
Version 4.0.3 - March 25, 2010
Version 4.0.4 - July 24, 2010
Version 4.0.5 - August 12, 2010
Version 4.1.0 - January 4, 2011
Future Releases: Completed: Possible Future Add-ons:
|
Main FAQ
Q: I set the "Usergroups displayed on the roster", yet none of those users are appearing! What is wrong? A: Calm down. You probably have the following set: "Choose a field to be filtered (I.E. field7). Users that leave this field blank will not appear on the roster." Make that field blank until you are ready to use it. Advanced Usergroup Settings FAQ Q: What is the Primary/Secondary usergroup setting? A: All users on your forum are placed in a Primary Usergroup. Some are also added to Additional Usergroups (membergroups). You would use this setting if you want to have your users only in Primary Usergroups or Additional Usergroups to appear on your roster. By default, both options are used. This means, if you have two usergroups shown on your roster, then a user could appear twice on the roster if they are in both usergroups. Most should not need this feature, but feel free to play with it if you like. Q: What about using the m= function for my roster? A: You will need to turn on the Primary/Secondary usergroup setting to use this function. This will allow you to have a default roster, and then use the ?m= function if you would like to view the roster in other ways. m=1 is used if you want to see users in both the primary/secondary groups, m=2 is used to view users only in the primary groups, and m=3 is used to view users only in the secondary groups. Q: What is the ID usergroup setting? A: This is the main setting that will allow you to have multiple rosters. It can be used in conjunction with the primary/secondary usergroup setting for more indepth rosters. Just add an ?id= followed by all the usergroups you want to view (comma separated), and it will display those usergroups for you. I.E. showroster?id=13,14,15,16. Q: What about the ID usergroup block setting? A: This setting is for security purposes and allows you to block certain usergroups from being displayed with the ?id= setting. After all, we don't want anyone to stumble across any of your private groups and have access to all the users in that group. I'll add things here as questions come up. |
1 Attachment(s)
Screenshots
|
Reserved.
|
wow
nice work ! |
Superb looking i will give this a try tonight many thanks!!
|
Yours looks so much nicer than mine: http://flotgaming.net/forums/showroster.php
Am I missing something? It appears it shows the user groups based on their user group ID. Is there a way to change this? The reason I ask is because on my page, it shows the regular clan members before the admins. I'd like the admins listed first. |
is there a way to select a specific usergroup out and only show that one
ie ..... showroster.php?group=301 whereas 301 is the usergroup id |
Installed! Great! Easy to manage all my site members now!
Question... How do I order in which order the usergroups appear from top to bottom? www.brotherhoodofgamers.com/showroster.php |
Quote:
|
Quote:
BTW, if you want me to look at your roster you'll need to turn on the access for unregistered. :) |
Quote:
|
Quote:
|
Quote:
Anyway my Steam ID is: STEAM_0:1:17768031 It should link to my profile at: http://steamcommunity.com/id/bogbouncer What also shows up on that roster is Steam Player ID but its named as Xfire at the moment of this post by accident...will fix that, that one is: bogbouncer (as you can see its on the link after /id/ And I looked at the extra txt file.. there was nothing about making the usergroups in a certain order I believe. Thanks. |
Quote:
|
The ids we use as a community to identify players.. not gonna explain exactly right now..
Here is the html to convert it https://forums.alliedmods.net/showth...=60899&page=24 That's not the first post of that thread through just so you know, but I think that poster's html is the best. Hopefully you can figure out how to incorporate it so it does it automatically? |
BTW I would like the actual STEAM ID to remain as numbers, just that when you click on it.. it leads them to their profile page. So basically it would convert it in the "background"
|
Quote:
Quote:
Quote:
Change to: if ($grouporder == '') { $grouporder = 'DESC'; } |
Quote:
|
Sweet man, thanks for taking a step out to help me out on this and even offering it without me asking for it! Really appreciated and makes it much easier to manage our members!
Let me know when its ready. |
Sorry for another post... but that thread I linked to might confuse you a bit.. so here is the actual converter! http://forums.alliedmods.net/showpos...&postcount=118
|
Hi Guys,
I'm hoping you may be able to help as im being really stupid and cant remember how to get this working correctly. On the rosta i want to be able to add a piece of text in that is a url thats pre-defined i.e in field 5 i have it set to Armory Page that in their profile they just put the word Grushdeva and then on the rosta it will show "Grushdeva" but when you click on it it takes you through to www.thewebpage.com/Grushdeva. Here is what i have got in the showroster_userbits-: <tr> <td class="$bgclass"> $user[onlinestatus] <a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a> </td> <td class="$bgclass" nowrap="nowrap" align="center"><a href="http://eu.wowarmory.com/character-sheet.xml?r=Hellscream&cn=">$user[field5]</a></td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field6]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field7]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field8]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field9]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field12]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[field11]</td> <td class="$bgclass" nowrap="nowrap" align="center">$user[datejoined]</td> </tr> The problem i get is when you click on the name Grushdeva it just takes me to the first part of the url and doesnt add the name on the end. I hope that makes sense..... Can anyone tell me what ive done wrong in that code {Highlighted in red} so i can get it to recognize and add the name to the end of the url automatically from the info they fill out on their profile page? Thanks in advance Rob |
Quote:
Code:
<td class="$bgclass" nowrap="nowrap" align="center"><a href="http://eu.wowarmory.com/character-sheet.xml?r=Hellscream&cn=$user[field5]">$user[field5]</a></td> |
yea that worked thanks allot Sarcoth
|
Quote:
Just out of curiousity. Is there a reason you are using the SteamID# over the ProfileID? The later would only require a simple link that everyone uses and then it would grab the ProfileID for each person separately. |
We use steam id to better identify our members. So is it posible to make it clickable so that once u click it, it takes you to their profile?
|
Quote:
|
well there are different ways to get it... we use a program.. but the steam ids are already in people's profile, they are forced to put it in when they register. so its tied to a field.
Currently im having issues with my site 4.0.2 totally f*cked it up and its all messed up. |
So, you mean the SteamID# (STEAM_0:1:17768031) is generated by a program? It just seems strange to me that you do it this way. Use a program to generate a SteamID#, then you put that SteamID# into the profile field, and then you want to use more code to change the SteamID# back into your Steam profile name. What's the point? Wouldn't it just be easier to put in the Steam profile name and use that as a link?
For example, I just installed the Gamercard Blocks mod two days ago to try to understand what you are trying to do. But, there's nothing in that mod for the SteamID#, it instead just uses my steamcommunity/id/PROFILENAME. That to me seems the easier way to go. At least for the roster. My mod won't do anything special like pull in awards or groups from Steam, it would only be used to provide a link to the member's Steamcommunity home page...right? I may still look into it more on Monday, but I just want to understand the reasoning behind wanting to use the SteamID#. Personally, I'd rather focus on making this mod better myself. Current Plans & Status Update for this mod: I'm currently trying to make it more friendly so less edit's are needed. I'd really like to get it so you can do all the edits from the AdminCP rather than going into the code. I've converted all the template variables to the new vB4 format, so that is one thing that will definitely be done. I'd like to get the other part done too though before releasing the next version. |
K not to be offensive, but why does it matter how we get it as it is pretty irrelevant?
Our site is tied to our gaming servers, so we use Steam IDS to give out admin. Now with the steam id converter I posted earlier are you able to make the links clickable to go to their profile homepage? All I want is so once you click it, you go to their profile homepage on the steam community site. Simple as that. |
Well, I wanted to know so I could do some testing since I really don't like giving out untested code. I know a way is possible, but I was hoping to have all information in front of me before testing. I really don't want to ask again though so I'm going to pass. I have an alternative for you though that is a lot simpler and I've already tested it. Create another field and ask the users to enter their steamcommunity IDs (i.e. bogbouncer).
Then use that field to provide the link for your SteamID#. Basically, you'll still display only the SteamID#, but it will then use the other field to generate your link. Code:
<td class="$bgclass" nowrap="nowrap" align="center"><if condition="($user[field42] == '')">$user[field9]<else /><a href="http://steamcommunity.com/id/$user[field42]">$user[field9]</a></if></td> field42 = to the field number of your Steam Profile ID. (i.e. bogbouncer) Much easier. Enjoy and good luck with your roster. |
Quote:
If you want to make this permanent, then go into the showroster.php file: Find: PHP Code:
PHP Code:
If you want to make this one of the sorting options, go into the SHOWROSTER template: Find any of the sort fields, i.e.: Code:
<td class="tcat" width="14%" align="center"><a href="$sorturl&order=asc&groupsort=field11">Field11</a></td> Code:
<td class="tcat" width="14%" align="center"><a href="$sorturl&order=asc&groupsort=''">Users</a></td> |
STATUS UPDATE: I have given this mod a complete facelift. All of the old code has been converted to vB4 effectively. While trying to look for ways to do some things, I learned that a lot of vbulletin code has been changed, and because of that I was able to remove various things from mine (namely the functions). I still need to test the avatar and profilepic part, but everything else appears to be working.
My biggest roadblock right now is trying to find a way to move the permissions to an options menu rather than using the edit usergroup area. I was able to move the access permissions for that over, but I still don't know how to get the usergroups that need to be displayed on the roster moved. I also need to get the columns moved to the showroster option menu as well as some other things I am adding. My goal right now is to make it so you don't have to do any edits to the php or the templates (unless you require something outside what the default roster does). For those interested, I hope to have an update posted within the next two weeks. |
Heres a hard question...
If I have field 5, 6, 7, 8 displayed for all "normal" users but I want only fields 9, 10, 11 showing for certain users(or usegroups) how would I go about doing this? |
Is this mod working with 4.0.2?
|
How would i go about adding
Code:
<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option"> cheers in advance |
Quote:
Keep up the great work :up: |
Hey how can we re-order the way usergroups are listed?
Heres mine http://www.brotherhoodofgamers.com/showroster.php I wana re-order the way usergroups are listed top to bottom, and is it possible for me to put a centered image above each usergroup? If so how? Thanks. |
Quote:
Quote:
Quote:
Code:
<vb:if condition="$user[fieldXX]"><tr><td class="vbmenu_option"> Quote:
|
All times are GMT. The time now is 02:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|