vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - Customizable Roster (https://vborg.vbsupport.ru/showthread.php?t=235326)

JohnnyNorCal 06-20-2010 05:52 AM

Ok...I'm going to set up a secondary usergroup and see if I can just manually add users to that group with permissions to access the specific profile fields the roster uses. The reason I was hesitant to do this is because the rank system is somewhat intricate and I didn't want to interfere with it.

I guess my question now is, where can I control this new usergroup to be able to view the extra profile fields and set the old usergroup to not view or edit the extra profile fields? I don't remember seeing a way to do this in the usergroup manager. Theres so many options, sometimes I get lost in with all the switches here and there.

Dragonsys 06-20-2010 04:00 PM

Quote:

Originally Posted by JohnnyNorCal (Post 2056197)
Ok...I'm going to set up a secondary usergroup and see if I can just manually add users to that group with permissions to access the specific profile fields the roster uses. The reason I was hesitant to do this is because the rank system is somewhat intricate and I didn't want to interfere with it.

I guess my question now is, where can I control this new usergroup to be able to view the extra profile fields and set the old usergroup to not view or edit the extra profile fields? I don't remember seeing a way to do this in the usergroup manager. Theres so many options, sometimes I get lost in with all the switches here and there.

add this new usergroup to the users as a secondary group, and it should not affect your rank system at all.

Dragonsys 06-20-2010 04:04 PM

Quote:

Originally Posted by Sarcoth (Post 2055551)
I guess the look all depends on the style of the forum and how that style translates to this mod. I am looking into a css for this though and maybe that will help, but the problem is that every forum has a different style so it will always look different. You can always make your own adjustments in the templates though. That requires a little html knowledge.

I could have sworn I had this problem with the vb3.7 version of this mod, and it was just one little tweak I had to make to get it to view properly, but I can't find where I posted about it.

well they do say the memory is the first thing to go...


EDIT: ok, so I was looking at the templates, and it's something with this mod. Looking at the garage templates (http://forums.texas-fbody.org/garage.php) it uses the same classes your templates do, but it displays properly, when the roster does not. At least this is what it looks like to me.

Sarcoth 06-20-2010 04:35 PM

Quote:

Originally Posted by Dragonsys (Post 2056475)
EDIT: ok, so I was looking at the templates, and it's something with this mod. Looking at the garage templates (http://forums.texas-fbody.org/garage.php) it uses the same classes your templates do, but it displays properly, when the roster does not. At least this is what it looks like to me.

I am going to be incorporating a bunch of template changes in the next version thanks to IR15H. Maybe that will fix your problem. If not, I will look into it more then. I've got some other things going on but my goal is to have the update released by the end of the month.

Dragonsys 06-20-2010 04:39 PM

Quote:

Originally Posted by Sarcoth (Post 2056494)
I am going to be incorporating a bunch of template changes in the next version thanks to IR15H. Maybe that will fix your problem. If not, I will look into it more then. I've got some other things going on but my goal is to have the update released by the end of the month.

Cool, I will wait for your update. In the meantime, I'm gonna keep looking at my site and just see if I can narrow it down some. I made several changes to the SHOWROSTER template, but they don't seem to have any real affect on the page display.

Thanks

a7lameza.com 06-20-2010 05:30 PM

thank you

strudinox 07-12-2010 03:42 PM

Not working since I upgraded to 4.0.4

Any development on a solution? The issue is when I click on the custom profile options, it takes me to an empty page within the profile.

Dragonsys 07-13-2010 02:55 PM

would it be possible to only display users on the roster based upon their primary UserGroup, not all of their Usergroups?

For example, I have two groups, Members & Officers. All of the Officers (primary group) belong to Members (secondary group), but not vice versa. I want to Display a Roster of the members, but not have the Officers listed. As it is right now, the Officers get listed, since they belong to the members Group, even though it is not their primary group.


EDIT:
Ok, I found it, I just needed to remove:
Code:

OR FIND_IN_SET(usergroup.usergroupid, user.membergroupids)
But I think it might work best if this was a selectable option. Or maybe a var, like m=x
Where x is 1, 2 or 3 (1 for primary, 2 for secondary, or 3 for either/both)

I have also made this script work for multiple group displays (almost multiple rosters). I will PM my changes to the Author and see if he is interested. It still uses all the same settings in admincp, only the group displayed changes.
You can see an example here:
Default View - http://forums.texas-fbody.org/showroster.php
Single Usergroup - http://forums.texas-fbody.org/showroster.php?id=6
Multiple Usergroups - http://forums.texas-fbody.org/showroster.php?id=6,9

Barteh 07-15-2010 01:30 PM

I've been trying to modify the clan roster to include images in the user fields, but so far without much luck. Would it be possible to simply let the script interpret all html (or BB codes) within these fields, thus displaying images? I've set the corresponding profile options to only be radio button selectable, so no risk of someone inadvertently breaking the layout.

Dragonsys 07-15-2010 01:53 PM

Quote:

Originally Posted by Dragonsys (Post 2068609)
Code:

OR FIND_IN_SET(usergroup.usergroupid, user.membergroupids)
But I think it might work best if this was a selectable option. Or maybe a var, like m=x
Where x is 1, 2 or 3 (1 for primary, 2 for secondary, or 3 for either/both)

I got this working.
1 = Secondary Group Membership only
2 = Primary or Secondary Group Membership
Default = Primary Group Membership only

You can see it in action here:
Default - http://forums.texas-fbody.org/showroster.php
1 - http://forums.texas-fbody.org/showroster.php?m=1
2 - http://forums.texas-fbody.org/showroster.php?m=2
With Group ID - http://forums.texas-fbody.org/showroster.php?m=1&id=12


All times are GMT. The time now is 04:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01512 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete