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

Quote:
Originally Posted by k10i View Post
In it that and the problem - me is not necessary registration date in a roaster. It is necessary for me, that date of last visiting of a forum was in the field deduced

If try {vb:raw userinfo.datejoined} registration date is deduced normally.
I see what you were asking now. You want to have Last Visit displayed. Use the following:

{vb:raw userinfo.lastactive}

I have it in the next version already.
Reply With Quote
  #53  
Old 03-15-2010, 03:37 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Front Range 4x4 View Post
Nice job Sarcoth! Installed, any tips on getting the users avatars to display?
I have the Profile Pics and Avatars now working, but there was a lot of code changes to the php file involved. Rather than give a walk through on how to do it all, I'd rather wait until the new version is released. There are still a lot of things I'd like to update, but I may release it tonight or tomorrow. If not, Friday will be the target release day. Why not Wed or Thurs? I have a couple tests those days and I will be busy studying and taking tests.
Reply With Quote
  #54  
Old 03-15-2010, 05:07 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think everyone would rather wait until you're ready to release the update. Thanks for your effort.
Reply With Quote
  #55  
Old 03-16-2010, 08:24 AM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think what your doing is totally awesome!

I tried this update for some reason nothing is working with the styles...

But then I might have goofed something... I do have profile fields that have the same numbers. Will look into it more later today...
Reply With Quote
  #56  
Old 03-16-2010, 01:36 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Cozmic - That's the first time I've heard of it not working. Let me know if you continue to have issues and let me know what you've done. Double check my instructions too.
Reply With Quote
  #57  
Old 03-16-2010, 07:34 PM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Template in the database from Show Roster 4.00 didn't uninstall had to use phpmyadmin and remove it...

There was other information that that didn't uninstall from 4.00 had to remove from database as well...

I think it was a glitch from the older version with the group permissions not being uninstalled...

Found a blank permissions row in user groups add group showroster in admincp
under it was the show roster permissions

After I wiped everything from the database I cleared the catche and reinstalled worked beautiful!

Great job on this your surely headed in a great direction!:up:
Reply With Quote
  #58  
Old 03-16-2010, 08:19 PM
k10i k10i is offline
 
Join Date: Feb 2010
Location: Moscow
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
I see what you were asking now. You want to have Last Visit displayed. Use the following:

{vb:raw userinfo.lastactive}

I have it in the next version already.
thx, all work )
Reply With Quote
  #59  
Old 03-16-2010, 11:35 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CoZmicShReddeR View Post
Template in the database from Show Roster 4.00 didn't uninstall had to use phpmyadmin and remove it...

There was other information that that didn't uninstall from 4.00 had to remove from database as well...

I think it was a glitch from the older version with the group permissions not being uninstalled...

Found a blank permissions row in user groups add group showroster in admincp
under it was the show roster permissions

After I wiped everything from the database I cleared the catche and reinstalled worked beautiful!

Great job on this your surely headed in a great direction!:up:
Ahhh, did you try to revert the template (That's in Step 0)? That's the way to remove your edited templates without having to go into the DB. I'm glad you got it working though.

Quote:
Originally Posted by k10i View Post
thx, all work )
NP.
Reply With Quote
  #60  
Old 03-17-2010, 01:37 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.0.2 has been released. Let me know if you encounter any problems upgrading.

If you are upgrading from 4.0.0, you need to uninstall everything first and revert your templates if you made changes. Remember to back everything up first (templates & php file). Upload the new files (php and bitfield.xml) and install the product.xml.

If you are upgrading from 4.0.1, you probably don't need to uninstall everything. Backup your templates if you made changes though. Upload the new php file; no changes to the bitfield file.

There are a lot of settings that you can change in the ShowRoster Settings so enjoy. Remember to adjust the Usergroup setting so the correct usergroups can view the roster. I forgot to add permissions for the Roster tab AGAIN so I'll try to add that next time. Basically, all usergroups can see the tab, but only the usergroups you add can see the page. I'm going to try to also give you more ability to control where the tab is displayed in the next version. Eventually, I also want to control the sorting from the mini menu where you see Default Sort, but I'm still not quite sure on how I'm going to do that yet.

I have a lot of things I'd like to do, so I'll continue upgrading this as time permits. I'll get back to work on upgrades Friday. I have a test tomorrow though so back to studying. Feel free to ask questions and I'll answer them the best I can.

Oh, and the PHP file is a little dirty. I haven't removed unneeded code this version because I want to make sure everything is working fine before I start removing things. I put // in front of those items so it won't hurt or slow down anything.
Reply With Quote
  #61  
Old 03-19-2010, 01:55 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a major breakthrough yesterday; the displaygroups option finally works which will allow you to avoid editing each usergroup. The install now allows you to make all setting adjustments from the ShowRoster Settings page.

Since it is only one update, I'm not going to release a package for it yet, but if you are interested, I'll attach a sneak preview of the two files here. If you use these, please remember to delete the bitfield_showroster.xml file in the includes/xml directory (it is no longer needed). You'll also have to do an uninstall this time around to remove the showrosteraddpermissions column in your usergroup table.

Please forgive the code mess in the php file. I usually don't clean up things until it is ready for full release.

Enjoy!

EDIT: xml removed and added back 2 posts down.
Attached Files
File Type: (21.4 KB, 9 views)
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:40 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.05336 seconds
  • Memory Usage 2,348KB
  • 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
  • (5)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
  • (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