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
  #232  
Old 08-05-2010, 05:02 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Sarcoth,

Didnt take me long to find it. The line concerned is:

user AS user ON(user.usergroupid = usergroup.usergroupid OR FIND_IN_SET(usergroup.usergroupid, user.membergroupids))

Simply removing the OR FIND_IN_SET() did the trick.

Nice to speak again, and once again great work with this mod. Im still using it
Reply With Quote
  #233  
Old 08-05-2010, 05:48 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good to hear! Take care and stop by anytime.
Reply With Quote
  #234  
Old 08-05-2010, 07:00 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic mod! Nominated!
Reply With Quote
  #235  
Old 08-06-2010, 05:28 PM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to display a users age in the roster? Have been trying to work out where the age comes from when added to memberlist.php but with no joy.
Reply With Quote
  #236  
Old 08-06-2010, 05:40 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gleedo View Post
Is there a way to display a users age in the roster? Have been trying to work out where the age comes from when added to memberlist.php but with no joy.
There's a way. The question you need to ask, are your members going to like having their age displayed? I have a lot of older memebers on my forums, many women. That's usually a no-no for them. Although, we could probably set it to use the same settings as the memberlist and only show age for those that approve it...but that kind of defeats the point does it not? I will look at the code when I get a chance, but don't expect a quick turnaround.
Reply With Quote
  #237  
Old 08-06-2010, 05:54 PM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
There's a way. The question you need to ask, are your members going to like having their age displayed? I have a lot of older memebers on my forums, many women. That's usually a no-no for them. Although, we could probably set it to use the same settings as the memberlist and only show age for those that approve it...but that kind of defeats the point does it not? I will look at the code when I get a chance, but don't expect a quick turnaround.
Well we are called The Old Gits Army lol - but I guess having the age displayed based on their preferences would be best. Would be great if you manage to incorporate this into your mod at some stage in the future.

Thanks Sarcoth
Reply With Quote
  #238  
Old 08-09-2010, 08:20 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Gleedo - I spent a couple hours on this today. Apparently, I have the code needed to display birthdays already in the .php file. All I did was change one of the column's (in the showroster_userbits template) to birthday and that did the trick.

For example, find:
Code:
<vb:if condition="$show[field8th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column8]}}</td></vb:if>
Change to:
Code:
<vb:if condition="$show[field8th] AND exec_switch_bg()"><td>{vb:var userinfo.birthday}</td></vb:if>
Now, the same thing should be true for just changing the word birthday to age to show the user's age, but it doesn't work. Something must be missing, but I don't see what it could be. I think it "should" work. If the birthday works, the age should work. It uses the birthday code when figuring out the age. I've double checked the memberlist.php for any missing code, but I don't see it. Sorry, maybe someone else will know what to look for.
Reply With Quote
  #239  
Old 08-12-2010, 03:46 AM
Kr33p3r's Avatar
Kr33p3r Kr33p3r is offline
 
Join Date: Oct 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, thanks for making it.

2 issues:
  • Usernames do not link to their profiles.
  • Avatars break for all but 1 usergroup (even users in multiple).

http://www.cyberneticpunks.com/forums/showroster.php

Thoughts? I am sure its me.
Reply With Quote
  #240  
Old 08-12-2010, 11:14 AM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kr33p3r View Post
Great mod, thanks for making it.

2 issues:
  • Usernames do not link to their profiles.
  • Avatars break for all but 1 usergroup (even users in multiple).

http://www.cyberneticpunks.com/forums/showroster.php

Thoughts? I am sure its me.
I checked into this on my test and live site. The Usernames are linking to their profiles and the avatars look fine. I did notice that now users without avatars have a message: "No Avatar Specified" instead of it just being blank. I will have to look into fixing that, but I am not sure how to fix your problem. I'm blocked from your site here at work so I will try to take a look at it this weekend.
Reply With Quote
  #241  
Old 08-12-2010, 11:25 AM
Gleedo Gleedo is offline
 
Join Date: Oct 2008
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
I did notice that now users without avatars have a message: "No Avatar Specified" instead of it just being blank.
Thats because the roster is expecting a noavatar.jpg (or something like that) which does not exist (for me at least) in the style images folder, so I changed the path so it would look for it in images/misc and then added the avatar in there
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 07:34 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.05048 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
  • (2)bbcode_code
  • (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