The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Customizable Roster (Member List) Details »» | |||||||||||||||||||||||||
Customizable Roster (Member List) [How to] get a working Guild/Clan Roster Note: This modification is now discontinued - this means that while it will remain available for download and use, support will no longer be provided as the thread is no longer monitored. Please see the 3.7 release of this modification for future updates here. Introduction: This Mod started off as a [How to] template modification. I have since added in permission control and an installer. Those that install this Mod will need to make adjustments to two templates and one phrase depending on what you want displayed. I'll include instructions for each step as well as optional changes you can make at your decretion. Click the following link for a Guild Roster preview: http://vanguard.sacredhaven.org/forums/showroster.php You'll notice that I use the "Extra Profile Fields Page" by Wired1. It isn't needed for the Roster, but I think it makes the field updates look nicer for the users. 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). Step 1: Download the attached showrosterXXX.zip file. 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.xml file.Step 4: Admincp > Languages & Phrases > Phrase Manager > Phrase Type: ShowRoster > showroster_title --> Edit Change this to whatever you want as the title of your roster.Step 5: 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 6: Admincp > Styles & Templates > Expand > ShowRoster Templates > showroster_header This template contains the headers for each of your columns. Add/Edit/Remove columns to your preference. Be sure to update the colspan to the number of columns you have.Step 7: Admincp > Styles & Templates > Expand > ShowRoster Templates > showroster_userbits This template gets the data from each of the fields you want to have viewed on your roster. Add/Edit/Remove columns and/or the nowrap="nowrap" to your preference. Be sure to update each of the field#'s to match the fields from Step 5.Step 8: Admincp > Usergroups > Usergroup Manager > Edit Usergroup All instructions are included in the instructions.txt and optional.txt. Enjoy!!! Versions: v1.1.3 - April 22, 2007
v1.1.2 - April 20, 2007
v1.1.1 - April 19, 2007
v1.1 - April 5, 2007 (Mod Revamp)
v1.03 - April 2, 2007
v1.01 - March 27, 2007
v1.01 - March 9, 2007
v1.0 - March 6, 2007 (Initial Release) Show Your Support
|
Comments |
#102
|
|||
|
|||
Ohhh, I thought you meant line up in regards to header vs. rows. You mean they don't all have the same column width. That's easy enough. Just edit the _header template. Copy the following.
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="9">$user[title] ($usercount)</td> </tr> <tr> <td class="thead" width="15%"><center>$vbphrase[user_name]</center></td> <td class="thead" width="20%"><center>Character Name</center></td> <td class="thead" width="15%"><center>Character Class</center></td> <td class="thead" width="15%"><center>Character Level</center></td> <td class="thead" width="15%"><center>Character Sex</center></td> <td class="thead" width="20%"><center>Avatars</center></td> $rosterbits </table> <br /> |
#103
|
|||
|
|||
thanks buddy like my skin for my guild site ?
|
#104
|
|||
|
|||
Yes. I especially like the runed side and bottom borders.
BTW, don't forget to upload that spacer.gif file to your /forum/images/ folder. That will get rid of those little red x image errors. |
#105
|
|||
|
|||
oh okay didnt see them i use firefox yeah i started doing that theme during my xmas vaction and still keep improving it btw great job on the guild hack
|
#106
|
||||
|
||||
Hi again Sacroth, ive upgaded to your new 1.02 with success bar the username display. You have changed the variable $user[musername] to $user[username]. I use colour coded usernames so this new variable I dont like could I request you add the old one too?
Thanks & GJ EDIT: I noticed the showroster.php you added above for Gator included the $user[musername] variable. I tried this by overwriting the current on server only to get a db error mentioning that this is unrecognised in the db :s Code:
WHERE (usergroup.showrosterviewpermissions = 1) Thanks |
#107
|
|||
|
|||
Quote:
|
#108
|
|||
|
|||
I just updated the showroster hack with various changes. Please don't upgrade to it if you used the permissions installer. It isn't making use of the permissions. That will be introduced in my variation hack I plan to release soon. If you have any problems with this hack or my permissions test from last week, let me know and I'll do my best to help.
|
#109
|
|||
|
|||
Still using the permissions version...working great!
|
#110
|
|||
|
|||
Hi Sarcoth,
really nice roster, I am trying to modifie the code to our guild need and i would like to have an icon instead of the name of the class, I am not a Vbulletin guru do you think you could help me ? I created a Single-Selection Menu user profile field with a selection of 8 classes, what I am trying to do is do a if condition and show the right class icon acording to the selection. here is what I tried but i cant get it to work Code:
<td class="$bgclass" nowrap="nowrap"> <if condition="$user[field6] = warrior "><img src="images/classes/warrior_icon.gif" alt="Warrior" /><else />$user[field6]</if></td> Thank you. |
#111
|
|||
|
|||
Quote:
Open the showroster.php file. Find: Code:
$usercount++; Code:
$classurl = 'images/spacer.gif'; if ($user[field9] == 'Warrior') { $classurl = 'images/classes/warrior.gif'; } if ($user[field9] == 'Bard') { $classurl = 'images/classes/bard.gif'; } $classimage = '<img src="'.$classurl.'" border="0" alt="'.$user[field9].'">'; Then go to the showroster_userbits template. Use this instead of the code you are using: Code:
<td class="$bgclass" nowrap="nowrap">$classimage</td> I hope that helps. I tested it and worked for me. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|