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)

Dragonsys 09-23-2010 02:28 AM

Quote:

Originally Posted by Sarcoth (Post 2101949)
I'll see what I can do about the CSS. Can you list the changes you made in your "Nice, fitting CSS". :) I'll test it out and see if I like it for the default. Otherwise, I can list your CSS changes in the FAQ.

In regards to the NavBar Tab label...you know, I had meant to do that in the last version so I'll eventually get around to doing that in the next version. I'll go add that to the Things to do so I don't forget. I probably won't do another version till December and most likely I'll forget requests. :p.

Not a problem. The 1st CSS is what I got from IRISH, I just reused it on your v4.0.4. I can get you the xml he sent me if you like.

No rush on the Tab, I just relabel it in the php file ;) it's just a "Nice to have" feature.

Sarcoth 09-24-2010 04:41 PM

Quote:

Originally Posted by Dragonsys (Post 2102067)
Not a problem. The 1st CSS is what I got from IRISH, I just reused it on your v4.0.4. I can get you the xml he sent me if you like.

No rush on the Tab, I just relabel it in the php file ;) it's just a "Nice to have" feature.

I'd prefer to just see the exact css template you are using now. I made most of my adjustments from IR15H's xml file, but some of them did not work for me when I updated the MOD. It could be they just didn't work with my style, but if I had your file that may do the trick. Unless you have other changes in your other templates as well.

Sarcoth 09-24-2010 04:45 PM

Quote:

Originally Posted by unknown22 (Post 2101924)
Won't work

Entered it under User Name (column 1)
{vb:var userinfo.field27}

and just field27 didn't work

tried on an empty column number 4 which is not in use nothing

I just realized, I must have been daydreaming or something when I suggested field27. I know for a fact that would not work because it is a profilefield. I probably did a copy/paste and forgot to update it to the current variable. Anyhow, try this:

{vb:var userinfo.postcount}

Dragonsys 09-27-2010 01:47 PM

Quote:

Originally Posted by Sarcoth (Post 2102763)
I'd prefer to just see the exact css template you are using now. I made most of my adjustments from IR15H's xml file, but some of them did not work for me when I updated the MOD. It could be they just didn't work with my style, but if I had your file that may do the trick. Unless you have other changes in your other templates as well.

gotcha. I will export what I have and send it off to ya.

TripleChin 10-02-2010 09:33 PM

As one of my custom profile fields, I use a Multiple-Selection Menu. When I view the roster it simply displays a number (ie: 542) instead of the selected items available. I can get it to work with Multiple-Line Text Box and Single-Line Text Box but not the Multiple-Selection Menu or Multiple-Selection Checkbox. Wondering if you have any suggestions.

Edit: Version 4.0.7

--3Chins

sectomy 10-05-2010 11:04 AM

sorry, but could it be that in 4.0.7 the statistics are not shown ?
so ive added a profile field (field37) and it is shown on the normal roster, but in statistics its all 0.

Where do i have edit the "statistics" page or where did he gets the Data (to know which one he should add ?)
ok, got it, need to set the sorting to single table, but is there any option to get it work with group listing ?

generalclev 10-14-2010 08:47 AM

1 Attachment(s)
Hi,

Great mod, have it installed and working but the alignment of the columns are off.

Tried changing the <td> to <td width="15%"> but it didn't change anything.

Is there something i am missing?

EDIT

Be better if i showed you what was happening.

As you see the all the columns are out of alignment. On your screen shots they are all perfect

Sarcoth 10-14-2010 01:39 PM

Quote:

Originally Posted by generalclev (Post 2110028)
Hi,

Great mod, have it installed and working but the alignment of the columns are off.

Tried changing the <td> to <td width="15%"> but it didn't change anything.

Is there something i am missing?

EDIT

Be better if i showed you what was happening.

As you see the all the columns are out of alignment. On your screen shots they are all perfect

You'll need to adjust the td width in the showroster_userbits for that to work right. That is where the width is changing.

Sarcoth 10-14-2010 01:41 PM

Quote:

Originally Posted by TripleChin (Post 2106107)
As one of my custom profile fields, I use a Multiple-Selection Menu. When I view the roster it simply displays a number (ie: 542) instead of the selected items available. I can get it to work with Multiple-Line Text Box and Single-Line Text Box but not the Multiple-Selection Menu or Multiple-Selection Checkbox. Wondering if you have any suggestions.


Edit: Version 4.0.7

--3Chins

Back in the first version I tried to get it to work with the checkbox and it never did. Sorry to say, but I really don't know what to do to get the multiple-selection option to work with this mod. I'll take a look at it again this winter though when school is over, maybe something will hit me.

Sarcoth 10-14-2010 01:42 PM

Quote:

Originally Posted by sectomy (Post 2107019)
sorry, but could it be that in 4.0.7 the statistics are not shown ?
so ive added a profile field (field37) and it is shown on the normal roster, but in statistics its all 0.

Where do i have edit the "statistics" page or where did he gets the Data (to know which one he should add ?)
ok, got it, need to set the sorting to single table, but is there any option to get it work with group listing ?

Sorry, not sure what you mean here. I'll look into it tomorrow if you respond back with more info.

generalclev 10-15-2010 09:09 AM

Quote:

Originally Posted by Sarcoth (Post 2110096)
You'll need to adjust the td width in the showroster_userbits for that to work right. That is where the width is changing.

I did put it in there but didn't see the <td> for the user name

Thanks working great now

shanef 10-18-2010 04:08 PM

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

PreciseDemise 10-19-2010 06:26 AM

I did this easily but creating 4 Profile fields, and calling these fields. Will get you screenshots shortlt

shanef 10-21-2010 01:25 AM

im not sure the screen shot will help me as much as the actual code would

Dragonsys 10-21-2010 02:56 PM

Quote:

Originally Posted by Dragonsys (Post 2103694)
gotcha. I will export what I have and send it off to ya.

I apologize that this is taking me so long. My ISP at home has been sucking as of late, and I have not had any time at work. I will get this all to you ASAP.

shanef 10-21-2010 03:00 PM

no worries its no big rush, its not life or death or anything.

TripleChin 10-23-2010 12:56 AM

Quote:

Originally Posted by Sarcoth (Post 2110097)
Back in the first version I tried to get it to work with the checkbox and it never did. Sorry to say, but I really don't know what to do to get the multiple-selection option to work with this mod. I'll take a look at it again this winter though when school is over, maybe something will hit me.

Thanks for your reply, I will just do without the Multiple-Selection then :)

--3Chins

TripleChin 10-28-2010 01:35 AM

Quote:

Originally Posted by Sarcoth (Post 2110097)
Back in the first version I tried to get it to work with the checkbox and it never did. Sorry to say, but I really don't know what to do to get the multiple-selection option to work with this mod. I'll take a look at it again this winter though when school is over, maybe something will hit me.

Well after some research I have learned that by default Multiple-Selection options are stored as binary in the db. I also found a post that explains how to get the data, just not sure if it can be implemented in such a manner to work with this mod.

If you have time to review that post and offer any suggestions that would be great. Thanks.

--3Chins

j66chevell 11-03-2010 08:11 PM

Great mod.

One issue I have:

Is there a way to set a secondary sort from within the settings or does the php file need modding? What ever you pick for sorting sorts by that, but then within those groups it sorts members Alphabetically.

I want to change it to sort by another Profile field.

For instance, on your site http://sacredhaven.org/forumsh/showroster.php you have the default as the Rank. For my clan we have 6-8 different divisions, one for each game we play, so I would like to sort by say Rank and then by the game before doing the alphabetical, or vice versa, by game then by rank then alphabetical.

example: Rank -> Game

-----------------------------------
-Rank Leader
-----------------------------------
--Name A----Game A--
--Name AB---Game A--
--Name B-----Game A--
--Name C-----Game A--
--Name A----Game B--
--Name AB---Game B--
--Name B-----Game B--
--Name C-----Game B--
--------------------------------------
-Rank Officer
-----------------------------------
--Name A----Game A--
--Name AB---Game A--
--Name B-----Game A--
--Name C-----Game A--
--Name A----Game B--
--Name AB---Game B--
--Name B-----Game B--
--Name C-----Game B--
--------------------------------------


example Game -> Rank

-----------------------------------
-Game A
-----------------------------------
--Name A----Leader--
--Name AB---Leader--
--Name B-----Leader--
--Name C-----Leader--
--Name A----Officer--
--Name AB---Officer--
--Name B-----Officer--
--Name C-----Officer--
--------------------------------------
-Game B
-----------------------------------
--Name A----Leader--
--Name AB---Leader--
--Name B-----Leader--
--Name C-----Leader--
--Name A----Officer--
--Name AB---Officer--
--Name B-----Officer--
--Name C-----Officer--
--------------------------------------


Thanks.

rowedf 11-04-2010 03:26 PM

Quote:

Originally Posted by Sarcoth (Post 2110097)
Back in the first version I tried to get it to work with the checkbox and it never did. Sorry to say, but I really don't know what to do to get the multiple-selection option to work with this mod. I'll take a look at it again this winter though when school is over, maybe something will hit me.

That will be so helpful, thank you! Have you tried including them as a string separated by comma's, etc?

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.

rowedf 12-08-2010 07:12 PM

Another possible option to think about is a feature where each usergroup has the option of having their own roster. So you can display a roster that way and it would only show those in that usergroup on the roster page ?

Sarcoth 12-08-2010 07:23 PM

Quote:

Originally Posted by rowedf (Post 2130981)
Another possible option to think about is a feature where each usergroup has the option of having their own roster. So you can display a roster that way and it would only show those in that usergroup on the roster page ?

It can already do that. You need to read the "Advanced Usergroup Settings FAQ" on the first page.

Sarcoth 12-09-2010 11:50 AM

Quote:

Originally Posted by rowedf (Post 2130981)
Another possible option to think about is a feature where each usergroup has the option of having their own roster. So you can display a roster that way and it would only show those in that usergroup on the roster page ?

This is 4 usergroups together. Just use one ID if you only want the one.

http://sacredhaven.org/forumsh/showr...id=19,13,17,18

Here is another 4 usergroups, but there are only 2 with members in them at the moment. That will change in about a month.

http://sacredhaven.org/forumsh/showr...id=40,41,42,43

This is what I was talking about 4 posts ago. I now have my roster separated, but this breaks the sorting. When you sort, it uses all the usergroups you have in your default roster (without any id's). One of my goals is to fix that and I plan to start working on that today.

MISTER2 12-09-2010 04:51 PM

Being able to query off of more than one column would make the Group Settings / Group table options more useful.

Sarcoth 12-09-2010 05:11 PM

Not sure I know what you mean, but I'll take a stab. If you mean sorting multiple columns at the same time like first sort by one column and then another...then sadly that one is not possible with the way I did the code. At least, not from what I can see. I have looked into that a few times and the whole thing always brakes on me. From what I understand, I would have to rebuild it from scratch. Not something I really want to do.

If that is not what you mean though, please clarify. I'm bored at work right now and just focused on updating this. I want to do some more things, but I haven't upgraded my forums to 4.1 yet and I really want to do that before I get involved in updating the templates. Although, I already finished the id sorting issue I mentioned earlier. :)

ShawnV 12-16-2010 04:32 PM

Any news on the 4.1.x version?

Sarcoth 12-16-2010 04:50 PM

The current version should be working fine. I do plan to release a 4.1.0 version before I go back to school though. It will fix a few problems I have found plus add some extra tiny features. If you have something particular you would like to see or problems, let me know. Expect the release to be the first week of January.

Barteh 12-16-2010 04:59 PM

I'd love to see an easier way to change multiple choice user options to images. We're in a gaming clan that has fanned out significantly over the last few years, and it'd be great to allow individual users specify their preferred games (play it regularly - sometimes - don't have it), then get game columns with coloured pips as a result. Had a brief go at it when we upgraded to vB4 a couple of months ago, but I'm not sure if I understand vB4's code well enough.

Sarcoth 12-16-2010 05:01 PM

@ Barteh - Not sure I understand what you mean. Do you have an example?

Barteh 12-16-2010 05:53 PM

Bit like this:

Code:

          CoD4 CoD5 CoD7 BFBC2 etc etc
Member  1  ?    ?    ?    ?
Member  2  ?    ?    ?    ?
Member  3  ?    ?    ?    ?
...
Member 40  ?    ?    ?    ?

User input field per category (i.e. game) would be a pulldown menu or a set of radio buttons, either simply with the same colour codes or descriptive texts like this:

Are you active in this game?

Yes
Occasionally
Rarely
Don't own it

I'm not entirely sure how to properly do the conversion bit from text values to images. Maybe the last value should be simply 'no' so the options can simply be variables translating to image names (occasionally.jpg -> dark green pip for example). But at my first attempts I mostly just broke the script :)


All times are GMT. The time now is 01:25 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.02133 seconds
  • Memory Usage 1,870KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_html_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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