The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Customizable Roster Details »» | |||||||||||||||||||||||||
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.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
|
4 благодарности(ей) от: | ||
KorvinGump |
Comments |
#562
|
|||
|
|||
Still awaiting reply
|
#563
|
|||
|
|||
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? |
#564
|
||||
|
||||
Quote:
https://www.cagclan.com/community/showroster.php Also if you can provide a link to your roster that would help as well. |
Благодарность от: | ||
hoplomachus |
#565
|
|||
|
|||
Quote:
Ok the way you have your ranks is what im after the rank image showing under the rank name that is perfect Thanks Hops |
#566
|
||||
|
||||
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> |
#567
|
|||
|
|||
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. |
#568
|
||||
|
||||
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. |
#569
|
||||
|
||||
You can also add this to your additional.css
#showroster_table td:first-child { text-align: center; } |
#570
|
|||
|
|||
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; |
#571
|
|||
|
|||
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? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|