The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
||||
|
||||
![]()
Hey there! I literally JUST figured out how to do exactly what you are doing and it took a good amount of time to figure it out. So here's what I did...
There are actually two templates you need to edit to accomplish moving the tables around. Open up memberlist and memberlist_resultsbit (this is using 3.8.3). Memberlist template is where you move the column headers. Memberlist_resultsbit is where you move the columns (td tags). I don't have time to explain in great detail, but if you compare the two templates, they are very similar and you can find where they work hand in hand. I wanted to add only specific custom fields to my memberlist too. I wanted to add a column for the State the user lived in. It was a bit complicated, but I made notes for myself. I will copy them here and hopefully it will help you. Note where it says "state" you can call that whatever your field is. --- Do not enable custom profile fields on the home page through the vB options control panel. Leave that unchecked or it will display all of them. To add a single new custom field that is displayed on the memberlist page.... Use the custom profile field option to create a new field. Note the field name. You need to edit the memberlist_resultsbit template and add the new column. Note: this template may be named memberlistbit in older vB installs (I think). - <td class="$bgclass">$userinfo[field7]</td> (this makes new column) - Note: "field7" is changed to reflect the name of the new field you created. then edit the memberlist template to add the column header/title - <td class="thead" nowrap="nowrap">$vbphrase[state]</td> (this adds the new column header) - Note: "state" is changed to reflect the name of the new field you created and used to call the vb phrase. Use phrase manager to create this phrase and then reference it: $vbphrase[state] (or hand type in the title instead of using a phrase) ------ I don't give instructions a lot here so forgive me if it's not that great. I just popped on to get help with something else. LOL! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|