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)
-   -   Social Group and Album Enhancements - Social Group Icons in Postbit (https://vborg.vbsupport.ru/showthread.php?t=276550)

redinkdesign 01-05-2012 11:00 PM

Social Group Icons in Postbit
 
1 Attachment(s)
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?

Quote:

Originally Posted by Ricsca (Post 2284718)
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...

Quote:

Originally Posted by scisterna (Post 2284980)
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.

Quote:

Originally Posted by GhostHunter2010 (Post 2285020)
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

Quote:

Originally Posted by redinkdesign (Post 2285028)
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.

Quote:

Originally Posted by OldSchoolDSL (Post 2285037)
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?

Quote:

Originally Posted by Ricsca (Post 2285148)
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.

Quote:

Originally Posted by Brandon Sheley (Post 2285287)
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

1 Attachment(s)
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 (Post 2286161)
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

Quote:

Originally Posted by redinkdesign (Post 2286959)
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

Quote:

Originally Posted by redinkdesign (Post 2287082)
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

Quote:

Originally Posted by Diana Notacat (Post 2287726)
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

Quote:

Originally Posted by redinkdesign (Post 2289925)
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.

Quote:

Originally Posted by hakkuo23 (Post 2304270)
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

Quote:

Originally Posted by redinkdesign (Post 2287082)
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 (Post 2287726)
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/Soci...ons-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


All times are GMT. The time now is 08:54 AM.

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.02832 seconds
  • Memory Usage 1,815KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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