The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Customizable Roster Details »» | |||||||||||||||||||||||||
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. Show Your Support
|
4 благодарности(ей) от: | ||
KorvinGump |
Comments |
#32
|
|||
|
|||
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. |
#33
|
|||
|
|||
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. |
#34
|
|||
|
|||
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> |
#35
|
|||
|
|||
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. |
#36
|
|||
|
|||
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? |
#37
|
|||
|
|||
Is this mod working with 4.0.2?
|
#38
|
||||
|
||||
How would i go about adding
Code:
<vb:if condition="$post['fieldXX']"><tr><td class="vbmenu_option"> <iframe src="http://gamercard.xbox.com/{vb:raw post.fieldXX}.card" scrolling="no" frameBorder cheers in advance |
#39
|
||||
|
||||
Quote:
Keep up the great work :up: |
#40
|
|||
|
|||
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. |
#41
|
|||
|
|||
Quote:
Yes, it is working for me. Quote:
Code:
<vb:if condition="$user[fieldXX]"><tr><td class="vbmenu_option"> <iframe src="http://gamercard.xbox.com/$user[field15].card" scrolling="no" frameBorder Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|