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
  #212  
Old 07-24-2010, 11:04 AM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update!
Reply With Quote
  #213  
Old 07-24-2010, 11:17 AM
koolasia koolasia is offline
 
Join Date: Apr 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to use this mod as an house system like we have in harry potter were points are alloted on diffrent aspects
Reply With Quote
  #214  
Old 07-24-2010, 03:47 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by koolasia View Post
Is it possible to use this mod as an house system like we have in harry potter were points are alloted on diffrent aspects
Sorry, but I really don't know what you mean. You can always try it out.
Reply With Quote
  #215  
Old 07-24-2010, 04:55 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by koolasia View Post
Is it possible to use this mod as an house system like we have in harry potter were points are alloted on diffrent aspects
this mod only displays a list of users who are members of a certain usergroup. So you could use it to display your Houses with their members.

As for the points, you would need a different mod. vBExperience 4 might be worth checking into.
Reply With Quote
  #216  
Old 07-25-2010, 08:32 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problems reported so far so I will assume all is well. I did realize I missed testing the sorting functions, so definitely let me know if you run into any problems there. I'll start working on adding a few more things I wanted in there and maybe have something ready before my fall semester begins.
Reply With Quote
  #217  
Old 07-26-2010, 04:50 AM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm confused on how to use the multiple-rosters thing.

What I'd like to do is have it display different profile fields if the roster is set to something else.

Like if it's displaying game 1, then fields 1,2,3 and if game 2, then fields 4,5,6.

Not sure if you can do that with the mod, but.. thought I'd ask.

If you can't, what exactly is the multiple roster thing for as well?
Reply With Quote
  #218  
Old 07-26-2010, 12:57 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
I'm confused on how to use the multiple-rosters thing.

What I'd like to do is have it display different profile fields if the roster is set to something else.

Like if it's displaying game 1, then fields 1,2,3 and if game 2, then fields 4,5,6.

Not sure if you can do that with the mod, but.. thought I'd ask.

If you can't, what exactly is the multiple roster thing for as well?
By default, you can't display different fields from one roster to another. I'd have to add a LOT more settings in the showroster settings to accomplish this. There are already 4 settings for each column, so I'd have to add another 8x4 for each time lines of settings just to accomplish one extra roster.

The multi-roster is meant to allow the viewers to see different rosters but using the same fields for each. For instance, my guild can be found in different games (Vanguard, AoC, etc.). If I want, I can display each guild on its own roster, but I would have to use the same profile fields to accomplish this. That could be a little annoying because I would have to set all the race/class names in the same profile field and then my members would have to go through a larger list, but oh well. They usually only need to set it once anyhow. You can also just use the multi-roster to show different grouping of usergroups. Say you want to just see Recruits, type in their usergroup id and there you go.

Now, I did say by default. That does not mean you can't get around this with a little extra coding. Something in the code like, if (usergroup = #), then column = field#. I'll test it out and let you know.
Reply With Quote
  #219  
Old 07-26-2010, 01:41 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you go Trek, try this out.

Find:
PHP Code:
            $userinfo['datejoined'] = vbdate($vbulletin->options['dateformat'], $userinfo['joindate'], true);
            
$userinfo['lastactive'] = vbdate($vbulletin->options['dateformat'], $userinfo['lastactivity'], true); 
Add Below:
PHP Code:
if ($userinfo['usergroupid'] == 19) { $columns['title1'] = "TEST"$columns['column1'] = "field12"; } 
Follow this rule. For "$userinfo['usergroupid'] == 19", use the usergroupid for the first group appearing on your alternative roster. This will cause the Title and field id for all following usergroups to use the same as the first. You will need to add additional code for each column you wish to change. Feel free to use this at your own discretion, it may break some things, I don't know. I can see a way to trim down the number of columns as well, if you want that, but I'll leave that one up to you.

Enjoy!
Reply With Quote
  #220  
Old 07-26-2010, 08:30 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the info Sarcoth, I'll fool around with it and see what I can break. =)
Reply With Quote
  #221  
Old 07-27-2010, 02:55 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
Thanks for the info Sarcoth, I'll fool around with it and see what I can break. =)
I did leave enough info for you right? I just realized that what I see as something easy may not be for someone that did not make a lot of this code. Basically, you keep adding more title# and column# within that new if statement for each column you want to change. I'll expand on it if you need me to though.
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 04:59 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.28668 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
  • (2)bbcode_php
  • (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