Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Profile Fields in a Postbit Dropdown Details »»
Profile Fields in a Postbit Dropdown
Version: 4.0.0, by Wired1 Wired1 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.6 Rating:
Released: 08-14-2010 Last Update: Never Installs: 73
Uses Plugins Template Edits
Re-useable Code Is in Beta Stage  
No support by the author.

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']">
and the LAST
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

File Type: xml product-dropdown.xml (5.6 KB, 283 views)

Screenshots

File Type: jpg dropdown_open.jpg (18.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 04-03-2011, 11:24 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Due to the overlapping of fields issue, I have used the code from this post in order to make it look cleaner...until the developer updates this mod: https://vborg.vbsupport.ru/showpost....&postcount=126

It's in the 3.8 version of this mod...but, the code was written for vB 4.x
Reply With Quote
  #43  
Old 04-18-2011, 10:50 PM
reddyink reddyink is offline
 
Join Date: Aug 2007
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not working for me with Multiple-Selection Checkbox Fields. Please let me know if it works for you.
Quote:
Originally Posted by MrKing View Post
great mod - but can you tell me if this works with Multiple-Selection Checkbox fields?

Thanks
Reply With Quote
  #44  
Old 04-28-2011, 06:12 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off, I apologize for the delay. I never seem to get the frakking forum update notices. That and I've been working extremely long hours. First it was getting up to speed on a new job... and then my boss quit, so that just added onto the pile, and then learning that things were broken that no one knew about, ARG! Time's at a premium. Tempted to go open source with the mod.

Quote:
Originally Posted by MrKing View Post
great mod - but can you tell me if this works with Multiple-Selection Checkbox fields?
Quote:
Originally Posted by reddyink View Post
It's not working for me with Multiple-Selection Checkbox Fields. Please let me know if it works for you.
Guys, please read the thread as this was already covered. This has 100% to do with vB's implementation and NOTHING to do with the mod. It's NEVER worked for any profile field mod that sits in the postbit. Impossible to fix without them doing something, or rewriting the mod completely to use a separate table (which has been in the back of my mind for a while, but TBH I'm leery to add tables to someone's DB as some don't like it). It would also require a converter tool to go from profile fields to a new table as well.


Quote:
Originally Posted by Dave-M View Post
Found an odd issue. If I create a new user field, it only displays in the user profile and not in the extra options page.
Sounds like you're using the manual template and haven't updated it.


Quote:
Shouldn't there be something in the dropdown on display on page page, to tell it where to show the new fields?
HRUH?


Quote:
Originally Posted by Saviour View Post
Anyhow, I think this individual took a different route with it...and it looked much better. However, Wired never responded to it.
Not sure what you're referring to.


Quote:
Originally Posted by Saviour View Post
Due to the overlapping of fields issue, I have used the code from this post in order to make it look cleaner...until the developer updates this mod: https://vborg.vbsupport.ru/showpost....&postcount=126
If it works for you guys I'll update the mod with it real quick (or of someone can update the product I'll update it and give them the credit for the fix).


Quote:
Originally Posted by CvP View Post
If you are referring to the "text overflows in next line causing table row mismatch", I think it is indeed fixed in my site.
That the same issue Saviour had?
Reply With Quote
  #45  
Old 04-28-2011, 06:35 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wired,

I used the code provided in my previous mentioned link.and it works a hoot...if you check it out on my forum. Whether, or not, you intend to use it...is entirely up to you. Just wanted you to know that it looks much better. I did, however, modify his code...just a tad...to suit my needs.
Reply With Quote
  #46  
Old 04-30-2011, 03:27 AM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if it's the same one as Saviour, but I have edited it a bit (posted the code in a few posts back) and it doesn't look bad now.
Reply With Quote
  #47  
Old 05-06-2011, 08:31 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. I'll check to see if I have my test bed running somewhere and check it out.
Reply With Quote
  #48  
Old 08-09-2011, 10:50 PM
The Rocketeer's Avatar
The Rocketeer The Rocketeer is offline
 
Join Date: Jun 2010
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For anyone that is having overlapping issues like I am, open additional.css and add this code at the bottom

Code:
/* Profile Fields in a Postbit Dropdown Begin*/
.memberaction_body.popupbody.epfp_list li.right {
	background-color: {vb:stylevar formrow_background.backgroundColor};
	float: left;
	clear: none;
}
/* Profile Fields in a Postbit Dropdown End*/
Reply With Quote
Благодарность от:
JesterP
  #49  
Old 11-23-2011, 09:54 PM
gabrielt gabrielt is offline
 
Join Date: Apr 2007
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work with vB 3.8.7?

Thanks.
Reply With Quote
  #50  
Old 11-23-2011, 10:08 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the 4.x version. There is a 3.8.x version (check my profile).
Reply With Quote
  #51  
Old 11-23-2011, 11:24 PM
gabrielt gabrielt is offline
 
Join Date: Apr 2007
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06202 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete