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
  #312  
Old 09-11-2010, 05:46 PM
jlevi jlevi is offline
 
Join Date: Sep 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
I think I'm just going to release another version next week with the filter off by default. Please read the FAQ.
OK, thanks, it's working now. Another question - is it possible to have images in a custom column, e.g. rank images?
Reply With Quote
  #313  
Old 09-11-2010, 06:43 PM
Foxtrotelite Foxtrotelite is offline
 
Join Date: Mar 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you show me the code for aligning columns? I just upgraded to the newest showroster version and the code looks a little different. Here is what I used to have:
Code:
<vb:if condition="$show[field1st]"><td nowrap="nowrap" align="center" width="13%">{vb:var userinfo.{vb:var columns[column1]}}</td></vb:if>
Here is what i have now:
Code:
<vb:if condition="$show[field1st] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column1]}}</td></vb:if>
Reply With Quote
  #314  
Old 09-12-2010, 01:48 PM
owning_y0u owning_y0u is offline
 
Join Date: Dec 2008
Location: Netherlands
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i make that the roster is only showing the member 1 time?

little example

user X is in Group B and in Group C

but i dont want to see user X in group C on the roster cause it counts this users as a new user.
Reply With Quote
  #315  
Old 09-13-2010, 12:18 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jlevi View Post
OK, thanks, it's working now. Another question - is it possible to have images in a custom column, e.g. rank images?
Do a search on rank in this mod.

Quote:
Originally Posted by Foxtrotelite View Post
Could you show me the code for aligning columns? I just upgraded to the newest showroster version and the code looks a little different. Here is what I used to have:
Code:
<vb:if condition="$show[field1st]"><td nowrap="nowrap" align="center" width="13%">{vb:var userinfo.{vb:var columns[column1]}}</td></vb:if>
Here is what i have now:
Code:
<vb:if condition="$show[field1st] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column1]}}</td></vb:if>
I think you would only have to change the <td> to <td nowrap="nowrap" align="center" width="13%">. Most of this is controlled from the css template now though. Let me know if that does not work and I'll look into it further.

Quote:
Originally Posted by owning_y0u View Post
how can i make that the roster is only showing the member 1 time?

little example

user X is in Group B and in Group C

but i dont want to see user X in group C on the roster cause it counts this users as a new user.
The only way is by controlling whether you can see members in their usergroup or secondary groups. I will tell you how to do this, but if you want to allow some members to be shown in their usergroup and some in their member groups, then your request is not possible with the current code. Does that make sense?

If user1 has a primary group A, and secondary group B, I can tell you how set up the features so you only see them in group A or group B. But, once you choose to go with the primary or secondary groups, then it is like that for ALL users.

So, let's say you choose the secondary group option. Now user1 shows on the roster in group B. You have user2 in the primary group B, and in the secondary group A. He will only show in group A b/c it is his secondary group.

Let me know your plan and I'll tell you how to do it.
Reply With Quote
  #316  
Old 09-16-2010, 01:27 PM
unknown22 unknown22 is offline
 
Join Date: Aug 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I add post count on the roster? Turn it into a user field or something?
Reply With Quote
  #317  
Old 09-20-2010, 11:46 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by unknown22 View Post
How can I add post count on the roster? Turn it into a user field or something?
This is the code for post count: {vb:var userinfo.field27}

Just put that in place of one of the other fields. Don't add an extra column since that will cause some other code to break. You need to replace one of the fields already in there.
Reply With Quote
  #318  
Old 09-22-2010, 01:52 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only problem I have is with the newer versions of this is the CSS layout. On a light colored background the Black lines around the cells just looks wrong.

Compare these for what I mean:
Nice, fitting CSS - http://forums.texas-fbody.org/showroster.php
Default CSS - http://www.texasfba.com/test/showroster.php

Also, for a future request
Can you make the NavBar Tab Label customizable?
Reply With Quote
  #319  
Old 09-22-2010, 06:27 PM
unknown22 unknown22 is offline
 
Join Date: Aug 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
This is the code for post count: {vb:var userinfo.field27}

Just put that in place of one of the other fields. Don't add an extra column since that will cause some other code to break. You need to replace one of the fields already in there.
Won't work

Entered it under User Name (column 1)
{vb:var userinfo.field27}

and just field27 didn't work

tried on an empty column number 4 which is not in use nothing
Reply With Quote
  #320  
Old 09-22-2010, 06:46 PM
PreciseDemise PreciseDemise is offline
 
Join Date: Jun 2010
Location: England
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NICE! Dude, this is sweet. I'm impressed, this is a must for all Clans, lots of options, lots of customisation, AbFab =)
Reply With Quote
  #321  
Old 09-22-2010, 07:50 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dragonsys View Post
The only problem I have is with the newer versions of this is the CSS layout. On a light colored background the Black lines around the cells just looks wrong.

Compare these for what I mean:
Nice, fitting CSS - http://forums.texas-fbody.org/showroster.php
Default CSS - http://www.texasfba.com/test/showroster.php

Also, for a future request
Can you make the NavBar Tab Label customizable?
I'll see what I can do about the CSS. Can you list the changes you made in your "Nice, fitting CSS". I'll test it out and see if I like it for the default. Otherwise, I can list your CSS changes in the FAQ.

In regards to the NavBar Tab label...you know, I had meant to do that in the last version so I'll eventually get around to doing that in the next version. I'll go add that to the Things to do so I don't forget. I probably won't do another version till December and most likely I'll forget requests.

Quote:
Originally Posted by unknown22 View Post
Won't work

Entered it under User Name (column 1)
{vb:var userinfo.field27}

and just field27 didn't work

tried on an empty column number 4 which is not in use nothing
I'll look into this later this week.
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 11:04 PM.


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.08143 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
  • (4)bbcode_code
  • (8)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