PDA

View Full Version : Profile Enhancements - Sarcoth's Roster Mod


Sarcoth
06-29-2013, 10:00 PM
Sarcoth's Roster Mod [LITE]

Introduction:

This Mod is ideal for a Guild/Clan roster, but it is also a great replacement for the Member List. Customize it any way you like: give your roster a title, decide which usergroups can view the roster, which usergroups are on the roster, and which fields you want to display.

Version Update:

1.0.1

Product XML code has been cleaned up.
Addon included in the zip file, see Step 4 below.

1.0.2

Fixed a bug where special characters were being converted to HTML entities.


Installation:

Step 1: Download the Sarcoths_Roster_Lite_v1.0.x.zip file and unzip it.

Step 2: Upload the files to their correct directories.Upload the rosterlite.php to the /forum/ directory.
Also, upload the sarcoth folder to the /forum/ directory.Step 3: Admincp > User Profile Fields > Add New/Update User Profile FieldAdd all the Profile Fields you plan to use and keep track of their number(s) (i.e. field6, field7, etc.).Step 4: Admincp > Plugin & Products > Manage Products > Add/Import ProductImport the product-sarcoth_rosterlite_v1.0.x.xml file.
OR, Import the product-sarcoth_rosterlite_v1.0.x_alltitles.xml file if you prefer to include all titles in the setting options area of the AdminCP.
Step 5: Admincp > Settings > Options > Sarcoth's Roster Lite SettingsUpdate the settings for your roster: usergroups allowed to view the roster, usergroups that are displayed on the roster, the title and field# for each of your columns on the roster, and other settings.

FEATURES (https://vborg.vbsupport.ru/showpost.php?p=2431283&postcount=2)
PREVIEWS & FAQ (https://vborg.vbsupport.ru/showpost.php?p=2431284&postcount=3)

If you are interested in the PLUS version, click here: Sarcoth's Roster Mod [PLUS] (http://sacredhaven.org/vb4/forums/showthread.php?194-Sarcoth-s-Roster-Mod).

Sarcoth
06-30-2013, 02:03 AM
LITE Version Features:

Roster title can be changed. This appears in the webpage tab, top of the roster, and in the navbits.
Viewing permissions. These are the usergroups that can view the roster page.
Roster groups. The list of usergroups that appear on the roster.
Group titles. The names of each usergroup that appears on the roster.
View option. You can view the roster as split into groups (http://sacredhaven.org/forumsh/rosterlite.php) or all one table (http://sacredhaven.org/forumsh/rosterlite.php?rid=1).
Column names. The head title for each column.
Column fields. The names of each field you want to use for each column.
Sorting. The default sort is by username. Change this to no to use your own sort field.
Sorting field. This is where you enter the field you want to sort by.
Sorting direction. Adjust this to change the default direction of your sorting field.
Member count. Decide on whether to show your member count at the top of the page or not.


PLUS Version Features:

All features found in the Lite Version.
Admin Groups. The list of usergroups that can view the debug information.
Roster Debugging. Change this to yes to turn off the roster and allow you to view the query without getting a database error. The query can then be posted in the subscriber forum for help.
Multiple Rosters. Allows you to set the page name for additional rosters. At the moment, I have added only 5 additional custom rosters. This can be manually added to if needed. I will give a walk through on how in the subscriber forum.
You can set a joined date column and last activity column as needed.
You can set an Avatar column as needed.
ProfilePic: You can display the profile pics for each of your members.
Title Banner: Instead of displaying a title, you can use an image for your title.
Group Banners: Instead of displaying the name of the group, you can use an image for each group name.
Position #: You can display a ranking number for each member of your roster in the order they are initially sorted.
Display Member Count: This allows you to display or hide the number of users displayed on the roster.
Count Member Once: If you have members located in different groups and you only want them counted once for the entire roster, then change this to Yes.
Sorting Format which replaces Splitgroup. Options are:

Multi-Groups: This is the default. Sort by Groups, then by a secondary field (default = username). It is displayed by showing a table for each group.
Multi-Groups with Collapsing Tables: This is the same as above, but now you can also collapse each group as you like. (Feature requested by CharlieDelta)
Single Table 1: This also sorts by Groups, then by a secondary field (default = username) but is displayed in a single table.
Single Table 2: Single Table View with Primary Sort (default = username). The RANK field does not work with this sorting format.

Basic Sorting field: By default, sorting is done by usergroup and then username. This can be changed to whatever field is found in the user table.
Basic Sorting field type: Sort by alphabetical or numerical when using basic sorting.
Basic Sorting order: Sort ascending or descending.
Advanced Sorting: If you want to give users control over how to sort the roster, this will allow them to click on the column header to sort a column ascending (first click) or descending (second click). Advanced sorting works best with a Single Table roster. By holding shift, you can click on additional columns to create a multi-column sorting.
Default Sorting: When using advanced sorting, you can select a column to be the default that is sorted when the page is loaded (asc or desc).
Filtering: When using advanced sorting, you can change the color of whatever column is being sorted. Each additional column will be changed to another color up to the 3rd column. All additional columns will be the same color as the 3rd. These colors can be adjusted in the roster css file.
Pagination: Add pagination to the roster. This will allow you to display a limited number of users at a time. You can even set up the number of users displayed per page.
Page Menu: Make the pagination menu visible or hidden.
Page Default Length: The default length of each page when the roster is loaded.
Page Menu Sizes: Set up the choices a user can select from when displaying the roster. Allow them to display 5, 10, 25, 50, 100, or All rows on the roster.
Info Display: Allow the users to see an information display of how many users out of the total are being displayed.
Search Feature: Enable the search feature so users can enter a string of characters and the roster will automatically update to show just those rows containing that string.
Search Box Display: Keep search enabled, but hide the search box. Allows you to use the search feature in the background without allowing anyone else access to it.
Column Search: Select a single column to be searched when the page is loaded. Select the column and the string to be used in the search. Only the rows with that string are displayed. (Feature requested by Fields)


Planned for Plus Version:

Nothing at this time. I need some ideas.

Sarcoth
06-30-2013, 02:03 AM
FAQ:

There is a maximum of six columns in the Lite version.
I recommend you keep the permission for viewing the roster limited until you get the roster working. This is in case you have any database errors.
I am removing all spaces from the settings that state (comma separated list) to prevent database errors. The exception is the column titles, which will allow spaces. I still recommend removing spaces before or after a comma, but this should not cause a problem.
The second option under Columns (column fields) must be valid profile fields on your forum. If not, you will get a database error. RANK is a special field I have created that uses the title you set for your group under Rank Titles.
Column widths. This is so you can control the width for each of your columns. All your columns should add up to 100. IE: 20,20,20,15,10,15 would be a good setting if you had six columns.
Sorting. If you change the top option to No, you need to use a one (1) field you have in the column fields area. If you do not, it should default to username.
If you get a database error, you did something wrong. The error will most likely be related to your column fields setting.


Sarcoth's Roster Mod [Plus] - Examples
The following is a set of examples that have been created to show the various ways this mod can be used. To find the list of examples, please visit my website (@ sacredhaven.org (http://sacredhaven.org)) and click on the RosterMod dropdown button in the forum menu. You can click on each example there. A description of each example follows.

Example #1 - Multiple Tables (default)
* Sorted by usergroups (multiple tables) and then sorted by your choice.

Example #2 - Collapsing Multiple Tables
* Sorted by usergroups (multiple tables) and then sorted by your choice.
* Each table can be collapsed for easy viewing.

Example #3 - Single Table w/2D Sorting
* Sorted by usergroups (single table) and then sorted by your choice.

Example #4 - Single Table w/1D Sorting
* Single sorting option: your choice.

Example #5 - Title and Group Banners
* Use a banner for your entire roster.
* Multiple tables (groups).
* Each group has it's own banner.
* Each roster member displays the usertitle via an image.

Example #6 - Single Table w/Advanced Sorting
* Single table w/2D sorting.
* Table is initially sorted with basic options, then advanced sorting via java scripting.
* Each column can be dynamically resorted by clicking on the column headers.
* You can sort multiple columns by holding down the shift key.

Example #7 - Advanced Sorting w/Column Colors
* Same as example #6.
* Each column that is currently selected for sorting with stand out with a new color.

Example #8 - Pagination
* Single table w/2D sorting.
* Pagination allows you to see only a selected number of rosters members at a time.
* Pagination allows you to set a default table size.
* Also have the info box turned on so you can see the current number of members displayed versus the total number.

Example #9 - Search Box
* Single table w/2D sorting; should work with all table types.
* Enables a search box so any user can type a string that updates the table to show only roster members with that string.

Example #10 - Mixed Advanced Features
* Combines all features from Examples 6-9.

Example #11 - Column Filtering
* Single table w/2D sorting; should work with all table types.
* Searching is enabled but the search box is hidden.
* Only the selected roster members are displayed for whatever column and string is set.
* In this example, only the roster members that contain "Enchanting" in the "Crafting" column are displayed.

Example #12 - Private Column Encryption
* Single table w/2D sorting; should work with all table types.
* Set a column and the usergroups that can see this column; all other usergroups can only see special characters.
* In this example, the "Character Name" column has been set to private.

Let me know if you would like to see any additional examples.

More Installs & Ratings
I'm willing to add an option from the [Plus] version to the [LITE] version if this mod gets 100 installs and ratings (any star value). You'll need to reply to this thread and select one option that you would most like to see imported over into the [LITE] version. I'll have the final say, but I'll try to select the one most requested; if it isn't too difficult.

Kiint
06-30-2013, 09:11 AM
Nice work, thanks.

I had an idea maybe for a future version?
I've always found that it's hard to get members of my guild/clan to use my websites/rosters as they are more interested in the game than using the web. My sites normally just change into an info page with nobody taking the time to register.... :(

I was thinking that if you had something tied into the roster like an award/promotion section. Something where you can add achievements to the users characters, Be able to offer them a promotion where they have to go to the website before they can receive it.
When clicking on a member being able to see more info on their characters with a list of achievements, maybe a family tree where you can see all of the users characters together. A small box where they can type in some info on their characters.
I'm playing Star wars the old republic at the moment and each of your characters can have skills/attributes which other members in your guild can use, crew skills etc, would be nice to be able to view a table of these so that you can message that guild member to assist you with making something.

A lot of work, I know, but maybe something for the future.

I've seen an award type mod on here some, but that's no use when you want a roster for people with multiple characters in a game as it's user based.

Anyway, thanks for all the work you have done :)

CharlieDelta
06-30-2013, 12:46 PM
Great work Sarcoth.
For some reason I am unable to rate this thread????

Sarcoth
06-30-2013, 09:20 PM
@Klint - Welcome and thanks. There is already a good Award's mod out there by DragonByte, that's the one I use. If you used something like that, I could always see if I could add their award's to the roster. No promises, but I use it too so maybe I'll look into it. :) Making an awards type thing for this though goes well outside the bounds of this mod.

@Charlie - Thanks. No idea why it cannot be rated. I did not see anything in the options.

@ Klint again - Actually, I had made a character based one for my MMO guild in Rift. It worked out well. I would be willing to do something like that for the Plus version of this mod if there were enough interested in that option. Then again, who knows, maybe I'll do it anyhow. I personally liked it for my Rift roster. You have my brain working.

Cyberbang3r
07-01-2013, 01:40 AM
Awesome Mod! Installed and purchased the full version. Exactly what I was looking for!

Kiint
07-01-2013, 04:37 PM
@ Klint again - Actually, I had made a character based one for my MMO guild in Rift. It worked out well. I would be willing to do something like that for the Plus version of this mod if there were enough interested in that option. Then again, who knows, maybe I'll do it anyhow. I personally liked it for my Rift roster. You have my brain working.

That's good to hear, Nothing like a challenge :)

Sarcoth
07-08-2013, 02:17 PM
I've added the features list for the Lite and Plus versions of this mod, multiple previews, and a FAQ area. I'm now working on pagination and other options for the Plus version which should be released in a couple weeks.

Vitaris
07-18-2013, 10:25 PM
Great work, Sarcoth! I've installed it, it all looks good.

I'm in the middle of a big overhaul of my forums, so I might have missed it in your notes, but is there plans to add things like the usergroup colors, links to user profiles? I've noticed in your demo that you have that - is that a feature of the pro version?

Thank you again for your work on this. Looks great!

fords8
07-20-2013, 06:52 PM
What is the cost of the plus version?

Sarcoth
07-22-2013, 03:51 PM
Great work, Sarcoth! I've installed it, it all looks good.

I'm in the middle of a big overhaul of my forums, so I might have missed it in your notes, but is there plans to add things like the usergroup colors, links to user profiles? I've noticed in your demo that you have that - is that a feature of the pro version?

Thank you again for your work on this. Looks great!
Sorry I didn't reply sooner but I was on vacation. The links to user profiles have already been done and will be added in 1.1.0 of the plus version. I could add usergroup colors but I'm not using the usergroup part anymore since I changed the code around. I could instead add something in so you can make the usergroups whatever color you want. No plans to update the Lite version anymore unless a bug is found. You're welcome, I'm glad you like it.

What is the cost of the plus version?
In the top post, there is a link to the info about the Plus version. I'm only allowed to link things once here and I'd hate to break any rules. :) I can PM you more info if you'd like though...just contact me.

fords8
07-22-2013, 05:36 PM
In the top post, there is a link to the info about the Plus version. I'm only allowed to link things once here and I'd hate to break any rules. I can PM you more info if you'd like though...just contact me.
I didn't see the price when I went to your site the first time. Thanks!
EDIT: I am using your old clan roster mod now. I will have to look at moving to this new one. Having multi roster pages could come as a big help.

Sarcoth
07-22-2013, 05:52 PM
I didn't see the price when I went to your site the first time. Thanks!
EDIT: I am using your old clan roster mod now. I will have to look at moving to this new one. Having multi roster pages could come as a big help.
Welcome. Yea, it wasn't at the top like I have it now. You were the second to ask so I figured I should make it easier to find. The new one does have some cool new options. I'm proud of it. The new version due this week adds in better sorting, pagination, and filtering without having to reload the page. I'm having too much fun adding options, but this takes away from my other projects.

Sarcoth
07-25-2013, 08:53 PM
All planned updates for the Plus version 1.1.0 are being released tomorrow. If you'd like to read more, you can view them via the Sarcoth's Roster Mod [Plus] link in the first post.

Some cool new stuff:
-new sorting JavaScript
-sorting allows column highlighting if you turn it on
-multiple columns can be selected for sorting
-pagination
-set how many rows per page
-set the type of pagination buttons to use
-pagination button location
-filtering (search)
-collapsing/expanding groups
-user titles with image support

datoneer
07-26-2013, 03:55 PM
Cool mod, thanks

datoneer
07-26-2013, 04:06 PM
What else can i add except username and rank?? What should i type to work

Step 3: Admincp > User Profile Fields > Add New/Update User Profile Field

Add all the Profile Fields you plan to use and keep track of their number(s) (i.e. field6, field7, etc.).

I don't understand this, where to enter profile field number?

Sarcoth
07-26-2013, 05:53 PM
What else can i add except username and rank?? What should i type to work

Step 3: Admincp > User Profile Fields > Add New/Update User Profile Field

Add all the Profile Fields you plan to use and keep track of their number(s) (i.e. field6, field7, etc.).

I don't understand this, where to enter profile field number?

Do you have any profile fields you would like to display? If so, get their field# from the User Profile Field Manager. Then go to the "Sarcoth's Roster Lite Settings". The second area under Columns is where you would enter the fields you want displayed.

datoneer
07-26-2013, 06:10 PM
Oh thanks,

Sarcoth
08-30-2013, 06:25 PM
My showroster mod never had support for Multi-Selection Menu profile fields. I just got it working in my test area of the Plus version of this mod. It will be included in the next version when released.

You can check it out here: http://sacredhaven.org/forumsh/roster.php?roster=ffxiv

The secondary class and secondary role columns are using it.

The multi-selection checkbox profile field is probably similar, but I'll only work on adding that if requested. Maybe they do the exact same thing and it will work the same way as the menu.

jaffaman
10-20-2013, 04:43 PM
Installed and working :)

reviziongaming
11-15-2013, 08:24 PM
Installed and working :)

on what version of VB??

Does anyone know if this mod works on 4.2.2?? Sucks that its not easy to find supported version info about this ... even on Sarcoth's website. I want to purchase the better version but I won't until I know for sure it works ok on 4.2.2

Sarcoth
11-15-2013, 08:59 PM
on what version of VB??

Does anyone know if this mod works on 4.2.2?? Sucks that its not easy to find supported version info about this ... even on Sarcoth's website. I want to purchase the better version but I won't until I know for sure it works ok on 4.2.2

Good timing. I'm planning to update my forums to 4.2.2 this weekend. So, if you do install it and it doesn't work, I'll fix it and get it working. And, I'll extend your one year to whatever date I get it working.

Nonetheless, I think it will work in 4.2.2 no problem. The only time I ever had a problem with one of my mods not working was my vb 3.x not working with vb 4.x. :)

BTW, I'm moving my forums to a new host tonight. So, my forums may be down for a couple days. I'm hoping to have it back up tomorrow, but you never know.

reviziongaming
11-20-2013, 07:15 PM
How did the upgrade go?? How does your Roster mod workout on 4.2.2??

Trust me I understand the pain of moving to a new host as well... hope that went smooth for you.

Sarcoth
11-20-2013, 07:28 PM
How did the upgrade go?? How does your Roster mod workout on 4.2.2??

Trust me I understand the pain of moving to a new host as well... hope that went smooth for you.

The move to the new host seems to have gone fine. I decided to hold off on the upgrade till later this week or weekend. I had a lot of stuff due at school. I'll post a reply here as soon as its done.

reviziongaming
11-20-2013, 07:35 PM
sweet thanks... good to hear it all went well with the new host.

Will wait for your next response... may the force be with you.

MinusZero_Hz
11-24-2013, 04:36 AM
Hey there.

I'm struggling to get this on a page... How do I get it on a page? I've always had someone else put stuff on the page but.. I just want to know how. My website is horizon-gaming.net if that helps any.

Sorry for the inconvenience.

masonox
12-02-2013, 03:09 PM
Hello, thanks for the great mod. Question: Does the plus version have more than 6 columns?

Problem:

Can the RANK be pulled from my usergroup names and be different from the .rosterlite_tableheader?

Right now it says

Guild Master, but also my rank says Guild Master would like it to say my usergroup name under rank instead, but guild master, or officer et in the .rosterlite_tableheader

Thanks!

Sarcoth
01-06-2014, 10:45 PM
sweet thanks... good to hear it all went well with the new host.

Will wait for your next response... may the force be with you.

I moved to a new host in November. After the move was done, I attempted to do the upgrade to 4.2.2 and had a lot of major problems. That host was really not as good as they had seemed and after 4 weeks of trying to fix my problems, I gave up. Then the holidays came up and I could not bother with it. I moved to yet another host this weekend and have resolved all my issues. Even though I had a rough start with my new host, their customer support was excellent and I can say that I'm very happy with them.

Anyhow, I just enabled the roster mod on my site and everything appears to be working with 4.2.2.

Hey there.

I'm struggling to get this on a page... How do I get it on a page? I've always had someone else put stuff on the page but.. I just want to know how. My website is horizon-gaming.net if that helps any.

Sorry for the inconvenience.

I really don't understand exactly what you are asking.

Hello, thanks for the great mod. Question: Does the plus version have more than 6 columns?

Problem:

Can the RANK be pulled from my usergroup names and be different from the .rosterlite_tableheader?

Right now it says

Guild Master, but also my rank says Guild Master would like it to say my usergroup name under rank instead, but guild master, or officer et in the .rosterlite_tableheader


Thanks!

Yes, the Plus version can have unlimited columns, but keep in mind that it may look weird if it gets too big. I'd say you wouldn't want more than 10 columns to be safe.

In regards to the RANK, that is something included in the plus version. I gave a lot more functionality to what can be used there.

ForceHSS
01-08-2014, 06:55 PM
In the lite version u can put six columns but if I put level it shows nothing can you post a pic of the way it should be done or a how to as no matter what I put it won't work

masonox
01-10-2014, 11:41 AM
Yes, the Plus version can have unlimited columns, but keep in mind that it may look weird if it gets too big. I'd say you wouldn't want more than 10 columns to be safe.

In regards to the RANK, that is something included in the plus version. I gave a lot more functionality to what can be used there.

Thanks so much, SOLD! lol I'll swing by your site and buy it here in a bit :)

ForceHSS
02-27-2014, 11:02 AM
I fixed the missing titles in this mod pm sent to op with fixes

Sarcoth
07-16-2014, 05:46 PM
Update uploaded.

I put the changes in the top post.

If your version of the roster is working, there is no need for you to install this version. It will not do anything additional for you. I did not try an upgrade from the previous version so I'm not sure that will cause any problems.

The update will also include an addon that you can install separately. It will add the titles that ForceHSS wanted. I personally don't need them on my roster b/c I like to split my settings into groups. I wish I could give sub-titles for each option, that is something I would use.

ForceHSS
07-16-2014, 08:26 PM
Thanks for uploading the fixes I put but would it not of been better to put it all into one file like i did above

Sarcoth
07-16-2014, 08:53 PM
Hey Force,

That is what I explained. I don't consider those fixes, but small preference adjustments. I actually never meant for the titles to be there. I split things into groups by only placing a title at the top of each group. I know it isn't what other developers do, but it is how I like them. If I could do a group title and then do titles for each item separately (like a sub-group), that would be my preferred method. The only other way would be to put each group on separate option pages, but there are not enough options to do that. That's why I did the addon. The main reason for this update was to get rid of a bunch of code I no longer support.

In hindsight, I suppose I could have just had two separate files (one with the titles and one without). I felt like there was a reason why I didn't do that, but now I don't recall. I also wanted to see if the addon xml would work and I was quite pleased it did. Now I know how to make small additions to my mods without having to make an update.

Anyhow, I'll see if I can post another file update tomorrow: one without the titles and the other with them (for you and anyone else that likes it that way).

ForceHSS
07-16-2014, 09:05 PM
The reason I like it the way I do is if you expand the options it shows blank spaces and it looks better in looks if they are filled and it is easier when searching. The picture below is with my fixes the other one is what your default looks like

Sarcoth
07-17-2014, 01:58 PM
Well look at that. I've never used that expand feature! I just tried it on mine and I see what you mean. Understood. I would definitely love some sub-group type setting, but I'll just make a copy of both in the future. :)

Sarcoth
07-17-2014, 02:19 PM
Okay. I update the mod file. I removed the addon, so now you only have to select between either the way I normally display the titles or use the xml that includes all titles. Enjoy!

Sarcoth
07-31-2014, 11:27 PM
I released the [Plus] version 1.3.0 today. I also updated the feature list for the [Plus] version.

https://vborg.vbsupport.ru/showpost.php?p=2431283&postcount=2

Sarcoth
08-20-2014, 07:53 PM
I have added seven new examples for this mod. A list of the examples can be seen in the 3rd post of this thread.

https://vborg.vbsupport.ru/showpost.php?p=2431284&postcount=3

Dragonsys
02-20-2015, 07:02 PM
I have one little problem, a user with the name M&M is showing up as M&M

You can see it here - http://www.lonestarcamaro.com/forums/rosterlite.php

Sarcoth
02-23-2015, 04:05 AM
I have one little problem, a user with the name M&M is showing up as M&M

You can see it here - http://www.lonestarcamaro.com/forums/rosterlite.php

I will look into it this week.

CAG CheechDogg
02-27-2015, 09:36 AM
Are you planning on doing something about your quarantined version of your older roster mod for 4.1.0 ?

Sarcoth
02-27-2015, 01:43 PM
Are you planning on doing something about your quarantined version of your older roster mod for 4.1.0 ?

Eventually. I need to find the time to look at the code.

Sarcoth
02-27-2015, 03:37 PM
@Dragonsys - The bug should be fixed now. Let me know.

I will apply this fix to the PLUS version this weekend.

theorigin
06-27-2015, 06:35 AM
Question..

How difficult would it be to replace the text with an image? We just started up an ESO guild site and instead of it showing the Races/Classes in text, I'd like to have actual images in there. Would that be possible?

Dragonsys
12-18-2015, 09:22 PM
The link for your Plus version no longer works, is there an updated link?

kevius
01-21-2016, 09:57 AM
up, please i need the "plus" version. Where can i buy it ?

kevius
01-21-2016, 01:50 PM
Thanks to Sarcoth for the link to the Plus version :

http://sacredhaven.org/vb4/forums/showthread.php?194-Sarcoth-s-Roster-Mod

Sarcoth
01-21-2016, 01:58 PM
Hey everyone. I'm slowly getting everything back up and running. I will update all the links in the main thread soon.

My forums were hacked a couple months ago and I've been neglecting my duties. Sorry about that.