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
  #102  
Old 03-23-2010, 12:51 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Cozmic - Got it working. No changes to the showroster.php file. I'll repost the beta version for further testing. Just do an install, no need to reinstall Cozmic. BTW, the tab button order setting (What order would you like your Roster tab to appear on the Navbar?) doesn't work yet. I may have to remove that from the release.

If you have 4.0.2 installed, you will have to uninstall and do a fresh install of this version. MAKE SURE YOU DELETE THE BITFIELD_SHOWROSTER.XML FILE in the includes/xml folder before doing this install.
Attached Files
File Type: (21.4 KB, 5 views)
Reply With Quote
  #103  
Old 03-23-2010, 07:50 AM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome the tab is finally showing globally!

Also too is under "Permission Settings" ; "Usergroups displayed on the roster" I set it too show 26,25,21 but the view order is showing 26, 21, 25 can you make it so it forces the display order?

And another thing maybe way down the road would be to have the gamecard mod/ icons work with this like maybe even the actual banners since with a guild or clan it would come as a helpful addition since we both use xfire at least... Might be just allow the user field to be edited by whatever script those use from the post bit and have an example here how to add the script might be really simple just need to be able to edit the view field area...

But first things first...
Reply With Quote
  #104  
Old 03-23-2010, 11:29 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CoZmicShReddeR View Post
Awesome the tab is finally showing globally!

Also too is under "Permission Settings" ; "Usergroups displayed on the roster" I set it too show 26,25,21 but the view order is showing 26, 21, 25 can you make it so it forces the display order?

And another thing maybe way down the road would be to have the gamecard mod/ icons work with this like maybe even the actual banners since with a guild or clan it would come as a helpful addition since we both use xfire at least... Might be just allow the user field to be edited by whatever script those use from the post bit and have an example here how to add the script might be really simple just need to be able to edit the view field area...

But first things first...
I had to be sneaky to get that to work, but I'm glad it is working. In regards to those usergroupids displayed on the roster...I think the mod would have to be fully rebuilt to get it to do that. I've already looked at it once, and I just didn't see a way. There is an alternative though and I'm looking into it. You'll need to do what I do though. Change your usergroup titles to something so they are alphabetically. Take a look at my roster to see what I mean. I'll then see if I can use the Description or User Title for that Usergroup for display rather than the title.

It's easy to make adjustments to each private own roster, but I don't know about putting in those types of selections. That's something I'll probably add to the HOW TO document. Who knows though, we'll see.

I also still need to fix a small sorting malfunction, but I'll get to it tomorrow. Not to mention that I would like to get the avatar thing working, but without knowing what settings are preventing it...I'm having a hard time figuring out what to do there. Someone said they have avatar's off in the profile's, but what setting controls that?

I doubt I'll be available the rest of the day, so I'll check back this evening.
Reply With Quote
  #105  
Old 03-24-2010, 11:57 AM
Shadawg's Avatar
Shadawg Shadawg is offline
 
Join Date: Aug 2008
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I liked this mod, but it would be nice to have the usergroups displayed in whatever order wanted by using the i.d's, i.e. 6,2,8,12,7,5 etc....
Reply With Quote
  #106  
Old 03-24-2010, 02:24 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Cozmic - I was at a LabView programming seminar yesterday and a possible solution for arranging the usergroups came to me. Surprisingly, I actually got it working 5 minutes ago. I won't need to rewrite the code like I thought I might have to do. So, in the next version you will now be able to arrange the usergroups from the display field in the ShowRoster settings.

I still have to fix the sorting problem I found and the avatar's before I release it though.
Reply With Quote
  #107  
Old 03-24-2010, 04:21 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Frontrunner confirms that the avatars are working in this version as well, so that just leaves my sorting issue and this should be ready for release.
Reply With Quote
  #108  
Old 03-24-2010, 05:01 PM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I am excited you were able to fix the group sorting issue! Am eager to see what lies down the road with your abilities! Hopefully this hasn't been interfering with your studies too much!
Reply With Quote
  #109  
Old 03-24-2010, 10:02 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just need to say thanks again Sarcoth. While my use is far from the clan/guild it's pretty easy for anyone to modify this for just about any member list format they would care to have. I run a 4x4 club and have this set to provide a snapshot view of all members profile information including added fields, avatar, join/activity dates, etc.

Very nice for anyone wanting the perfect memberlist alternative.

*installed*
*nominated*
*very happy*
Reply With Quote
  #110  
Old 03-25-2010, 03:10 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Welcome. I was trying to get the release done before I went out for lunch, but sadly I encountered yet another problem with the sorting. The sorting is very tricky and probably the most difficult part of the coding. If and Switch statements make it do one thing or another and I'm even having a hard time keeping track of them now. Fun stuff though.

Anyhow, yesterday I had come to a decision that I just couldn't get the usergroup thing to work without breaking the sorting. I had given up. While I was typing the message here though, another idea came to me; and it worked. I figured, since sorting by usergroupid is only important when...SORTING by usergroupid, I could add an IF...Statement for that. Bingo, that did the trick. So, this way, when sorting via another field, it will use the old code for that which works for the other fields.

Well, that sounded all good, but while retesting things this morning after a fresh install, I noticed that something wasn't right with the sorting again. I'll have to recheck the code again to double check, but now groups appear to always want to start off with ASC, so maybe I copied something out of old code over my new stuff and screw the sorting up for some dumbass reason. I need some food now though, so off to lunch.
Reply With Quote
  #111  
Old 03-25-2010, 04:28 PM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well take your time don't rush it rather see a Master Piece of your work then a horrible numbered job!
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 08:06 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.04821 seconds
  • Memory Usage 2,346KB
  • 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
  • (1)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
  • (1)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
  • (1)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete