Thread: Profile Enhancements - Customizable Roster
View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01361 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete