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)

stalkertj 11-08-2010 11:33 AM

Quote:

Originally Posted by shanef (Post 2111332)
Hello, i very much like your work and appreciate you work. i use your script for a staff page instead of a roster page. I was wondering if there is way you can make it pull up more profile information. We are making a new console gaming site and it would be great if it could pull there psn ids and xbox gamer tags out of there profile aswell and maybe link in there contact info like messenger, yahoo. don't know if this would be a nightmare for you but you don't know if u don't ask right


you can see how i'm using it here:

http://killing4cash.com/forum/showroster.php

You can go off of what is posted here, and work it from there... as I've done the same thing.

https://vborg.vbsupport.ru/showpost....&postcount=130

stalkertj 11-08-2010 02:39 PM

Anyone have a clue why my avatars on the roster page all show the "no avatar selected" default image?

My regular memberslist shows avatars on everyone....

ShadeDL 11-18-2010 02:56 PM

I'm having a slight issue. I had this roster installed before, but it was disabled. I enabled it today and it was giving me some sort of syntax error so I uninstalled it. I then reinstalled it, and now it isn't giving me any error, its just showing a blank showroster.php. Any ideas on how to fix this? I am using the latest version of vBulletin, and the latest version of this mod.

Sarcoth 12-07-2010 01:07 PM

School is out. I need to update a few things on my site, but then I'd like to start looking into a few upgrades for this. I'll respond to questions if you have them as well.

ProFifaLeagues 12-07-2010 01:42 PM

Great to hear Sarcoth mate!
One of the best mos we have for Vbull 4 and great to hear its gonna be getting even more updates to keep it ahead of the rest!
Thanks

CharlieDelta 12-07-2010 05:06 PM

Quote:

Originally Posted by rammieone (Post 2130439)
Great to hear Sarcoth mate!
One of the best mos we have for Vbull 4 and great to hear its gonna be getting even more updates to keep it ahead of the rest!
Thanks

Here, here!!

MISTER2 12-07-2010 06:26 PM

I have mod 4.0.5 installed vB 4.0.8

Problem I am experiencing is that custom PRIVATE profile fields are showing on the Showroster regardless of usergroup.

Example: Phone number is a private field that is only visible to certain usergroups. I have verified this and tested it. However in the roster (which is viewable to all) the phone number field shows on the roster for everyone including unregistered / not logged in.

Other than making the roster not viewable by usergroup, I can't seem to find out how to make private fields remain usergroup specific.

Sarcoth 12-07-2010 07:06 PM

Thanks Rammie & Charlie.

Quote:

Originally Posted by MISTER2 (Post 2130548)
I have mod 4.0.5 installed vB 4.0.8

Problem I am experiencing is that custom PRIVATE profile fields are showing on the Showroster regardless of usergroup.

Example: Phone number is a private field that is only visible to certain usergroups. I have verified this and tested it. However in the roster (which is viewable to all) the phone number field shows on the roster for everyone including unregistered / not logged in.

Other than making the roster not viewable by usergroup, I can't seem to find out how to make private fields remain usergroup specific.

This mod doesn't care whether the fields are private or not. It can restrict the entire roster from being visible to certain groups, but not specific fields. The thing to remember here is that columns in the memberlist page is similar, but different to the roster. All or none.

Now, that that is out of the way, let's see if we can come up with a custom way for you to restrict the columns you want restricted.

You'll need to most likely only edit your showroster_header and showroster_userbits templates. Put this around any of your columns, I'll use column 8 as the example:

In the showroster_header template:
HTML Code:

<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th]"><th class="showroster_columnhead">{vb:var columns.title8}</th></vb:if></vb:if>

In the showroster_userbits template:
HTML Code:

<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column8]}}</td></vb:if></vb:if>
Change the 5,6,7 to all usergroups you want to see those columns. The list can be unlimited, just remember to put comma's between them, no space.

Let me know if that fixes your issue.

Don't forget to mark installed and give the mod a rating if you like it. :)

MISTER2 12-07-2010 08:35 PM

Quote:

Originally Posted by Sarcoth (Post 2130564)
You'll need to most likely only edit your showroster_header and showroster_userbits templates. Put this around any of your columns, I'll use column 8 as the example:

In the showroster_header template:
HTML Code:

<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th]"><th class="showroster_columnhead">{vb:var columns.title8}</th></vb:if></vb:if>

In the showroster_userbits template:
HTML Code:

<vb:if condition="is_member_of($bbuserinfo, 5,6,7)"><vb:if condition="$show[field8th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column8]}}</td></vb:if></vb:if>
Change the 5,6,7 to all usergroups you want to see those columns. The list can be unlimited, just remember to put comma's between them, no space.

Let me know if that fixes your issue.

Don't forget to mark installed and give the mod a rating if you like it. :)

That worked, Thanks!

[installed] [Excellent]

Sarcoth 12-08-2010 02:15 PM

I am glad that worked Mister.

Now to answer an old question: How do I remove the Roster navbar tab? Easy enough and I will make it an option in the next version. Edit the showroster_navbar template, find and delete the following code:

HTML Code:

<a class="navtab" href="showroster.php{vb:raw session.sessionurl_q}">Roster</a>
I am planning to make it so you can rename or remove that tab in the future. I'm also hoping to finally get the code for moving it around to work.

This past week I added another chapter for my guild so now my guild is sharing one forum and playing two games. I was able to successfully get those chapters split and using the same roster separately. Very cool to see it working. Although, I did notice a problem I am going to try and fix. Even though I can split the roster, both chapters need to use the same headers and class choices. This really is not a big deal, but can be a problem if you also use the Stats option. I don't know how I can fix that at the moment, but I'll think on it. Finally, when trying to sort via the individual chapters, the sorting does not remember the current id's and forces all groups to be sorted.

Those are a few things I'd like to update, and I'm sure I'll think of more. I would prefer not adding even more options to this mod, but I'll do what I have to.


All times are GMT. The time now is 07:40 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.01540 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_html_printable
  • (4)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