Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #22  
Old 03-18-2009, 01:29 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As an example in each box wanted you add the word: field1, field2 etc....
Reply With Quote
  #23  
Old 03-18-2009, 06:48 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tommac3 View Post
Parse error: syntax error, unexpected '/', expecting ']' in /home/forumname/public_html/forums/includes/class_postbit.php(294) : eval()'d code(131) : eval()'d code on line 1

any idea what I am doing wrong ... this only comes up when I put a value under:
Profile Fields To Show In Postbit
Let's see your settings!
Reply With Quote
  #24  
Old 03-18-2009, 03:25 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about tweaking this mod to remove the fielset question to just showing the answer can this be done? AKA

Default:

DVD neXt COPY Version: DVD neXt COPY Ultimate
Machinist or DVD43 or AnyDVD: Machinist, AnyDVD HD

Tweaked

DVD neXt COPY Ultimate
AnyDVD HD

Is this possible later? Or tweak the current mod?
Reply With Quote
  #25  
Old 03-18-2009, 04:57 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx Milad

however when we upgrade this hack from the 3.7.x version we should re-set the fields ...
Reply With Quote
  #26  
Old 03-18-2009, 05:11 PM
Bowromir Bowromir is offline
 
Join Date: Dec 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great add-on!! This is so easy to use, and it saves me a lot of annoying template editing.. thank you!!
Reply With Quote
  #27  
Old 03-19-2009, 11:10 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
What about tweaking this mod to remove the fielset question to just showing the answer can this be done? AKA

Default:

DVD neXt COPY Version: DVD neXt COPY Ultimate
Machinist or DVD43 or AnyDVD: Machinist, AnyDVD HD

Tweaked

DVD neXt COPY Ultimate
AnyDVD HD

Is this possible later? Or tweak the current mod?
It's possible. Later!
Reply With Quote
  #28  
Old 03-21-2009, 05:54 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suggestion: Option to only show this profile field for registered users.
Reply With Quote
  #29  
Old 03-26-2009, 03:00 AM
black_bullitt black_bullitt is offline
 
Join Date: Sep 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Many thanks for the plugin!
Reply With Quote
  #30  
Old 04-04-2009, 04:00 AM
arcadian_girl's Avatar
arcadian_girl arcadian_girl is offline
 
Join Date: Mar 2006
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there really no way to change the color? I'm a semi- newbie to this, and I can't figure out how to do it. Right now my text is black, but I added this product so I could put a first name field that'll show up - I'd like that whole field, both the question and answer, to be say, blue instead of black. Is that possible at all?
Reply With Quote
  #31  
Old 04-04-2009, 04:26 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can add style class and add it to exyra css for the style.
Reply With Quote
Reply

Thread Tools

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 12:04 PM.


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.09565 seconds
  • Memory Usage 2,337KB
  • 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
  • (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
  • (4)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