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
  #2  
Old 08-15-2010, 05:10 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 08-15-2010, 05:15 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for future use.
Reply With Quote
  #4  
Old 08-15-2010, 04:04 PM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

super cool! will install as soon as I upgrade to 4.0.6.
Reply With Quote
  #5  
Old 08-15-2010, 09:30 PM
Dutch_Boy Dutch_Boy is offline
 
Join Date: Dec 2007
Location: The Netherlands
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Seriously, WTF does tagging do.
Reply With Quote
  #7  
Old 08-16-2010, 02:48 AM
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 08-16-2010, 09:10 PM
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Location: California
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been looking for something like this for a while. I can confirm that it is working fine on v4.0.6.

Thanks!
Reply With Quote
  #9  
Old 08-20-2010, 12:04 AM
Dave-M Dave-M is offline
 
Join Date: Sep 2007
Location: UK
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 08-20-2010, 01:36 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What type of old info? Did you revert the templates first (backing up whatever info in the manual template you did)?
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 10:25 AM.


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.04267 seconds
  • Memory Usage 2,317KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete