The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Profile Fields in a Postbit Dropdown Details »» | |||||||||||||||||||||||||||||
If you use this mod please hit INSTALL!
NOTE: This mod will be considered in BETA until the following items are cleaned up / added: 1. The CSS for the dropdown. Not horrible, but not pretty. 2. The Automated plugin is not working. 3. Alignment issues with the dropdown itself. If you ask when the afforementioned items will be fixed - you will be ignored, as I don't have a fix currently. If I did... I'd have fixed it before now! If you have a fix, please PM me and I'll integrate it into the mod and give you proper credit in the version history. With this mod you can allow profile fields to show up in a dropdown below a user's name and user's title under each post. NOTE: The dropdown's title shows up as [username]'s [dropdown_title]. Yes, the 's is hardcoded into the mod. Figured if I didn't hardcode it, someone wouldn't be able to figure out how to add it To edit the title: Go to AdminCP -> Languages & Phrases -> Search in Phrases. Search for the phrase's title: [dropdown_title] (no brackets). Edit and save! Note: The default is "Profile Fields". The dropdown is dependent on Profile Field 5 being filled. If the user does not have this profile field filled out, then the dropdown will not show. To edit or remove this restriction: Go to the "Dropdown Information - Manual" Template. Find and edit: (so that the dropdown will always show): Remove the FIRST: Code:
<vb:if condition="$post['field5']"> Code:
</vb:if> The "Dropdown Information - Manual" template allows you to manually create the dropdown. Some examples of how to do this are already provided within the template. This template is the default. The "Dropdown Information - Automated" templateand plugin are included as well, but the automated plugin is turned off by default as it isn't working just yet To edit it, go to AdminCP -> Styles & Templates -> Style Manager -> [STYLE NAME] Edit Style: Dropdown Information - Manual. New to this version from the previous versions is the epfp.css template. NOTE: Support will only be given to those who have hit install. If you use this mod please hit INSTALL! Download Now
Screenshots
Show Your Support
|
Comments |
#52
|
|||
|
|||
Made it work on 4.1.8 with compatibility on Wired Extra Options Profile Fields
First Alignment issue can be fixed through this ,Thanks to him https://vborg.vbsupport.ru/showpost....1&postcount=18 Also to make it work for the users who choosed to allow it for themselves and not only by filling the first field [ALTERNATIVE TO THE DEFAULT OPTIONS IN THIS PLUGIN] Add Single Text Box- menu Code:
Title: System Specs Description: Would you like to show other members your computer specs? Default is (NO) This will be displayed in your posts via a drop down menu for other members to view. Add your system specs in your usercp PC Spec options. Options: NO YES Set Default: Yes, but no first blank option. Field Required: No, but display at registration Field Editable To User: Yes Display Page: Extra Options [<--- Make sure you have Extra Options plugin by wired installed also make sure you fix the display order after creating this to show up on the top of the page extra options page ] Add Code:
== YES" after $post['fieldX'] Code:
<vb:if condition="$post['field36'] == YES"> Also do not use the Inches [ " ] use [ ' ] only for Monitors or you will get a written code after your monitor's size number -- i would like to know how to increase the table's border,i've tried different methods. |
#53
|
||||
|
||||
Anybody notice ther used to be a down facing arrow V next to your username specs text,.
Strange, after upgrading to vbulletin version 4.1.8, our forum is now not showing that V? Problem fixed after switching to post bit legacy style (left side) |
#54
|
|||
|
|||
Working perfectly on vB 4.2.0 (few modifications to improve the look)
Easy to change colors around for dark/light themes with CSS... Dark -> User System Specs(dark) Light -> User System Specs(light) |
Благодарность от: | ||
The Rocketeer |
#55
|
||||
|
||||
Quote:
|
#56
|
|||
|
|||
Sure, here is the XML file...
You may need to change around the user fields to get everything working correctly. Also note, I made a field for enabling the drop down: Code:
<vb:if condition="$post['field6']=='Yes'"> I did this so that the first field didn't have to be filled to show the drop down. If you have any questions feel free to ask. |
#57
|
||||
|
||||
Quote:
here's my template Code:
<!-- post specs_menu --> <vb:if condition="$post['field6'] OR $post['field21'] OR $post['field9'] OR $post['field11'] OR $post['field7'] OR $post['field8']"> <div id="specs_{vb:var post.postid}_main" class="thread_controls"> <ul id="postlist_popups" class="postlist_popups popupgroup"> <li class="popupmenu" id="specs_{vb:var post.postid}"> <a class="popupctrl" href="javascript://">{vb:var post.username}'s {vb:var vbphrase.dropdown_title}</a> <ul class="popupbody memberaction_body epfp_list"> <vb:if condition="$post['field21']"> <li class="left">Rig Name: </li> <li class="right">{vb:var post.field21}</li> </vb:if> <vb:if condition="$post['field10']"> <li class="left">Display(Primary): </li> <li class="right">{vb:var post.field10}</li> </vb:if> <vb:if condition="$post['field24']"> <li class="left">Display(Secondary): </li> <li class="right">{vb:var post.field24}</li> </vb:if> <vb:if condition="$post['field6']"> <li class="left">Processor: </li> <li class="right">{vb:var post.field6}</li> </vb:if> <vb:if condition="$post['field26']"> <li class="left">CPU Cooling: </li> <li class="right">{vb:var post.field26}</li> </vb:if> <vb:if condition="$post['field7']"> <li class="left">Motherboard: </li> <li class="right">{vb:var post.field7}</li> </vb:if> <vb:if condition="$post['field8']"> <li class="left">RAM: </li> <li class="right">{vb:var post.field8}</li> </vb:if> <vb:if condition="$post['field9']"> <li class="left">Graphics Card(s): </li> <li class="right">{vb:var post.field9}</li> </vb:if> <vb:if condition="$post['field11']"> <li class="left">Hard Drive: </li> <li class="right">{vb:var post.field11}</li> </vb:if> <vb:if condition="$post['field17']"> <li class="left">Optical Drive: </li> <li class="right">{vb:var post.field17}</li> </vb:if> <vb:if condition="$post['field19']"> <li class="left">Case: </li> <li class="right">{vb:var post.field19}</li> </vb:if> <vb:if condition="$post['field16']"> <li class="left">Power Supply(s): </li> <li class="right">{vb:var post.field16}</li> </vb:if> <vb:if condition="$post['field12']"> <li class="left">Sound Card: </li> <li class="right">{vb:var post.field12}</li> </vb:if> <vb:if condition="$post['field13']"> <li class="left">Speakers: </li> <li class="right">{vb:var post.field13}</li> </vb:if> <vb:if condition="$post['field14']"> <li class="left">Keyboard: </li> <li class="right">{vb:var post.field14}</li> </vb:if> <vb:if condition="$post['field15']"> <li class="left">Mouse: </li> <li class="right">{vb:var post.field15}</li> </vb:if> <vb:if condition="$post['field18']"> <li class="left">Operating System(s): </li> <li class="right">{vb:var post.field18}</li> </vb:if> <vb:if condition="$post['field20']" > <li class="left"><url>Rig Build Topic (?): </url></li> <li class="right">{vb:var post.field20}</li> </vb:if> <vb:if condition="$post['field23']"> <li class="left">Benchmark Scores: </li> <li class="right">{vb:var post.field23}</li> </vb:if> <vb:if condition="$post['field22']"> <li class="left">Some Comments: </li> <li class="right">{vb:var post.field22}</li> </vb:if> </ul> </li> </ul> </div> </vb:if> <!-- / post specs_menu --> |
#58
|
||||
|
||||
Okay, I imported and overwrote the original one with your product but mine end results looks very far from what you have here
look.. It also interferes with the blog posts text, when it should after and below it? |
#59
|
|||
|
|||
Great mod, marked as installed!
I do hope however there is still some support available; I haven't altered anything else besides the basic product installation yet, because it appears the mod is 'interfering' with the vBExperience mod. It's probably a very easy fix, but I'm not sure where to start and/or what to do exactly. I guess images would explain the issue better, if the above doesn't make any sense to anyone. Any help would be greatly appreciated. Edit: Just noticed the posts from another user and the responses, about a solution not being known. I'm hoping someone has come up with a solution in the meantime or does know how to fix it. |
#60
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|