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
  #382  
Old 01-04-2011, 06:43 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, a full day spent on the navbar stuff. I thought I had it done yesterday, but I had to redo it again because I could not get the order setting to work. I removed the navbar code (mostly) from the php file and now it is completely done via the plugin. I renamed the template to navtab and created a new template called subnavtab to do the sorting. I had many problems getting it to work, but in the end, the subnavtab template will only show when on the showroster page (exactly what I wanted). Even if you disable the tab, you will still have access to the subnavtab sorting options. And, the order of the navtab has been completely removed from the settings and you will have to use the plugin execution order to change its order. You can still adjust the location in the ShowRoster settings though.

The subnavtab is rendered by the showroster.php file. The only problem I am having, not really sure it is a problem, but the subnavtab is rendered via a template_hook. Personally, I think it should be rendered another way, but everything I try does not work. I have no idea when the template_hook works especially since the code right after it does not do anything. It works this way though, so I guess I cannot complain; I have a headache.

I have all the above options completed except for the border (#7) and dropdown menu (#6). I think the dropdown will be easier now since I have the navtab code better designed, but I will have to put it off. No one has really asked for it anyhow and I ended up going another route with setting up my own personal navtab's for my site. If anyone is interested in the code I am using for dropdowns at my site (sacredhaven.org), let me know and I'll post my code here.

Anyhow, if I can complete the border code by tomorrow night I hope to have the update posted soon after or the following day. Barteh, I'll send you a PM soon on being the guinea pig since you volunteered.
Reply With Quote
  #383  
Old 01-04-2011, 10:16 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, so I finished it sooner than I thought I would. Please let me know if you find any problems. I will start working on the small requests tomorrow.
Reply With Quote
  #384  
Old 01-05-2011, 04:47 AM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mobo
2. Is it possible to have members added to a roster based on usergroup and custom user profile field?
Quote:
Originally Posted by Sarcoth View Post
@Mobo
1) If you mean to have them sorted by a custom field, then yes and I thought that was in the setup instructions that came with the mod. Check it out and let me know if not.
2) I'm not sure what you mean on that one. Let me know what you want to do with the roster and I'll tell you if it can be done or not.
Hi Sarcoth, thanks for getting back to me. On #2, I mean is it possible to have a conditional such as AND. So, if member is in usergroup X AND has profile field Y, then add them to the roster as type Z.

Does that make it easier to understand?
Reply With Quote
  #385  
Old 01-05-2011, 06:29 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Mobo - Since you are asking about two things the mod already has, I am guessing you know about them. The only way they work in conjunction is by affecting all usergroups. Sadly, there is no way in the code to affect just one usergroup and the missing profilefield.

Yet, there may be a way to do it. Give me a link to your site and show me exactly what you want to do. If it takes me less than 15 minutes to think up, I'll let you know what you can do. That is the timeframe I set aside for whether it is an easy fix. Easy ones I'm willing to do.
Reply With Quote
  #386  
Old 01-05-2011, 09:01 AM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My site is Wings of War Aerodrome, not sure if it will help you much though.

Basically I have two custom profile fields that members enter their location in. I'd like to use these two fields to determine which roster the member should be added to, and then use the usergroup ID to determine where on the roster they should be added (Commander, Leadership, or normal user for example).
Reply With Quote
  #387  
Old 01-05-2011, 11:46 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mobo View Post
Basically I have two custom profile fields that members enter their location in. I'd like to use these two fields to determine which roster the member should be added to,
It sounds like you want to put members into certain usergroups based off of what they put in their profilefields. That part lies outside the ability of the showroster mod. You'll probably need to find another mod that can do that.

Quote:
Originally Posted by Mobo View Post
and then use the usergroup ID to determine where on the roster they should be added (Commander, Leadership, or normal user for example).
This mod strictly works around usergroups and profilefields. The usergroups are what divide the users into the different groupings and the profilefields are the columns. You can prevent users from showing on the roster if they did not fill in a single profilefield, but that's the extent of it.

I may be wrong, I just woke up, but that is how it sounds to me. It definitely looks like a medium to large project though. I think I could do it, but I am only doing small fixes from now on. Sorry.
Reply With Quote
  #388  
Old 01-05-2011, 02:12 PM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worries man, thank you for looking into it.
Reply With Quote
  #389  
Old 01-05-2011, 03:45 PM
Antidepresiv Antidepresiv is offline
 
Join Date: Dec 2010
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Sarcoth, do you have time now to sort out that fixed width of columns ? Also, i have tried everything, but that "Show Online Status" does not work.. :/ Thank you Anti..
Reply With Quote
  #390  
Old 01-05-2011, 04:29 PM
tlwwolfseye's Avatar
tlwwolfseye tlwwolfseye is offline
 
Join Date: Dec 2008
Location: Germany
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What am I doing wrong here ?

I installed the mod, just like the instructions say. I set up the usergroups allowed to see, those to be shown and all that stuff. I added some profile fields for test to some members on the usergroup in question and filled them with infos.

Now I go to the Roster and its empty, and stays empty. What did I miss here ?

The board Version is 4.10 btw.
Reply With Quote
  #391  
Old 01-05-2011, 04:58 PM
Antidepresiv Antidepresiv is offline
 
Join Date: Dec 2010
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are missing this https://vborg.vbsupport.ru/showpost....87&postcount=3
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 05:08 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.11610 seconds
  • Memory Usage 2,340KB
  • 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_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