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

Reply
 
Thread Tools
Show Profile Fields In Postbit, Zero Query & Template Edit! Details »»
Show Profile Fields In Postbit, Zero Query & Template Edit!
Version: 2.1.0, by Milad Milad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 03-13-2009 Last Update: Never Installs: 171
Uses Plugins Auto-Templates
Translations  
No support by the author.

Brought to you by Milad's vBulletin Services!

Introduction & Description:
This product allows you to choose which profile fields you want to show in the postbit / postbit_legacy, and adds them automatically without any query or any template edit.

Features:
  • Zero Query!
  • Zero Template Edit!
  • Set it once, and forget it.
  • Choose which profile fields to show by entering their names (ex: field1) in the option (Profile Fields To Show In Postbit).
  • Set the display order in the option (Profile Fields To Show In Postbit).
  • Choose to show titles for profile fields or not.
    • If not, profile fields' values will be separated by dash - and shown in one line Attachment 78860.
    • Otherwise every profile field will be shown in its own line (in the format title: value) Attachment 78861.
  • Choose to show the profile fields in one of current seven supported locations:
    • Under the user name, user title and user rank Attachment 78860.
    • Right Under the number of user posts Attachment 78861.
    • Under the infractions and reputation.
    • Start of Message Area
    • Start of Signature
    • End of Signature
    • Postbit Controls
  • Option to add custom non-profile-field content, to serve requests like this. see this post to know how to use it
  • An option to style the profile fields in the psotbit.
  • Support for Multiple-Selection Checkbox and Multiple-Selection Menu.

How comes you don't use any query or any template edit even?
When you set your options, a template will be modified to suit your new options, and will be cached, eval()ed and used to show the profile fields.

Installation & Upgrade: 3.8.0 at least is required.
  • Import the product file product-profile_fields_in_postbit.xml and you're done.
  • Choose yes to overwrite for upgrading.
  • Now modify the settings in (Thread Display Options (showthread)) according to your needs.
  • When you upgrade, make sure you hit the save button in the Thread Display Options (showthread) page.

Settings:
See the screen shot, settings explain themselves.

Change log:
  • 2.0.0 first public release, on April, 17 2008
  • 2.0.1 released on May, 17 2008
    • Performance optimized: I don't create a template on the fly anymore, the template will be updated once upon saving the Thread Display Options (showthread) options.
  • 2.0.2 released on May, 24 2008
    • Bug fixed: Profile fields' titles aren't shown in quick replies, announcements and PMS. 1, 2 and 3.
    • Experimental fix for this bug
    • uncached template had been fixed.
  • 2.1.0 released on May, 14 2009
    • Added an options to define a CSS class to style the profile field, such a functionality has been required by many users: 1, 2, 3 and 4.
    • Bug fixed.
    • New option to add custom non-profile-field content, to serve requests like this.
    • New postbit locations: Start of Message Area, Start of Signature, End of Signature and Postbit Controls.
    • Support for Multiple-Selection Checkbox and Multiple-Selection Menu

Click install to receive support & updates.

You like it? nominate it.

Download Now

File Type: xml product-profile_fields_in_postbit.xml (12.6 KB, 885 views)

Screenshots

File Type: jpg 20090314_123739.jpg (101.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Fashel.Net

Comments
  #72  
Old 04-25-2012, 08:30 AM
Fireballx Fireballx is offline
 
Join Date: Apr 2012
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed
Reply With Quote
  #73  
Old 05-31-2012, 06:55 PM
dlewisr dlewisr is offline
 
Join Date: Mar 2011
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod............ pity it isn't useable on vb4 Gonna keep my eye on this one in the hope it gets updated.
Reply With Quote
  #74  
Old 05-31-2012, 07:26 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I doubt very seriously you will see this updated to vB 4 unless you are willing to spend some cash for him to do it. I offered Milad to do it but was told I could not release it.
Reply With Quote
  #75  
Old 06-01-2012, 08:40 AM
dlewisr dlewisr is offline
 
Join Date: Mar 2011
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I doubt very seriously you will see this updated to vB 4 unless you are willing to spend some cash for him to do it. I offered Milad to do it but was told I could not release it.
That's a shame as it's a good mod, our loss that your offer was rejected too. In the meantime I must have had a lightbulb moment and managed to change what I needed by template editing. Nothing fancy, but it did the job.
Reply With Quote
  #76  
Old 06-01-2012, 12:12 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I doubt very seriously you will see this updated to vB 4 unless you are willing to spend some cash for him to do it. I offered Milad to do it but was told I could not release it.
Hello Rob... Where have you been?
You may not be able to release your copy of this addon but, you can show step by step what you edited to get it to work in vb4. Just a thought...
Reply With Quote
  #77  
Old 06-01-2012, 12:30 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been where I always am.

The way I understood it was that I was not to release ANY updates to the public. I think he is planning on charging for the vb 4 update, unless I misunderstood him.
Reply With Quote
  #78  
Old 06-01-2012, 12:37 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From what I was told time and time again here that any addon can be updated with edits showing what was done to original hack. You can't give members an edited copy of the product but can show step by step instructions how you updated or enhanced the modification.
Look at the Random Tips link below.
Reply With Quote
  #79  
Old 06-03-2012, 05:48 AM
Fashel.Net Fashel.Net is offline
 
Join Date: May 2012
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

شكراً لكِ ياميلاد

تسلم ايدك
Reply With Quote
  #80  
Old 12-04-2013, 09:19 PM
Xanlamin's Avatar
Xanlamin Xanlamin is offline
 
Join Date: Mar 2008
Location: St. Charles, MO
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this is over a year old, but I have not been able to find anywhere on how ti get this to work with images.

1 of my profile fields is a single-selection box with multiple choices from it.

I tried using the same code I use for one of my pages where it pulls the field and sets the image for it, and I am wanting to do the same thing for the postbit.

<div class=">$stylevar[imgdir_misc]/$user[field8].png" alt="$user[field8]" /></div>

Is what I have entered in the Postbit Custom Content

I do have the field entered in then custom just below it.

is this correct or is there something else I need to do to get the field to show?
Reply With Quote
  #81  
Old 12-05-2013, 01:32 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this......

Code:
<!-- Start Image in postbit -->
				<if condition="$post[field8]"><img src="$stylevar[imgdir_misc]/$post[field8].png" alt="$post[field8]" /></if>
<!-- End Image in postbit -->
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:35 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
  • Page Generation 0.05455 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
  • (1)bbcode_code
  • (2)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
  • 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
  • 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