View Full Version : Social Group and Album Enhancements - Social Group Icons in Postbit
redinkdesign
01-05-2012, 11:00 PM
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
redinkdesign
01-06-2012, 10:07 PM
Reserved, just in-case.
Ricsca
01-07-2012, 08:53 AM
dont work...
redinkdesign
01-07-2012, 02:48 PM
A little more information would be helpful...
What version of vb? Default theme? Any errors?
dont work...
scisterna
01-07-2012, 10:18 PM
Is not working. When I uploaded I received the following error:
Error XML: mismatched tag en la línea 31
("en la línea 31" means "in line 31")
I'm using the default theme on vB 4.1.9
redinkdesign
01-07-2012, 10:44 PM
I just re-uploaded the xml, please try it and let me know if it works. I just removed the mod from my own forum and re-installed it by using the xml file I just uploaded, and it worked fine. Maybe the one I initially uploaded was bad...
Is not working. When I uploaded I received the following error:
Error XML: mismatched tag en la l?nea 31
("en la l?nea 31" means "in line 31")
I'm using the default theme on vB 4.1.9
GhostHunter2010
01-08-2012, 12:05 AM
is working on 4.1.9 but u need to add icons cus there is no icons :) i tested an unistalled cus im not big fan of this.
redinkdesign
01-08-2012, 12:25 AM
It uses the image used to represent the social group. When you create a social group, you uplaod and image at that time.
is working on 4.1.9 but u need to add icons cus there is no icons :) i tested an unistalled cus im not big fan of this.,
OldSchoolDSL
01-08-2012, 01:24 AM
It uses the image used to represent the social group. When you create a social group, you uplaod and image at that time.
,
How well does this work for those social groups that do not have an image associated to it?
Ricsca
01-08-2012, 11:58 AM
the images are not seen ...
https://vborg.vbsupport.ru/
The url of the images are
mysite.xx/customgroupicons/thumbs/socialgroupicon_1_1326027143.gif
redinkdesign
01-08-2012, 04:29 PM
There's currently no check to make sure the image exists, but I can add that.
How well does this work for those social groups that do not have an image associated to it?
redinkdesign
01-08-2012, 04:30 PM
Does the image actually exist? Do you have a link to your site?
the images are not seen ...
http://img265.imageshack.us/img265/1350/xxxkay.jpg
The url of the images are
mysite.xx/customgroupicons/thumbs/socialgroupicon_1_1326027143.gif
Brandon Sheley
01-08-2012, 05:16 PM
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.
redinkdesign
01-08-2012, 05:46 PM
That's exactly what the mod does. Ill put a check to make sure the image exists.
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.
angeljs
01-10-2012, 05:28 PM
Doesn't work, no images are showing at all.
redinkdesign
01-10-2012, 05:32 PM
Do you have a link? Did you enable the plugin? Does the groups have an image?
Alex@bulletin
01-10-2012, 07:41 PM
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
redinkdesign
01-10-2012, 08:10 PM
Can you PM me a link? I would like to take a look...
redinkdesign
01-11-2012, 11:57 PM
Thanks for the help alex, it seems the directory I'm using to find the icons does not exist. I'll look into this.
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
redinkdesign
01-12-2012, 04:49 PM
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.
OldSchoolDSL
01-12-2012, 07:50 PM
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 :)
redinkdesign
01-12-2012, 08:38 PM
Nice, it's now using the path defined in Groups -> Group Icon Storage Type to look for images, maybe that did it.
Delfi_r
01-12-2012, 10:43 PM
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
redinkdesign
01-12-2012, 11:27 PM
This currently only displays public groups. I can add an option to show private groups as well.
Delfi_r
01-14-2012, 09:27 AM
This currently only displays public groups. I can add an option to show private groups as well.
Should be nice, sure.
Diana Notacat
01-14-2012, 04:12 PM
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.
Lewenhaupt
01-16-2012, 06:06 PM
does it work on 4.1.3?
redinkdesign
01-19-2012, 06:03 PM
Good idea, I will add it in the next release
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.
Diana Notacat
01-25-2012, 02:57 PM
Good idea, I will add it in the next release
Awesome! Thank you! <3
hakkuo23
02-28-2012, 02:48 PM
It doesn't show the icon for groups that didn't upload a custom avatar. Fix it please!
redinkdesign
02-28-2012, 03:07 PM
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.
It doesn't show the icon for groups that didn't upload a custom avatar. Fix it please!
Mr_Running
03-10-2012, 08:34 PM
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.
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.
kevius
04-05-2012, 05:47 AM
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.
Mr_Running
04-30-2012, 12:08 PM
Bug: Private Messages in the inbox
My group icons are being displayed under the senders userinfo instead of their group icons.
deverill2010
08-23-2012, 08:54 AM
Any updates to this?
redinkdesign
08-23-2012, 12:50 PM
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/Social-Group-Icons-in-Postbit
redinkdesign
12-10-2012, 04:35 PM
Updated. I added no icon support and you can now select to show icons for private and moderated groups.
Nirjonadda
12-10-2012, 05:20 PM
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
redinkdesign
12-10-2012, 05:45 PM
Ah, thanks for the quick bug find. Happens if niether public, inviteonly or moderated icons are selected. I'll fix now.
redinkdesign
12-10-2012, 05:48 PM
Fixed - product xml file updated
Mr_Running
12-10-2012, 05:52 PM
For Your Information Only
Conflicts when viewing inbox messages when using dbtech thanks / Like and the postbit tabs mods
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/dbtech/thanks/hooks/postbit_display_complete.php on line 70
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/dbtech/postbittabs_pro/hooks/postbit_display_complete.php on line 4
redinkdesign
12-10-2012, 06:01 PM
I just updated the xml, please let me know if it helps...
For Your Information Only
Conflicts when viewing inbox messages when using dbtech thanks / Like and the postbit tabs mods
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/dbtech/thanks/hooks/postbit_display_complete.php on line 70
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/dbtech/postbittabs_pro/hooks/postbit_display_complete.php on line 4
Mr_Running
12-10-2012, 06:07 PM
Yes, Fixed.
Cheers :)
redinkdesign
12-10-2012, 06:10 PM
Sweet!
Mr_Running
12-10-2012, 06:11 PM
This bug remains :p
Bug: Private Messages in the inbox
My group icons are being displayed under the senders userinfo instead of their group icons.
redinkdesign
12-10-2012, 06:21 PM
Haha indeed, I just realized this as well. Working on it...
Nirjonadda
12-10-2012, 06:24 PM
How I can change location ? How to Show below Chat Contact Info ? You can add option displayed location?
redinkdesign
12-10-2012, 06:33 PM
Fixed
This bug remains :p
redinkdesign
12-10-2012, 06:45 PM
Ugh, sorry guys, I left a debug statement in the code. It has been removed.
redinkdesign
12-10-2012, 06:46 PM
This can be added in a future release, I will make a note of it.
How I can change location ? How to Show below Chat Contact Info ? You can add option displayed location?
Mr_Running
12-10-2012, 06:52 PM
Request post #32 of this thread set how many groups will display with a more...
Mr_Running
12-10-2012, 07:07 PM
If going with the more...
How about making it look like an icon? It might be a cleaner look :)
edit: Okay, maybe that would be just silly. :p
dougdirac
09-21-2013, 05:34 PM
Anyone using this mod on vB 4.2.1?
dougdirac
10-12-2013, 04:38 PM
or 4.2.2?
redinkdesign
10-12-2013, 04:42 PM
Yes, works in both versions
dougdirac
10-17-2013, 04:34 AM
This stopped working today for some reason. I had to uninstall and reinstall to get it to work again.
dougdirac
10-17-2013, 05:07 AM
Found the issue. This mod stops working if the member list is disabled.
AdminCP-->Settings-->Options-->User Listing Options-->Members List Enabled
If you disable the member list, the mod stops working and continues not to work even after you re-enable the member list.
Might be worth noting in the description that this mod requires the member list to be on.
redinkdesign
10-17-2013, 02:48 PM
Nice catch, thanks
dougdirac
10-17-2013, 03:02 PM
Is there a way to limit the number of group icons that show? I want a max of four.
dougdirac
10-19-2013, 12:49 AM
A note from one of my moderators:
I sent invites to a lot of New Englanders for the new New England group I set up today. Curiously, everyone with an invite is showing the NE icon, even if they haven't yet accepted the invite. Bug?
Harpo
11-18-2013, 06:07 PM
Is there a way to limit the number of group icons that show? I want a max of four.
Ditto. Tagged for now. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.