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

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
  #12  
Old 01-08-2012, 04:29 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's currently no check to make sure the image exists, but I can add that.

Quote:
Originally Posted by OldSchoolDSL View Post
How well does this work for those social groups that do not have an image associated to it?
Reply With Quote
  #13  
Old 01-08-2012, 04:30 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the image actually exist? Do you have a link to your site?

Quote:
Originally Posted by Ricsca View Post
the images are not seen ...



The url of the images are

mysite.xx/customgroupicons/thumbs/socialgroupicon_1_1326027143.gif
Reply With Quote
  #14  
Old 01-08-2012, 05:16 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sounds like it would be a nice mod if it works by default. Meaning that if an image is setup on the group, it'll show automatically and if it isn't then a default image should be shown.
Reply With Quote
  #15  
Old 01-08-2012, 05:46 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's exactly what the mod does. Ill put a check to make sure the image exists.

Quote:
Originally Posted by Brandon Sheley View Post
This sounds like it would be a nice mod if it works by default. Meaning that if an image is setup on the group, it'll show automatically and if it isn't then a default image should be shown.
Reply With Quote
  #16  
Old 01-10-2012, 05:28 PM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work, no images are showing at all.
Reply With Quote
  #17  
Old 01-10-2012, 05:32 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a link? Did you enable the plugin? Does the groups have an image?
Reply With Quote
  #18  
Old 01-10-2012, 07:41 PM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can confirm the issues. The group avatar are not shown in postbit, only the name of the groups are displayed.
Additonally i'd like to suggest to add a header to the postbit, e.g. "Groups:"

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

Can you PM me a link? I would like to take a look...
Reply With Quote
Благодарность от:
Alex@bulletin
  #20  
Old 01-11-2012, 11:57 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help alex, it seems the directory I'm using to find the icons does not exist. I'll look into this.

Quote:
Originally Posted by Alex@bulletin View Post
I can confirm the issues. The group avatar are not shown in postbit, only the name of the groups are displayed.
Additonally i'd like to suggest to add a header to the postbit, e.g. "Groups:"

SR
Attached Images
File Type: jpg screenshot.jpg (57.0 KB, 0 views)
Reply With Quote
  #21  
Old 01-12-2012, 04:49 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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 01:43 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.04520 seconds
  • Memory Usage 2,340KB
  • Queries Executed 28 (?)
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
  • (3)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
  • (3)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete