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

 
 
Thread Tools
Profile Picture in Postbit Details »»
Profile Picture in Postbit
Version: 1.1.0, by ndahiya ndahiya is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 12-31-2009 Last Update: 01-12-2010 Installs: 16
Uses Plugins
Re-useable Code Translations  
No support by the author.

This mod shows the user profile picture in the postbit template for all posters.

Ver 1.1 : Fix for profile pics stored in database. Just reimport the product.
Ver 1.0 : Original Release.

--
Installation: Just add the attached product xml file.
Uninstallation: Just remove the product.

Please Note:
If the pictures are stored in the filesystem, this mod checks that an profile picture exists by checking the user table's profilepicrevision field (>0 implies a pic exists (or at least existed)). Sometimes it will result in file not found error (no problem on the rendered page, but still an invalid image pull) if the user deletes their pic, but that can be updated by running this sql query periodically.
Code:
update user set profilepicrevision = 0 where user.userid not in (select userid from customprofilepic);


..
ndahiya

Download Now

File Type: xml product-profile_pic_in_postbit.xml (1.5 KB, 122 views)

Show Your Support

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

Comments
  #12  
Old 01-17-2010, 06:24 PM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v1.1 should take care of issue for profile pics stored in database....
Reply With Quote
  #13  
Old 01-18-2010, 04:35 PM
Tyran1 Tyran1 is offline
 
Join Date: Jan 2007
Location: Deutsches Reich
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Who ist that for Version 3.8.4 ??
Reply With Quote
  #14  
Old 01-18-2010, 04:39 PM
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot?
Reply With Quote
  #15  
Old 01-23-2010, 03:18 PM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot per popular request...
Attached Images
File Type: jpg wikiedits_in_postbit.jpg (35.5 KB, 0 views)
Reply With Quote
  #16  
Old 01-23-2010, 03:19 PM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tyran1 View Post
Who ist that for Version 3.8.4 ??
this is primarily for vb4, but should be relatively easy to mod for 3.8.4
Reply With Quote
  #17  
Old 01-23-2010, 04:00 PM
oddmud's Avatar
oddmud oddmud is offline
 
Join Date: Oct 2009
Location: Canada
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, but isnt there an avatar already in the postbit?
Reply With Quote
  #18  
Old 01-23-2010, 09:05 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this resize the picture or does it just constrain the pixel dimensions?
Reply With Quote
  #19  
Old 01-24-2010, 12:26 AM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp View Post
Does this resize the picture or does it just constrain the pixel dimensions?
it does not constraint pixel dimension any more than the default profile pic limit.
Reply With Quote
  #20  
Old 01-24-2010, 12:33 AM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oddmud View Post
ok, but isnt there an avatar already in the postbit?
if you use avatars, then this is not for you. my site uses profile pics and not avatars.
Reply With Quote
  #21  
Old 01-24-2010, 02:43 AM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ndahiya View Post
it does not constraint pixel dimension any more than the default profile pic limit.
So if you have a large profile photo, you also get a large avatar?

What's the point of it then? You could just get rid of the profile photo option and rename 'avatar' in your language pack.
Reply With Quote
 


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:10 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.05399 seconds
  • Memory Usage 2,325KB
  • 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
  • (4)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
  • (2)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