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

LuisManson: Possible CSS issue. Not sure how to fix.

CvP: That's ASCII. My mod never had any tweaks or add ons concerning ASCII. Never seen that before. Sounds like something isn't parsing the names right. Unfortunately, the javascript being called are vB calls, so that's out of my hands. Try disabling the following plugin, see what happens:
Quote:
Add epfp.css reference to showthread
MIGHT be the language call in that plugin, but it just grabs it from the vB settings.

As for check boxes not showing up, that's WAY out of my hands. It's due to how vB stores those profile fields (e.g. not like the other fields). It's been like that for years.
Reply With Quote
  #23  
Old 11-14-2010, 11:42 PM
Diehardshorty Diehardshorty is offline
 
Join Date: Apr 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea needs alot of work but im glad your working on it. There isn't a mod like this for vb4 yet.
Reply With Quote
  #24  
Old 11-26-2010, 04:35 PM
dtorreci dtorreci is offline
 
Join Date: Sep 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I having some issues displaying dates (is displaying UNIX timestamp format) or IM Icons (which are not displayed) any ideas?

The code I have insert at Dropdown manual is:

Code:
<vb:if condition="$post['joindate']">
	<li class="left">{vb:rawphrase join_date}</li> 
	<li class="right"><span class"date">{vb:raw post.joindate}</span></li>
</vb:if>
<li class="left">IM</li>					
<li class="right"> 
		<div class="imlinks2">
	             {vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
		</div>
</li>
Reply With Quote
  #25  
Old 01-18-2011, 06:35 PM
LVGgebruiker LVGgebruiker is offline
 
Join Date: Jan 2011
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CvP View Post
profile fields that contain multiple predefined items (check boxes) only show numbers.
I also have this problem, is there any fix for this?
Reply With Quote
  #26  
Old 01-18-2011, 07:52 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dtorreci: no idea.

LVGgebruiker: Limitation of vBulletin's implementation of profile fields.
Reply With Quote
  #27  
Old 01-19-2011, 07:00 PM
LVGgebruiker LVGgebruiker is offline
 
Join Date: Jan 2011
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
LVGgebruiker: Limitation of vBulletin's implementation of profile fields.
Ok thank you, will look for other solution then.
Reply With Quote
  #28  
Old 02-13-2011, 04:26 AM
Dave-M Dave-M is offline
 
Join Date: Sep 2007
Location: UK
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know if this works OK on 4.1.1? Seems very quiet in here compared to the last version threads, are people using something else instead?
Reply With Quote
  #29  
Old 02-13-2011, 07:42 PM
Dave-M Dave-M is offline
 
Join Date: Sep 2007
Location: UK
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to be broken in 4.1.1.

The dropdown works and is displaying what was previously in the custom fields, and the extra options link is there, but the page is blank with no fields in it.

Edit: Fixed. Just needed to be reinstalled, both this and the profile fields mod.

Cheers
Reply With Quote
  #30  
Old 03-04-2011, 08:32 PM
Dave-M Dave-M is offline
 
Join Date: Sep 2007
Location: UK
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Shouldn't there be something in the dropdown on display on page page, to tell it where to show the new fields?
Reply With Quote
  #31  
Old 03-05-2011, 12:12 PM
kisanjong kisanjong is offline
 
Join Date: Feb 2009
Location: UK
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod - but can you tell me if this works with Multiple-Selection Checkbox fields?

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 03: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.07332 seconds
  • Memory Usage 2,338KB
  • 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
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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