![]() |
Profile Fields in a Postbit Dropdown
1 Attachment(s)
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! |
Version History:
3.0.0 - Initial Release 3.0.1 - Added plugin to cache templates, courtesy of ssslippy. 3.1.0 - Updated for 3.8.x, no code changes made. 4.0.0 - Updated Dropdown - Manual for vB 4.0.x. Automatic is still being worked on. |
Reserved for future use.
|
super cool! will install as soon as I upgrade to 4.0.6.
|
Tagged. Waiting for code clean up.
|
Seriously, WTF does tagging do.
|
tagging is like "bookmarking".
I tagged it too. When I upgrade to 4.0.6 this week, i will install it and mark as installed :D |
I've been looking for something like this for a while. I can confirm that it is working fine on v4.0.6.
Thanks! |
Hi Wired1,
Thanks for this. I have the dropdown and it is displaying some old info from the old version on 3.8.x. What's even weirder is that I've got no fields to fill in, there's no new fields in my profile at all. Have I missed something fundamental here? I'm on 4.0.5. Thanks :) |
What type of old info? Did you revert the templates first (backing up whatever info in the manual template you did)?
|
All times are GMT. The time now is 08:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|