Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Customizable Roster Details »»
Customizable Roster
Version: 4.1.0, by Sarcoth Sarcoth is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.1.0 Rating:
Released: 02-07-2010 Last Update: 01-04-2011 Installs: 318
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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.
Delete the bitfield_showroster.xml in the /forum/includes/xml/ directory (if there).
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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
KorvinGump

Comments
  #342  
Old 11-08-2010, 11:33 AM
stalkertj stalkertj is offline
 
Join Date: Dec 2008
Location: Wisconsin
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shanef View Post
Hello, i very much like your work and appreciate you work. i use your script for a staff page instead of a roster page. I was wondering if there is way you can make it pull up more profile information. We are making a new console gaming site and it would be great if it could pull there psn ids and xbox gamer tags out of there profile aswell and maybe link in there contact info like messenger, yahoo. don't know if this would be a nightmare for you but you don't know if u don't ask right


you can see how i'm using it here:

http://killing4cash.com/forum/showroster.php
You can go off of what is posted here, and work it from there... as I've done the same thing.

https://vborg.vbsupport.ru/showpost....&postcount=130
Reply With Quote
  #343  
Old 11-08-2010, 02:39 PM
stalkertj stalkertj is offline
 
Join Date: Dec 2008
Location: Wisconsin
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have a clue why my avatars on the roster page all show the "no avatar selected" default image?

My regular memberslist shows avatars on everyone....
Reply With Quote
  #344  
Old 11-18-2010, 02:56 PM
ShadeDL ShadeDL is offline
 
Join Date: Mar 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a slight issue. I had this roster installed before, but it was disabled. I enabled it today and it was giving me some sort of syntax error so I uninstalled it. I then reinstalled it, and now it isn't giving me any error, its just showing a blank showroster.php. Any ideas on how to fix this? I am using the latest version of vBulletin, and the latest version of this mod.
Reply With Quote
  #345  
Old 12-07-2010, 01:07 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

School is out. I need to update a few things on my site, but then I'd like to start looking into a few upgrades for this. I'll respond to questions if you have them as well.
Reply With Quote
  #346  
Old 12-07-2010, 01:42 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great to hear Sarcoth mate!
One of the best mos we have for Vbull 4 and great to hear its gonna be getting even more updates to keep it ahead of the rest!
Thanks
Reply With Quote
  #347  
Old 12-07-2010, 05:06 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rammieone View Post
Great to hear Sarcoth mate!
One of the best mos we have for Vbull 4 and great to hear its gonna be getting even more updates to keep it ahead of the rest!
Thanks
Here, here!!
Reply With Quote
  #348  
Old 12-07-2010, 06:26 PM
MISTER2 MISTER2 is offline
 
Join Date: Feb 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have mod 4.0.5 installed vB 4.0.8

Problem I am experiencing is that custom PRIVATE profile fields are showing on the Showroster regardless of usergroup.

Example: Phone number is a private field that is only visible to certain usergroups. I have verified this and tested it. However in the roster (which is viewable to all) the phone number field shows on the roster for everyone including unregistered / not logged in.

Other than making the roster not viewable by usergroup, I can't seem to find out how to make private fields remain usergroup specific.
Reply With Quote
  #349  
Old 12-07-2010, 07:06 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Rammie & Charlie.

Quote:
Originally Posted by MISTER2 View Post
I have mod 4.0.5 installed vB 4.0.8

Problem I am experiencing is that custom PRIVATE profile fields are showing on the Showroster regardless of usergroup.

Example: Phone number is a private field that is only visible to certain usergroups. I have verified this and tested it. However in the roster (which is viewable to all) the phone number field shows on the roster for everyone including unregistered / not logged in.

Other than making the roster not viewable by usergroup, I can't seem to find out how to make private fields remain usergroup specific.
This mod doesn't care whether the fields are private or not. It can restrict the entire roster from being visible to certain groups, but not specific fields. The thing to remember here is that columns in the memberlist page is similar, but different to the roster. All or none.

Now, that that is out of the way, let's see if we can come up with a custom way for you to restrict the columns you want restricted.

You'll need to most likely only edit your showroster_header and showroster_userbits templates. Put this around any of your columns, I'll use column 8 as the example:

In the showroster_header template:
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th]"><th class="showroster_columnhead">{vb:var columns.title8}</th></vb:if></vb:if>

In the showroster_userbits template:
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column8]}}</td></vb:if></vb:if>
Change the 5,6,7 to all usergroups you want to see those columns. The list can be unlimited, just remember to put comma's between them, no space.

Let me know if that fixes your issue.

Don't forget to mark installed and give the mod a rating if you like it.
Reply With Quote
  #350  
Old 12-07-2010, 08:35 PM
MISTER2 MISTER2 is offline
 
Join Date: Feb 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
You'll need to most likely only edit your showroster_header and showroster_userbits templates. Put this around any of your columns, I'll use column 8 as the example:

In the showroster_header template:
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th]"><th class="showroster_columnhead">{vb:var columns.title8}</th></vb:if></vb:if>

In the showroster_userbits template:
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column8]}}</td></vb:if></vb:if>
Change the 5,6,7 to all usergroups you want to see those columns. The list can be unlimited, just remember to put comma's between them, no space.

Let me know if that fixes your issue.

Don't forget to mark installed and give the mod a rating if you like it.
That worked, Thanks!

[installed] [Excellent]
Reply With Quote
  #351  
Old 12-08-2010, 02:15 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am glad that worked Mister.

Now to answer an old question: How do I remove the Roster navbar tab? Easy enough and I will make it an option in the next version. Edit the showroster_navbar template, find and delete the following code:

HTML Code:
<a class="navtab" href="showroster.php{vb:raw session.sessionurl_q}">Roster</a>
I am planning to make it so you can rename or remove that tab in the future. I'm also hoping to finally get the code for moving it around to work.

This past week I added another chapter for my guild so now my guild is sharing one forum and playing two games. I was able to successfully get those chapters split and using the same roster separately. Very cool to see it working. Although, I did notice a problem I am going to try and fix. Even though I can split the roster, both chapters need to use the same headers and class choices. This really is not a big deal, but can be a problem if you also use the Stats option. I don't know how I can fix that at the moment, but I'll think on it. Finally, when trying to sort via the individual chapters, the sorting does not remember the current id's and forces all groups to be sorted.

Those are a few things I'd like to update, and I'm sure I'll think of more. I would prefer not adding even more options to this mod, but I'll do what I have to.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05317 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete