Thread: Profile Enhancements - Customizable Roster
View Single Post
  #67  
Old 08-22-2008, 03:17 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been working on a few things lately and looking over this mod when I get the time. I'm not as awesome a coder as some of the other Coder/Designers around here, but I do try to give my mod some attention when able.

Anyhow, I will try to answer some questions. Please make sure you click installed if you want assistance. If I don't see installed, I will assume you are no longer using this mod and skip your question.


Quote:
Originally Posted by Warion View Post
yea if I only wanted the names of the alts, but I want it to be a way for a person can click on a button named "Add Alt" this would allow a person to add anywhere from 1 to 10 alternate characters. For each alt to show all the fields that are in the roster
That is going to be rather complicated. This mod has been designed around one entry per user. I suppose a new table could be added that links to the userid and then have everything feed off of that, but we are talking about a lot of work there. I still want to make the multi-roster work before I consider looking into something like this. I'll let you know.


Quote:
Originally Posted by Spank View Post
Hi I've just installed and need a little help. I need to not sort by usergroup, just to group all of the members together. also I have a calculation setup to work out the value of field6 'divided by' 7 'multiply by' 100 which I have as $percentage. How do I get this to display in the roster? I've tried just typing in $percentage but nothing is being displayed.

Once I can get those things sorted it will work exactly how I want.
That should be easy enough to figure out. Can you give me a link to your roster page? Make sure guests can view it please. I most likely will need you to PM me copies of your showroster.php and any templates you have made changes to.


Quote:
Originally Posted by Unshra View Post
Is there anyway to have the roster sort by 'usergroupid' but have the 'title' displayed? When I follow the optional install for sorting by usergroupid it sorts correctly but the group titles are replaced by the groupid number on the roster or is there something I am doing wrong?
Do you still need help with this? The answer is yes. You need to set up a case or if statement that applies a value to something depending on the usergroupid. I'll go into more detail if you post a reply here.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01095 seconds
  • Memory Usage 1,776KB
  • 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
  • (3)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