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

@drainpan - It can be done in the header or the userbits, but because of some code I added, it is just easier to do it in the userbits to get away from the possibility his code doesn't user the header. Hard to explain.

Anyhow, one more question for you Warden, I didn't think of this beforehand, but which field columns were you using? I'm going to guess it is field1st and field2nd, since I know you are using the musername, join date and last activity one. I'll just add the width to each one and let you edit it from there. You will want to change the percentages around till you are happy.

HTML Code:
<tr>
	<td width="20%">
        <table cellspacing="0" cellpadding="0" width="100%">
          <tr>
            <vb:if condition="$show[onlinestatuscol]"><td>{vb:raw userinfo.onlinestatus}</td></vb:if>
            <td width="80%">
		<vb:if condition="!$show[onlinestatuscol]">&nbsp;</vb:if><a href="member.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}-{vb:raw userinfo.username}">{vb:raw userinfo.musername}</a>
            </td>
          </tr>
        </table>
	</td>
	<vb:if condition="$show[field1st]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column1]}}</td></vb:if>
	<vb:if condition="$show[field2nd]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column2]}}</td></vb:if>
	<vb:if condition="$show[field3rd]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column3]}}</td></vb:if>
	<vb:if condition="$show[field4th]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column4]}}</td></vb:if>
	<vb:if condition="$show[field5th]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column5]}}</td></vb:if>
	<vb:if condition="$show[field6th]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column6]}}</td></vb:if>
	<vb:if condition="$show[field7th]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column7]}}</td></vb:if>
	<vb:if condition="$show[field8th]"><td nowrap="nowrap" align="center" width="20%">{vb:var userinfo.{vb:var columns[column8]}}</td></vb:if>
	<vb:if condition="$show[datejoinedcol]"><td nowrap="nowrap" align="center" width="20%">{vb:raw userinfo.datejoined}</td></vb:if>
	<vb:if condition="$show[lastactivecol]"><td nowrap="nowrap" align="center" width="20%">{vb:raw userinfo.lastactive}</td></vb:if>
	<vb:if condition="$show[avatarcol]"><td nowrap="nowrap" align="center""><vb:if condition="$show[avatar]"><img class="avatar" src="{vb:raw avatarurl}" border="0" {vb:raw avwidth} {vb:raw avheight} alt="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}" hspace="4" vspace="4" /><vb:else />&nbsp;</vb:if></td></vb:if>
	<vb:if condition="$show[profilepiccol]"><td nowrap="nowrap" align="center">{vb:raw userinfo.profilepic}</td></vb:if>
</tr>
</vb:if>
Reply With Quote
  #153  
Old 04-24-2010, 04:56 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by drainpan View Post
I have a problem with this. I am using 4.0.2



As you can see by the attached screenie... in the usergroup manager there is this category that has no title and no choices and when submitting any changes it throws the above error.

Any ideas?

I think you are upgrading from an old version. You need to remove all the old files, check the install instructions. I don't recall the name of the file to remove, but it is in your includes/xml file.
Reply With Quote
  #154  
Old 04-24-2010, 01:49 PM
drainpan drainpan is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
I think you are upgrading from an old version. You need to remove all the old files, check the install instructions. I don't recall the name of the file to remove, but it is in your includes/xml file.
This wasn't an upgrade.

I have vb4.0.2 and I installed the 4.0.2 version of this mod, of course it was before the 4.0.3 versions came out but never noticed this problem until the other day.

I am not sure the new version will work without having to upgrade my forum version as well which I am not going to do.... tired of the upgrades.
Reply With Quote
  #155  
Old 04-24-2010, 03:09 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ drainpan - my 4.0.3 version works with vbulletin 4.0.2. Remove everything from the old version you installed and install the newer version. I improved a lot of things.
Reply With Quote
  #156  
Old 04-24-2010, 06:47 PM
drainpan drainpan is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now once upgraded... it refuses to show any data even though all fields are populated and submitted. Usergroups to be displayed are also set
Reply With Quote
  #157  
Old 04-25-2010, 04:20 PM
drainpan drainpan is offline
 
Join Date: Nov 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:crickets: any idea why this is happening?

I followed the instructions to a "T" and I cannot get any people to show up on the list.
Reply With Quote
  #158  
Old 04-26-2010, 12:11 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I take a break from emails over the weekend. Family time.

Anyhow, I could take a look at your page and look into the problem for you if you like. I'm not very busy today. Send me a PM with a link to your roster page and please make sure that the page is open to unregistered users. Or, better yet, create me an account and PM those details to me. I may need admin privledges to look into your problem. No way for me to guess at your error when nothing is showing up.
Reply With Quote
  #159  
Old 04-26-2010, 09:51 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this finally. =)

Sarcoth, worked really good. A few suggestions

The borders are set by default, which looked really bad on my dark background. Easy enough to fix. Only suggestion here is, documentation telling those that might not know how to change them. I read the install doc, but I mean more specific on that exactly.

The navbar option should allow for not having a navbar option (I just disabled the plugin, but others might not know how). Also a section for including a link to it in quicklinks, etc.
Reply With Quote
  #160  
Old 04-26-2010, 11:48 PM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Worked out fine.
Reply With Quote
  #161  
Old 04-27-2010, 07:59 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
Installed this finally. =)

Sarcoth, worked really good. A few suggestions

The borders are set by default, which looked really bad on my dark background. Easy enough to fix. Only suggestion here is, documentation telling those that might not know how to change them. I read the install doc, but I mean more specific on that exactly.

The navbar option should allow for not having a navbar option (I just disabled the plugin, but others might not know how). Also a section for including a link to it in quicklinks, etc.
Hey Trek. I'll look into the borders first thing when done with this semester. The navbar suggestion is already on the list. I'll have to look into the quicklinks thing. Thanks.
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 06:29 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.07973 seconds
  • Memory Usage 2,357KB
  • 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_html
  • (3)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