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

Reply
 
Thread Tools
Social Group Icons in Postbit Details »»
Social Group Icons in Postbit
Version: 1.1, by redinkdesign redinkdesign is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 4.2.0 Rating:
Released: 01-05-2012 Last Update: 12-09-2012 Installs: 39
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

This plugin displays the icon for all social groups a user belongs to in the postbit.

To Install:
Add this product as you would any other vBulletin product.
Admin -> Plugins & Products -> Manage Products -> Add/Import Product

After it is installed, enable it by going to
Admin -> Settings -> Options -> Redinkdesign - Group Icons in Postbit -> Enable
Select if you want public, invite only and/or moderated icons to show up
To set the default icon for social groups which gets displayed if the group doesn't have an icon, you'll need to set the stylevar "usefilegroupicon". It should be set by default, but you should update it for your specific theme.

A live demo can be found at http://www.b15u.com

Update Log
Updated 12-10-2012
Added support for groups that don't have an icon uploaded
Added support to show moderated and invite only groups as well as public
Fixed bug where the incorrect icons were being displayed in private messages

Updated 1-12-2012
Added support for icons that are stored in the database instead of on the filesystem

Download Now

File Type: xml product-redgroupiconsinpostbit.xml (5.6 KB, 92 views)

Screenshots

File Type: jpg icons.jpg (11.2 KB, 0 views)

Show Your Support

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

Comments
  #22  
Old 01-12-2012, 07:50 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redinkdesign View Post
The issue was icons being stored in the database instead of on the filesystem. I just updated the code so it uses the correct url depending on the site settings.
Finally working.

My attachment was on the file server, not the database... But for the longest time it always showed an empty red X, as though the photo was missing or could not be found.

Your update seems to have resolved this. :up:

Installed and working

4.1.10 Beta 1
Reply With Quote
  #23  
Old 01-12-2012, 08:38 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, it's now using the path defined in Groups -> Group Icon Storage Type to look for images, maybe that did it.
Reply With Quote
  #24  
Old 01-12-2012, 10:43 PM
Delfi_r Delfi_r is offline
 
Join Date: Jul 2011
Location: Barcelona
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 4.18, but the new postbit doesn't work or perhaps because it's a private group. When I have a public group running I'll see again

www.leicaeme.com
Reply With Quote
  #25  
Old 01-12-2012, 11:27 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This currently only displays public groups. I can add an option to show private groups as well.
Reply With Quote
  #26  
Old 01-14-2012, 09:27 AM
Delfi_r Delfi_r is offline
 
Join Date: Jul 2011
Location: Barcelona
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redinkdesign View Post
This currently only displays public groups. I can add an option to show private groups as well.
Should be nice, sure.
Reply With Quote
  #27  
Old 01-14-2012, 04:12 PM
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Location: Arkansas
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working perfect for me. : D

Perhaps add a setting where you can set how many groups will display in the postbit? Some people join a LOT of groups and it can stretch out the postbit all crazy.
Reply With Quote
  #28  
Old 01-16-2012, 06:06 PM
Lewenhaupt Lewenhaupt is offline
 
Join Date: Jan 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work on 4.1.3?
Reply With Quote
  #29  
Old 01-19-2012, 06:03 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, I will add it in the next release

Quote:
Originally Posted by Diana Notacat View Post
Working perfect for me. : D

Perhaps add a setting where you can set how many groups will display in the postbit? Some people join a LOT of groups and it can stretch out the postbit all crazy.
Reply With Quote
  #30  
Old 01-25-2012, 02:57 PM
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Location: Arkansas
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redinkdesign View Post
Good idea, I will add it in the next release
Awesome! Thank you! <3
Reply With Quote
  #31  
Old 02-28-2012, 02:48 PM
hakkuo23 hakkuo23 is offline
 
Join Date: Dec 2010
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't show the icon for groups that didn't upload a custom avatar. Fix it please!
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 07:03 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.04853 seconds
  • Memory Usage 2,326KB
  • 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
  • (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
  • (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
  • (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