View Full Version : Profile Enhancements - Customizable Roster
Sarcoth
08-23-2011, 04:08 PM
how can i change the font color?
That's a vague question. The font color of what? You can change the font color of everything from the Showroster group templates or showroster.css template. I suggest changing one thing, check to see what your changes did, and then keep trying till you get the desired change.
nando99
08-27-2011, 05:14 AM
Installed and working fine... kinda... I've trying to use multiple showrosters with ?id=# and it seems to be working fine except its not showing all the members in the specified usergroup.
for example, i have a usergroup with 65 primary members and 1 secondary member, when i pull it up it only shows 36 members... am i missing something?
thanks in advance
Sarcoth
08-27-2011, 03:50 PM
Installed and working fine... kinda... I've trying to use multiple showrosters with ?id=# and it seems to be working fine except its not showing all the members in the specified usergroup.
for example, i have a usergroup with 65 primary members and 1 secondary member, when i pull it up it only shows 36 members... am i missing something?
thanks in advance
Sounds like the common Main FAQ problem.
https://vborg.vbsupport.ru/showpost.php?p=1977587&postcount=3
Probably have a field set that the other half have blank.
nando99
08-27-2011, 04:36 PM
Sounds like the common Main FAQ problem.
https://vborg.vbsupport.ru/showpost.php?p=1977587&postcount=3
Probably have a field set that the other half have blank.
Duh! You're right, that worked. Thanks!
Last question, when using the separate rosters, anyway to have the title reflect the usergroup i'm calling?
thecore762
08-30-2011, 03:46 AM
Sarcoth, I think this mod is very complicated and mainly aimed for MMO games.
Can this be customized for FPS games such as BF or MW?
I think configuring this thing takes several hours..
Sarcoth
08-30-2011, 04:11 AM
@nando - It could, but that would require extra coding. The coding is in the templates already if you want to play with the code. This is how I started learning php.
@thecore - I take it you have tried it out? I really don't actively support the mod anymore so if you are not happy with it, someone has come up with another option (I'm not trying to be rude and send you elsewhere, just being informative). Do a search on roster and you should find it. I do freelance coding in my spare time b/c doing code for free isn't fun anymore. I did create a new roster mod though that I think is much easier to configure, but that one is for an MMO. Although, I can customize code for anyone willing to pay my time. I think I am very reasonable considering I charge a small percentage of what I make in my day job.
This mod has over 200 installs and maybe only 10% are MMO gamers. Many of the people that post here have either links to their sites in their profiles or have posted them. With so many installs, it can't be that hard to install can it? I post here when people have problems with installs and try to help out the best I can.
Dragonsys
08-30-2011, 03:36 PM
This may be a novice question, but could someone please pm the answer?
how can i add this to vbadvanced cmps so that i can have all my cmps modules and menus and have this roster appear in the middle? I messed with running it through cmps but i could never get the menus to show... but then again i am a noob.
thanks
not sure if you got an answer of not, but you would use the CMPS Integration for THIS_SCRIPT and put showroster in the list
Dragonsys
08-30-2011, 03:39 PM
Sarcoth, I think this mod is very complicated and mainly aimed for MMO games.
Can this be customized for FPS games such as BF or MW?
I think configuring this thing takes several hours..
I actually use this mod for a Car Club (see here - http://forums.texas-fbody.org/showroster.php), so it is usable for more than just MMO, without coder customization.
CharlieDelta
08-30-2011, 07:29 PM
Sarcoth, I think this mod is very complicated and mainly aimed for MMO games.
Can this be customized for FPS games such as BF or MW?
I think configuring this thing takes several hours..
I use it for FPS games with no trouble what so ever.
Sarcoth
08-31-2011, 12:32 AM
not sure if you got an answer of not, but you would use the CMPS Integration for THIS_SCRIPT and put showroster in the list
Good info there, thanks for replying Dragon. :)
Dragonsys
08-31-2011, 03:06 AM
Good info there, thanks for replying Dragon. :)
Anytime, I am an avid user of vBadvanced products and I love their CMPS
thecore762
08-31-2011, 09:31 AM
@nando - It could, but that would require extra coding. The coding is in the templates already if you want to play with the code. This is how I started learning php.
@thecore - I take it you have tried it out? I really don't actively support the mod anymore so if you are not happy with it, someone has come up with another option (I'm not trying to be rude and send you elsewhere, just being informative). Do a search on roster and you should find it. I do freelance coding in my spare time b/c doing code for free isn't fun anymore. I did create a new roster mod though that I think is much easier to configure, but that one is for an MMO. Although, I can customize code for anyone willing to pay my time. I think I am very reasonable considering I charge a small percentage of what I make in my day job.
This mod has over 200 installs and maybe only 10% are MMO gamers. Many of the people that post here have either links to their sites in their profiles or have posted them. With so many installs, it can't be that hard to install can it? I post here when people have problems with installs and try to help out the best I can.
Deal, please check my PM.
I would like to buy your time helping me installing this and configuring this.
Here is what I have so far: http://www.47r-squad.com/showroster.php
I want rank images to show, also I need to be able to move myself on top of the roster list. I am IcEWoLF.
Do I have to make another usergroup so am on top?
CharlieDelta
08-31-2011, 07:58 PM
Do I have to make another usergroup so am on top?
Assigning additional usergroups would be the best way to go about it. You would then put them in order of how you want them displayed.
Badhabitz
09-03-2011, 06:17 PM
Deal, please check my PM.
I would like to buy your time helping me installing this and configuring this.
Here is what I have so far: http://www.47r-squad.com/showroster.php
I want rank images to show, also I need to be able to move myself on top of the roster list. I am IcEWoLF.
Do I have to make another usergroup so am on top?
I can help you PM me. Or you can add ranks yourself based on this post (https://vborg.vbsupport.ru/showpost.php?p=2085947&postcount=250),
PM me for more information
drainpan
09-14-2011, 08:32 AM
is there any way to make this look like this page:
http://www.1upclan.info/forum/index.php?action=teampage
rather than just looking like an advanced memberlist?
Majest
09-14-2011, 09:29 AM
Could a tutorial on how to set this up with the profile fields included, I can't make heads or tails of this. Makes no sense to me. It looks like a fantastic mod but it's complicated to a point I don't think I'll be able to get this to work.
1005467401
12-09-2011, 04:43 PM
It doesnt show group color??
i mean it doesnt allow HTML Code? on the ShowRoster page?
it showed this to me "<B><span style="color: red;">Administrator</span></B>"
Sarcoth
12-09-2011, 05:42 PM
It doesnt show group color??
i mean it doesnt allow HTML Code? on the ShowRoster page?
it showed this to me "<B><span style="color: red;">Administrator</span></B>"
I don't recall having any font color within the showroster, so I'm not sure where you are getting that. I especially don't have any red. If you are getting this from the page source code, that won't work b/c that is a combination of code from various sources.
Some places may allow you to adjust color from the template code. For anything wrapped around something with an ID in it will need to be adjust via css. The css template can be accessed via the Style Manager -> CurrentStyle -> CSS Templates -> showroster.css.
almty1
12-09-2011, 09:35 PM
Just got this up and running today. This is an amazing mod. Thank you so much!
tomshawk
12-10-2011, 04:36 AM
Statistics are not filling in
http://www.diablosanctuary.com/forums/showroster.php
I chose Column 3, so if I am not mistaken as to the point of this section. It should fill in the numbers to the right of the names with how many of each Class, Correct?
Edit: Figured it out, thanks.
Excellent Addon. ;)
Thank you
1005467401
01-16-2012, 02:32 PM
How do i remove that white spot? See image below
https://vborg.vbsupport.ru/external/2012/01/47.png
Sarcoth
01-16-2012, 03:53 PM
[QUOTE=1005467401;2288556]How do i remove that white spot? See image below
Those white spots are a background color. Take a look at my roster and you'll see. Those are black on my forum.
http://sacredhaven.org/forumsh/showroster.php?id=40,41,42,43
1005467401
01-17-2012, 01:23 AM
How do i remove that white spot?
See image below
Those white spots are a background color. Take a look at my roster and you'll see. Those are black on my forum.
http://sacredhaven.org/forumsh/showroster.php?id=40,41,42,43
But is there anyway to cover it up?
another problem...
https://vborg.vbsupport.ru/external/2012/01/46.png
RiosJoe
02-01-2012, 01:21 AM
Sarcoth, I have a couple of questions about the configuration of this mod.
1. Looking at your example roster on your guild site, the tab "Skills" you have your members enter 3 professions/skills. How do you get it to separate them by line like that to be displayed like this?:
Artificing (280)
Mining (185)
Foraging (185)
Because on my website, no matter what I do makes it look like this all in one line?:
Artificing (280) Mining (185) Foraging (185)
2. Using the additional feature "ShowRoster Group Settings", you have it selected to gather the data from 1 column of the 8 total.
Looking at your website, you have 4 different group titles for Class Role Statistics with each class name and the class role types per group name. This mod only allows us to gather statistics from 1 column, so I'm confused how you have yours setup unless the roster you provided us doesn't have that function?
Example of my site:
http://exiledlegends.com/forum/showroster.php
I was hoping to get it working in the same function you do on your site if possible.
Sarcoth
02-01-2012, 03:08 PM
@ RiosJoe - Thanks for clicking Installed. It's the simple things that matter.
I believe that was mostly html adjustments in the template, but I'll try to look at it as soon as I get some time. Real busy right now with school work. Send me a PM to remind me if it takes me longer than a week.
RiosJoe
02-02-2012, 02:15 AM
@ RiosJoe - Thanks for clicking Installed. It's the simple things that matter.
I believe that was mostly html adjustments in the template, but I'll try to look at it as soon as I get some time. Real busy right now with school work. Send me a PM to remind me if it takes me longer than a week.
Certainly, it's a really awesome roster mod. I was looking at your forums between the rift one but I intend to use it for Star Wars: The Old Republic which is working out really well. I saw on your site about making custom adjustments and your rates, when the time comes for bigger support in the game that I'd like to add / customize it, I'll seek you out if interest and pay for your time to see if future customization's are possible, not sure what yet but have lots of idea for later on :]
wtfaatp
02-12-2012, 02:20 AM
Ignore!
RoG Aftermath
02-12-2012, 03:47 PM
Having a problem that when i click on someones usernames in the roster it takes me back to my CMS page instead of the person profile, anyone know how to fix this?
Andreas [S]
02-17-2012, 10:54 AM
Hi,
can someone help me to set a fixed column widht? Actual the table for every group depends on the longest name. I would like to have the same size for any table no matter if there is a long ore short name in it.
Thx for your help.
Sarcoth
02-20-2012, 05:50 PM
Sarcoth, I have a couple of questions about the configuration of this mod.
1. Looking at your example roster on your guild site, the tab "Skills" you have your members enter 3 professions/skills. How do you get it to separate them by line like that to be displayed like this?:
Artificing (280)
Mining (185)
Foraging (185)
Because on my website, no matter what I do makes it look like this all in one line?:
Artificing (280) Mining (185) Foraging (185)
Here is the code that I am using in my showroster_userbits template to do this:
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)">
<vb:if condition="$show[field4th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column4]}} <vb:if condition="$userinfo['field47'] == ''">(0)<vb:else />({vb:var userinfo.field47})</vb:if></td></vb:if>
<vb:if condition="$show[field5th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column5]}}</td></vb:if>
<vb:if condition="$show[field6th] AND exec_switch_bg()">
<td>
<vb:if condition="$userinfo['field56'] != ''">{vb:var userinfo.field56} <vb:if condition="$userinfo['field57'] == ''">(0)<vb:else />({vb:var userinfo.field57})</vb:if><BR></vb:if>
<vb:if condition="$userinfo['field58'] != ''">{vb:var userinfo.field58} <vb:if condition="$userinfo['field59'] == ''">(0)<vb:else />({vb:var userinfo.field59})</vb:if><BR></vb:if>
<vb:if condition="$userinfo['field60'] != ''">{vb:var userinfo.field60} <vb:if condition="$userinfo['field61'] == ''">(0)<vb:else />({vb:var userinfo.field61})</vb:if></vb:if>
</td>
</vb:if>
</vb:if>
2. Using the additional feature "ShowRoster Group Settings", you have it selected to gather the data from 1 column of the 8 total.
Looking at your website, you have 4 different group titles for Class Role Statistics with each class name and the class role types per group name. This mod only allows us to gather statistics from 1 column, so I'm confused how you have yours setup unless the roster you provided us doesn't have that function?
Example of my site:
http://exiledlegends.com/forum/showroster.php
I was hoping to get it working in the same function you do on your site if possible.
I was going to attach 2 screenshots, but apparently I cannot do that from work. I'll try to copy/paste my Group Settings for you. No, that didn't work. I'll just type in all my settings for that page and see if you can figure it out.
Enable: Yes
Column: 5
G1: Cleric, DPS, Healer, Support, Tank
G2: Mage, DPS, Healer, Support, BLANK
G3: Rogue, DPS, BLANK, Support, Tank
G4: Warrior, DPS, BLANK, BLANK, Tank
Sarcoth
02-20-2012, 05:56 PM
@Aftermath - Not sure. Either one of your other mods are causing that issue or a setting on your forums.
@Andreas - You may be able to use the width setting in the SHOWROSTER template, but I'm going to guess it is something in the showroster.css template. The class id for the columns will be: showroster_columnhead.
RiosJoe
02-21-2012, 08:30 AM
Thanks for the codes, however I'm confused on how exactly to fit this in my template. I spent the last 2 hours trying to understand it but I just couldn't do it -_-
I'm trying to fit your field ID's/column groups with my own and match them up.
Also, I'm wondering. For each of the 3 professions, did you make a field for each one, if so I might have an idea but I don't know if I should just paste that code on the bottom or input it in parts of the existing userbits.
I also tried registering on your forums to get an example of your profile fields to get a better understanding but the email validation code system doesn't work. It doesn't let me enter a "2nd email" for verification, there is no line for it. As a result, I cannot register : /
walshymyster
03-10-2012, 09:37 PM
now im having an issue. when i got my my showroster page i cannot select any of the other options on the navbar.
i know its an issue with the style but cannot for the life of me figure it out.
heres the site.
http://www.tcfleet.com/forum/showroster.php
somthing is interupting with the navbar. any ideas?
walshymyster
03-10-2012, 09:46 PM
ok so it looks like it was subnav template effecting it it was floating ontop of my normal nav bar. hmm helpful. lol. dont need it so removed it
nkmarax
04-04-2012, 11:54 PM
Can you sort by columns instead of user?
RivaCom
04-06-2012, 12:30 AM
Has anyone figured out how to get this to work with multiple games?
For example. We use our usergroups as ranks/permissions. How could I split this into multiple games with ranks for each game?
KGodel
04-06-2012, 05:41 AM
Riva, I am wondering the same. I'd like to sort by Game first, then organize secondly by usergroup within those individual tables.
Also, I use a trick to have my user-groups sort properly (I use comments like <!-- sort:# -->) and these comments, while they should be disappearing, are showing up when I use them in the roster.
olalaaa
04-06-2012, 12:05 PM
he, i have read a few post in here about the postcount.
How can i add this in like a new field, i tryed to find a way but i dont get it to work.
thnx
RivaCom
04-08-2012, 01:31 PM
Riva, I am wondering the same. I'd like to sort by Game first, then organize secondly by usergroup within those individual tables.
Also, I use a trick to have my user-groups sort properly (I use comments like <!-- sort:# -->) and these comments, while they should be disappearing, are showing up when I use them in the roster.
I might try a little later, but as far as I can tell(without editing the core code) you could just copy this plugin for how many games you have and add a drop down to goto the php file of choice.
or put some IF statements in the main plugin. Would love if someone has a better way.
skytearz
04-16-2012, 09:03 AM
<u>Confirmed</u>: Working with 4.1.11
KGodel
04-16-2012, 06:51 PM
Yea Riva, I tried looking at the code to see how to organize group tables based on an additional column but can't figure out this code's organization. I'm figuring it might be better to start over.
MikePaceRocks
05-01-2012, 09:27 PM
Has this been uploaded for 4.1.12 yet? Or will the current plugin version work for 4.1.12?
Sarcoth
05-03-2012, 02:35 PM
Hello all. The college semester is finally over. I have about a month of free time till the summer semester begins so I will gladly answer some questions.
Keep in mind, I really don't support this mod regularly anymore, but I try to stop in now and then to help out.
To my knowledge, it should work with all upgrades to vBulletin unless they change certain parts of the core code.
I am also going to be working on a lite version of my new RIFT Roster mod now that I have some time (one that will be usable in any game like this one is). I also have some other ideas in mind.
For those of you having problems using this mod as a multiple game roster or something similar, please check post #3 in this thread. If you still have problems, ask your questions again and I will try to reply to it within a couple hours to a couple days.
I will only post replies to those that have clicked the Installed button.
aflax045
05-10-2012, 07:51 PM
Is there a way to show/hide profile fields based on which roster (multiple rosters) is called? I've seen some questions about this in the past, but I'm not sure if there was an update I missed.
robertkelly
05-26-2012, 08:28 PM
<a href="http://forums.murdernetworks.com/showroster.php?" target="_blank">http://forums.murdernetworks.com/showroster.php?</a>
None of the users are showing up....please help.
Kiint
05-26-2012, 08:33 PM
I'm getting a small error where the sub menu navigation is overlapping the sorting options on the roster. Please see attached image:
138732
Is this a problem with my style or something wrong on the mod? I'm running Vb 4.2.
thecore762
05-27-2012, 06:31 AM
I'm getting a small error where the sub menu navigation is overlapping the sorting options on the roster. Please see attached image:
138732
Is this a problem with my style or something wrong on the mod? I'm running Vb 4.2.
Same here.
Kiint
05-27-2012, 06:58 AM
I've had to comment the template code out to stop it happening, but then the sorting menu is gone.....
icekola
05-27-2012, 06:32 PM
In addition to the overlaping navigation issue in 4.2, I have also noticed that "primary sort" sorts by usergroupid even when "title" is selected.
Any suggestions to have it sort by title?
thecore762
05-27-2012, 09:07 PM
Here is the fix:
example: (of course you change rosterscript to it's real name) and you can add as many as you want || THIS_SCRIPT == 'whateverdiablo'
if (THIS_SCRIPT == 'adv_index' || THIS_SCRIPT == 'rosterscript')
{
$tabid = '';
}
http://www.vbadvanced.com/forum/showthread.php?t=47661&page=2
thecore762
05-27-2012, 09:11 PM
Here is a step by step instruction:
1. Go to AdminCP>Plugin & Products> Add New Plugin
2. From the drop down select Showroster Mod
3. From the second drop down select navigation_tab_complete
4. Then copy and paste the following:
if (THIS_SCRIPT == 'adv_index' || THIS_SCRIPT == 'showroster')
{
$tabid = '';
}
5. Then make sure you change "Plugin is Active" to yes.
6. Save and reload.
icekola
05-28-2012, 08:17 PM
Here is a step by step instruction:
1. Go to AdminCP>Plugin & Products> Add New Plugin
2. From the drop down select Showroster Mod
3. From the second drop down slect navigation_tab_complete
4. Then copy and paste the following:
Code:
if (THIS_SCRIPT == 'adv_index' || THIS_SCRIPT == 'showroster')
{
$tabid = '';
}
5. Then make sure you change "Plugin is Active" to yes.
6. Save and reload.
Thank you, much appreciated. Worked like a charm.
kevius
06-09-2012, 02:25 PM
thanks a lot for this very important modification for 4.2 !
Merlok
06-11-2012, 01:37 PM
I am using your mod and I really like it. But I think that I found a bug.
I want to display a custom profilefield I created in the showroster table.
This custom field is a checkbox field, where my users can make multiple selections.
Now, if anyone of my users is selecting something (i.e. a user makes only one selection) the result which is displayed in the showroster table is a certain number instead of the text value the user selected.
Do you know a solution for this?
Kiint
06-15-2012, 12:12 PM
I've been messing with my own project and wish to display results of a query into seperate groups like you have on your roster home page but cannot find out how to do it.
My database has two tables, one with the user details and another with the ranks of each user, linked by the rank_id to the char_rank field in my user_details table.
I would like to display the results like this:
Guild leader
(lists all members of this group)
Officer
(lists all members of this group)
Could you point me in the right direction, maybe a link to how it's done or tell me where in your roster code that it does this.
As you can guess, I'm a beginner in this kind of thing ;)
Any help is appreciated
CAG CheechDogg
06-25-2012, 11:04 AM
I am using your mod and I really like it. But I think that I found a bug.
I want to display a custom profilefield I created in the showroster table.
This custom field is a checkbox field, where my users can make multiple selections.
Now, if anyone of my users is selecting something (i.e. a user makes only one selection) the result which is displayed in the showroster table is a certain number instead of the text value the user selected.
Do you know a solution for this?
I would like to know this as well, I have been trying to add a profile field which displays multiple selections not just one, but instead I get a number instead of the text.
Any help on this?
KGodel
07-22-2012, 05:39 PM
I do not think Sarcoth's mod can do this without some editing. kh99 pointe this article out to me in a post: https://vborg.vbsupport.ru/showthread.php?t=250418 Find "For Multiple-Selection Menu and Multiple-Selection Checkbox", Method 2, but you will have to edit his code, not sure where.
CAG CheechDogg
07-24-2012, 08:22 PM
KGodel thanks a lot man for the response.
SuperTaz
07-31-2012, 01:57 AM
Here is a step by step instruction:
1. Go to AdminCP>Plugin & Products> Add New Plugin
2. From the drop down select Showroster Mod
3. From the second drop down select navigation_tab_complete
4. Then copy and paste the following:
if (THIS_SCRIPT == 'adv_index' || THIS_SCRIPT == 'showroster')
{
$tabid = '';
}
5. Then make sure you change "Plugin is Active" to yes.
6. Save and reload.
For some reason, the sub-navbar did not show anything with the adv_index variable, so I changed it to adv_portal and now they show and the roster works well too. Here is the script for anyone who has issues with the sub-nav on the vba_cmps page:
if (THIS_SCRIPT == 'adv_portal' || THIS_SCRIPT == 'showroster')
{
$tabid = '';
}
hoplomachus
08-21-2012, 08:54 PM
anyone having problems putting "rank" and then the image is messed up?
<img src="images/Insignia/ar_cw1.png" alt="" border="" />
The above is what it shows.. not the actual image just the code.
hop
hoplomachus
08-23-2012, 07:52 AM
Still awaiting reply
Kiint
08-23-2012, 09:30 AM
Hoplomachus, If someone can help they will, just be patient and polite, they do not have to help you and being impatient expecting an answer will just make people not want to help you.
Think about it.
In the meantime, try uninstalling the roster and reinstalling, following all of the installation instructions exactly.
Also, read through every post in this thread and see if anyone else has had the same problem and if so, then how did they resolve it?
CAG CheechDogg
08-24-2012, 11:32 PM
anyone having problems putting "rank" and then the image is messed up?
<img src="images/Insignia/ar_cw1.png" alt="" border="" />
The above is what it shows.. not the actual image just the code.
hop
Can you explain what you are trying to get in more detail? I might know what you need, but I am not quite sure with the little information you have given. Take a look at my roster and tell me if that is what you need.
https://www.cagclan.com/community/showroster.php
Also if you can provide a link to your roster that would help as well.
hoplomachus
08-25-2012, 05:15 AM
Can you explain what you are trying to get in more detail? I might know what you need, but I am not quite sure with the little information you have given. Take a look at my roster and tell me if that is what you need.
https://www.cagclan.com/community/showroster.php
Also if you can provide a link to your roster that would help as well.
Ok the way you have your ranks is what im after the rank image showing under the rank name that is perfect
Thanks
Hops
CAG CheechDogg
08-29-2012, 06:25 AM
Ah ok....you will need to edit the following template:
showroster_userbits
Make a back up of the original file before you make this change. If you need anymore help let me know.
<vb:if condition="$showbits == 1">
<tr>
<td>
<vb:if condition="$show[avatarcol]">
<vb:if condition="$show['avatar']">
<img class="avatar" src="{vb:raw avatarurl}" width="40" height="40"
alt="{vb:rawphrase xs_avatar, {vb:raw userinfo.username}}" />
<vb:else />
<img class="avatar" src="images/misc/avatar.png" width="40" height="40"
alt="{vb:rawphrase no_avatar_specified}" />
</vb:if>
</vb:if><br />
<a href="member.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}-{vb:raw userinfo.username}">{vb:raw userinfo.musername}</a><br />
<vb:if condition="$show[onlinestatuscol]">{vb:raw userinfo.onlinestatus}</vb:if>
</td>
<vb:if condition="$show[field1st] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column1]}}
<vb:if condition="$userinfo[rank]"> <div class="smallfont"> {vb:raw userinfo.rank}</div></vb:if>
</td></vb:if>
<vb:if condition="$show[field2nd] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column2]}}</td></vb:if>
<vb:if condition="$show[field3rd] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column3]}}</td></vb:if>
<vb:if condition="$show[field4th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column4]}}</td></vb:if>
<vb:if condition="$show[field5th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column5]}}</td></vb:if>
<vb:if condition="$show[field6th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column6]}}</td></vb:if>
<vb:if condition="$show[field7th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column7]}}</td></vb:if>
<vb:if condition="$show[field8th] AND exec_switch_bg()"><td>{vb:var userinfo.{vb:var columns[column8]}}</td></vb:if>
<vb:if condition="$show[datejoinedcol] AND exec_switch_bg()"><td>{vb:raw userinfo.datejoined}</td></vb:if>
<vb:if condition="$show[lastactivecol] AND exec_switch_bg()"><td>{vb:raw userinfo.lastactive}</td></vb:if>
<vb:if condition="$show[profilepiccol] AND exec_switch_bg()"><td>{vb:raw userinfo.profilepic}</td></vb:if>
</tr>
</vb:if>
hoplomachus
08-29-2012, 01:48 PM
Thank you for this fix its working now ...
Just 2 other small issues to try to resolve that im sure will drive me nutz is ...
1. Heres the Roster ... http://i.imgur.com/F8P7h.png
2. Now i got to figure out how to center the 1st UserName field as you can see from pic there left justified.
3. Displaying sort by rank you can see whats happened its throwing ranks all over the place.
But thank you for the fix sir.
CAG CheechDogg
08-29-2012, 05:46 PM
No problem buddy. To center it go to:
showroster.css and find the following:
#showroster_table td:first-child {
text-align: left;
}
change it to:
#showroster_table td:first-child {
text-align: center;
}
for the ranks to be in order go to show roster settings :
Usergroups displayed on the roster (comma separated ID list). The order of usergroups are how they are displayed ONLY when using 'title' as your primary sort field below.
use commas to seperate each and you will get them displaying in the order you want them.
Hope this helps.
CAG CheechDogg
08-29-2012, 05:48 PM
You can also add this to your additional.css
#showroster_table td:first-child {
text-align: center;
}
itzkr0me
11-08-2012, 05:06 PM
how do I go about changing the color of the information within the actual tables? I don't want to use a stylevar.... just a color specified in the CSS... for some reason I can't get it to work though.
I've used:
#showroster_table th {
white-space:normal;
text-align:center;
border:none;
color:white;
SRobbins1977
02-06-2013, 07:56 PM
Hi Sarcoth,
Thank you for this mod. It took me a lot of work to figure out how to get the cells lined up so that they dont jolt left and right from each user group. I hate tables. Which gets to my first question, will you update this mod so it uses <div>s? they are so much easier to work with when trying to change settings.
Im also wondering how to remove the dividers between Default Sort and Sort Options? As you can see here:
https://vborg.vbsupport.ru/external/2013/02/25.jpg
Its using the dividers from the top nav bar. Where can I go to change that?
deadlySniper
02-15-2013, 08:16 PM
Here is a step by step instruction:
1. Go to AdminCP>Plugin & Products> Add New Plugin
2. From the drop down select Showroster Mod
3. From the second drop down select navigation_tab_complete
4. Then copy and paste the following:
if (THIS_SCRIPT == 'adv_index' || THIS_SCRIPT == 'showroster')
{
$tabid = '';
}
5. Then make sure you change "Plugin is Active" to yes.
6. Save and reload.
I was hoping this would work on 4.2.0 PL3 but it didn't.
https://vborg.vbsupport.ru/external/2013/02/23.png
DJ29Joesph
03-23-2013, 05:50 PM
Any Update on this for VB 4.2.0 PL3?
Temp fix:
Go to Settings -> Navigation Manager
Click 'Add Tab'.
Product: Showroster Mod
Title: Whatever the name is for the tab
Target URL: showroster.php
Active: Yes
Worked for me
tomshawk
03-26-2013, 08:39 PM
This may sound like a weird question but
I have a general gaming site and think this would be an awesome tool if...
Say I want to do MMO guilds as well as ARPG Clans.
Is there a way to set up 2 pages, one for clans, one for guilds, possibly a third for a teams page for FSP's like Call of Duty?
I would like to know this as well, I have been trying to add a profile field which displays multiple selections not just one, but instead I get a number instead of the text.
Any help on this?
Did anyone work this one out? I have this issue on profile fields and group names and cant get my head around it
KorvinGump
06-09-2013, 05:39 AM
Funny, that was exactly what I was wrapping my head around :)
I think I managed to get most of the behaviour I was looking for, couple of things that might be interesting for a future version. I've moved the sorting function to the column headers and included an onmouseover highlight for example, felt a bit more intuitive than a pulldown menu. And a selected column will also be highlighted with a (lighter) colour. I've made quite a few code changes and they're probably somewhat messy, but they're all working and if you want to see if there's anything useful in there I can mail you the files.
https://vborg.vbsupport.ru/external/2013/06/46.png
Hi, can someone explain how to do this? Also i need autogenerated column with row id. Is it possible to add?
Sarcoth
06-13-2013, 07:37 PM
I have not looked at the code in this mod in a long time. I'm impressed that it is still used.
Anyhow, I was contacted earlier this week and finalized a deal on a new roster mod last night. I started work on the lite version today. I will have a plus version with additional features as well.
If anyone has a valid request that can get support from at least two others, you can post them over at my website (http://sacredhaven.org/forumsh/showthread.php?10871-Sarcoth-s-Roster-Mod-%28Preliminary%29). I really don't follow this thread anymore though, so don't post suggestions here for the new mod.
Thank you.
Barteh
06-14-2013, 08:23 AM
This kind of slipped my mind... Sarcoth, if you want I can email you the modifications I made to get the above. We're likely to move away from vB soon, but maybe someone else can benefit from them.
Sarcoth
06-14-2013, 12:51 PM
This kind of slipped my mind... Sarcoth, if you want I can email you the modifications I made to get the above. We're likely to move away from vB soon, but maybe someone else can benefit from them.
@Barteh, I'm not sure how useful it would be to me since I am rebuilding the new mod without even looking at this [old] code. My coding style has changed over the years so I'd rather approach it from another angle. I do appreciate the offer nonetheless. Thank you.
Disco_Stu
06-18-2013, 04:55 PM
I modified it a bit for my site. Sorry for the blurry pic. Not sure why it did that.
The album icon is click-able on my site and brings up a larger image in Lightbox.
Vitaris
06-20-2013, 01:31 AM
Sarcoth: delighted to hear you're writing another version. I've had a customised roster for my guild on our website for some time, but came to see if there was an update. Looking forward to a new roster from you.
Niak_Judge
06-24-2013, 09:13 AM
Same here, can't wait this new release !
Sarcoth
06-30-2013, 02:05 AM
The Lite version has been released along with a Plus version. More features are being added and should hopefully be ready by next Friday.
The code has been redone and I really like how it looks. I hope you enjoy it.
Sarcoth's Roster Mod (https://vborg.vbsupport.ru/showthread.php?t=299659)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.