Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Customizable Roster Details »»
Customizable Roster
Version: 4.1.0, by Sarcoth Sarcoth is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.1.0 Rating:
Released: 02-07-2010 Last Update: 01-04-2011 Installs: 318
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Customizable Roster

Introduction:

This Mod is ideal for a Guild/Clan roster, but it is also a great replacement for the memberlist. Customize it any way you like: add or remove columns with just a few easy edits. The installer includes permission control that allows you to set which groups appear on the roster and which ones can view it. The most popular option is the ability to control advanced sorting; check it out!



Installation:

Step 0: If you are upgrading from a previous version, save a copy of your old showroster.php and rename your showroster templates (I recommend giving them an underscore prefix; Example: _SHOWROSTER). When upgrading from version, make a copy of all your templates, then revert the templates back to their default, and then uninstall the older version. Also, make sure you delete the bitfield_showroster.xml file in the /includes/xml directory; this will cause database errors if not deleted.

Step 1: Download the showroster_vX.X.X.zip file and unzip it.

Step 2: Upload the files to their correct directories.
Upload the showroster.php to the /forum/ directory.
Delete the bitfield_showroster.xml in the /forum/includes/xml/ directory (if there).
Step 3: Admincp > Plugin & Products > Manage Products > Add/Import Product
Import the product-showroster_v4.x.x.xml file.
Step 4: 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.).
Step 5: Admincp > Settings > Options > ShowRoster Settings
Update 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 any of the many other settings.
Step 6: Admincp > Styles & Templates > Expand > ShowRoster Templates > SHOWROSTER, showroster_header, and showroster_userbits
You only need to adjust these if you have custom adjustments to make. Otherwise, there is no longer a need to change these.
NOTE: See installation and upgrading instructions in the included corresponding txt files.


Version Updates: See 2nd post.
FAQ: See 3rd post.
Screenshots: See 4th post.

PLEASE CLICK INSTALLED.
Support will be given to those that do.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
KorvinGump

Comments
  #562  
Old 08-23-2012, 07:52 AM
hoplomachus hoplomachus is offline
 
Join Date: Aug 2012
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still awaiting reply
Reply With Quote
  #563  
Old 08-23-2012, 09:30 AM
Kiint Kiint is offline
 
Join Date: Nov 2006
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #564  
Old 08-24-2012, 11:32 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hoplomachus View Post
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.
Reply With Quote
Благодарность от:
hoplomachus
  #565  
Old 08-25-2012, 05:15 AM
hoplomachus hoplomachus is offline
 
Join Date: Aug 2012
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CAG CheechDogg View Post
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
Reply With Quote
  #566  
Old 08-29-2012, 06:25 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Code:
<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>
Reply With Quote
  #567  
Old 08-29-2012, 01:48 PM
hoplomachus hoplomachus is offline
 
Join Date: Aug 2012
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #568  
Old 08-29-2012, 05:46 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #569  
Old 08-29-2012, 05:48 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also add this to your additional.css

#showroster_table td:first-child {
text-align: center;
}
Reply With Quote
  #570  
Old 11-08-2012, 05:06 PM
itzkr0me itzkr0me is offline
 
Join Date: Jun 2012
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:


Code:
#showroster_table th {
	white-space:normal;
	text-align:center;
	border:none;
        color:white;
Reply With Quote
  #571  
Old 02-06-2013, 07:56 PM
SRobbins1977 SRobbins1977 is offline
 
Join Date: Nov 2009
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:


Its using the dividers from the top nav bar. Where can I go to change that?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:01 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.19819 seconds
  • Memory Usage 2,343KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete