Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 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.0.2, by Milad Milad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.0 Rating:
Released: 04-16-2008 Last Update: 05-22-2008 Installs: 187
Uses Plugins Auto-Templates
Translations  
No support by the author.

Brought to you by Syrian Medical Society & Milado

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 three supported locations:

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.7.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 Attachment 78859, 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.

Click install to receive support & updates.

You like it? nominate it.

Show Your Support

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

Comments
  #22  
Old 04-18-2008, 03:43 AM
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You
Reply With Quote
  #23  
Old 04-30-2008, 01:26 AM
1quick1 1quick1 is offline
 
Join Date: Jun 2007
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My site is a bodybuilding/fitness site and this is EXACTLY what I needed. It allows me to have users add their height and weight right where I wanted it. Thanks and marked as installed.

Also I installed it on a a 3.7.0 gold version and it works perfectly so far.
Reply With Quote
  #24  
Old 04-30-2008, 05:25 PM
threat threat is offline
 
Join Date: Jul 2005
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine does not work, do I have to run the maintenance to get them updated? I wonder if its the skin I'm using.

My field6 is Bike that I want to show their bikes in their postbit under their names.

Note: I should type exactly field6 in the box correct?

Note: It only works when I put the option for the field to be under the post count and it does not show up inside the table in the profile. Pic enclosed.
Reply With Quote
  #25  
Old 04-30-2008, 07:32 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You use custom style, it's most likely to be the reason!
Reply With Quote
  #26  
Old 04-30-2008, 11:09 PM
cavyspirit cavyspirit is offline
 
Join Date: Jan 2004
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KatieG View Post
Would it be possible to have another section, so that you can add extra info.
Like the red text in the pic below
I agree this would be a great addition.
Reply With Quote
  #27  
Old 05-04-2008, 10:06 PM
klees klees is offline
 
Join Date: Jul 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't work in postbit legacy.
Reply With Quote
  #28  
Old 05-05-2008, 01:45 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

revert your template.
Reply With Quote
  #29  
Old 05-05-2008, 01:56 AM
Amenadiel's Avatar
Amenadiel Amenadiel is offline
 
Join Date: Sep 2006
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add the option of displaying the custom fields in a floating div?

I use this "My PC" custom fields and it's too much information to show explicitly

http://img521.imageshack.us/my.php?image=looknc8.jpg
Reply With Quote
  #30  
Old 05-05-2008, 07:12 AM
klees klees is offline
 
Join Date: Jul 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't want to revert it
Reply With Quote
  #31  
Old 05-05-2008, 11:29 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by klees View Post
I don't want to revert it
It depends on template hooks to show fields, without those hooks, my hack won't work.

Sorry!
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 08:07 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.09212 seconds
  • Memory Usage 2,305KB
  • Queries Executed 27 (?)
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
  • (6)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete