vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Profile Picture in Postbit (https://vborg.vbsupport.ru/showthread.php?t=231840)

ndahiya 12-31-2009 10:00 PM

Profile Picture in Postbit
 
1 Attachment(s)
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

elwachiman 01-01-2010 06:47 PM

Demo Please...tnks

ndahiya 01-01-2010 06:54 PM

On my site, only logged in members can view the picture/details, so can't really demo it from that. You can install it and see. It does not change anything in your system, so can uninstall it just as easily.

garretbyrne 01-05-2010 02:34 PM

I don't get it?? I've installed it but nothing has changed.. Where is this meant to show up?

Snug 01-05-2010 05:06 PM

screenshot?

ndahiya 01-05-2010 11:35 PM

Quote:

Originally Posted by garretbyrne (Post 1947909)
I don't get it?? I've installed it but nothing has changed.. Where is this meant to show up?

hmm, can you try and change avatar storage type to filesystem and them check (you can revert back thereafter, it will work for sure)? i think i know where the problem might be, but just want to be sure before updating the code.

garretbyrne 01-06-2010 05:37 AM

Quote:

Originally Posted by ndahiya (Post 1948324)
hmm, can you try and change avatar storage type to filesystem and them check (you can revert back thereafter, it will work for sure)? i think i know where the problem might be, but just want to be sure before updating the code.

Sorry man but how do i do that...? lol

kersti 01-06-2010 09:16 AM

Why would I bother when there is custom avatars?

garretbyrne 01-06-2010 10:49 AM

I think I'll leave this... Thanks anyway but I don't see a need at the moment for my site..

Thanks

ndahiya 01-06-2010 09:45 PM

Quote:

Originally Posted by garretbyrne (Post 1948499)
Quote:

hmm, can you try and change avatar storage type to filesystem and them check (you can revert back thereafter, it will work for sure)? i think i know where the problem might be, but just want to be sure before updating the code.
Sorry man but how do i do that...? lol

AdminCP --> Avatars --> User Picture Storage Type to toggle the storage from db to filesystem


Quote:

Why would I bother when there is custom avatars?
Because some people (like my site) do not use avatars but actual member pictures.


All times are GMT. The time now is 11:47 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.00969 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete