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

Sort of defeats the purpose no? But yes, I'll be adding a default image if none has been uploaded in the next couple weeks.

Quote:
Originally Posted by hakkuo23 View Post
It doesn't show the icon for groups that didn't upload a custom avatar. Fix it please!
Reply With Quote
  #33  
Old 03-10-2012, 08:34 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 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.
Yes maybe usergroup permission who can see the private group icon.


Quote:
Originally Posted by Diana Notacat View Post
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.
Maybe with a more... to see the others.
Reply With Quote
  #34  
Old 04-05-2012, 05:47 AM
kevius kevius is offline
 
Join Date: Oct 2009
Location: France
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Problem if a deleted account is in a thread = database error

Exemple : you delete an user, the possbit display "visitor" in the thread BUT when you want to see the thread = database error

I have desactivated the module, i'm waiting for a correction if possible.
Reply With Quote
  #35  
Old 04-30-2012, 12:08 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bug: Private Messages in the inbox

My group icons are being displayed under the senders userinfo instead of their group icons.
Reply With Quote
  #36  
Old 08-23-2012, 08:54 AM
deverill2010 deverill2010 is offline
 
Join Date: Jan 2011
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates to this?
Reply With Quote
  #37  
Old 08-23-2012, 12:50 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, no updates yet, just been busy with life for the past few months. I'm not abandoning this though as it's being used on my own personal forum and the features requested are pretty important for my site as well. As soon as things settle down, I will implement the changes. If anyone wants to make changes to the code, you're more than welcome to https://github.com/redinkdesign/Soci...ons-in-Postbit
Reply With Quote
  #38  
Old 12-10-2012, 04:35 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated. I added no icon support and you can now select to show icons for private and moderated groups.
Reply With Quote
  #39  
Old 12-10-2012, 05:20 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 4.1.10:

Invalid SQL:
SELECT sgm.userid,sgm.groupid,sg.name,sgi.dateline,sgi.ex tension FROM vbsocialgroupmember sgm LEFT JOIN vbsocialgroup sg ON sg.groupid = sgm.groupid LEFT JOIN vbsocialgroupicon sgi ON sgi.groupid = sgm.groupid WHERE sgm.userid = 5 AND (sg.type is null)';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
Error Number : 1064
Request Date : Tuesday, December 11th 2012 @ 12:19:05 AM
Error Date : Tuesday, December 11th 2012 @ 12:19:05 AM
Reply With Quote
  #40  
Old 12-10-2012, 05:45 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, thanks for the quick bug find. Happens if niether public, inviteonly or moderated icons are selected. I'll fix now.
Reply With Quote
  #41  
Old 12-10-2012, 05:48 PM
redinkdesign redinkdesign is offline
 
Join Date: Nov 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed - product xml file updated
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 10:28 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.07383 seconds
  • Memory Usage 2,330KB
  • 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
  • (3)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