Social Groups for XenForo

Social Groups for XenForo [Paid] 2.1.33 Patch Level 6

No permission to buy ($49.00)
Is this important? I found 3 of them on my dev board from a member playing around helping me test it:

Code:
Server error log
[LIST]
[*]TypeError: Argument 1 passed to XF\Repository\StyleProperty::getEffectivePropertiesInStyle() must be an instance of XF\Entity\Style, null given, called in /var/www/myptsd/html/src/addons/Snog/Groups/Pub/Controller/Event.php on line 48
[*]
[*]src/XF/Repository/StyleProperty.php:128
[*]Generated by: somerandomguy
[*]
[*]Jun 26, 2018 at 11:06 AM
[/LIST]
Stack trace
#0 src/addons/Snog/Groups/Pub/Controller/Event.php(48): XF\Repository\StyleProperty->getEffectivePropertiesInStyle(NULL)
#1 src/XF/Mvc/Dispatcher.php(249): Snog\Groups\Pub\Controller\Event->actionEventFeed(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(87): XF\Mvc\Dispatcher->dispatchClass('Snog\\Groups:Eve...', 'Eventfeed', 'html', Object(XF\Mvc\ParameterBag), 'snogGroups', Object(Snog\Groups\Pub\Controller\Event), NULL)
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state
array(4) {
  ["url"] => string(84) "/group_events/test-group.2/eventfeed?start=2018-05-27&end=2018-07-08&_=1529975160760"
  ["referrer"] => string(51) "https://www.ptsdnews.com/group_events/test-group.2/"
  ["_GET"] => array(4) {
    ["/group_events/test-group_2/eventfeed"] => string(0) ""
    ["start"] => string(10) "2018-05-27"
    ["end"] => string(10) "2018-07-08"
    ["_"] => string(13) "1529975160760"
  }
  ["_POST"] => array(0) {
  }
}
I have a good idea of what caused this, but I need to confirm it with you.

Have you deleted the original Default style (style ID: 1) from your site?
 
Yep... long gone that one. I think the default upgrade is at 80 something id now for my site from all the years.
I thought so.

I've placed a patch on the download server. Download the add-on, upload the files and install the patched version (2.1.1.1).

To everyone else. So long as you still have the original default XF style (style ID 1) on your site, this doesn't affect you.
 
With 2.1.1.1 installed, all add-ons disabled, development mode ON, the page account/likes causes this error:
  • Template public:like_item_discussion: Template public:like_item_discussion is unknown (src/XF/Template/Templater.php:583)
Code:
[LIST]
[*]ErrorException: Template error: Template public:like_item_discussion is unknown
[*]
[*]src/XF/Template/Templater.php:583
[*]Generated by: anthony
[*]
[*]Jul 12, 2018 at 9:29 PM
[/LIST]
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/var/www/myptsd...', 583, Array)
#1 src/XF/Template/Templater.php(583): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(538): XF\Template\Templater->getTemplateData('public', 'like_item_discu...')
#3 src/XF/Template/Templater.php(1248): XF\Template\Templater->getTemplateCode('public', 'like_item_discu...')
#4 src/XF/Like/AbstractHandler.php(66): XF\Template\Templater->renderTemplate('like_item_discu...', Array)
#5 src/XF/Entity/LikedContent.php(65): XF\Like\AbstractHandler->render(Object(XF\Entity\LikedContent))
#6 [internal function]: XF\Entity\LikedContent->render()
#7 src/XF/Template/Templater.php(939): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s85/public/account_likes.php(30): XF\Template\Templater->method(Object(XF\Entity\LikedContent), 'render', Array)
#9 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(KL\UserImprovements\Template\Templater), Array)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_likes', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Account\\Like...', 'public:account_...', Array)
#13 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#15 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#16 src/XF.php(328): XF\App->run()
#17 index.php(13): XF::runApp('XF\\Pub\\App')
#18 {main}

Request state
array(4) {
  ["url"] => string(14) "/account/likes"
  ["referrer"] => string(44) "https://www.ptsdnews.com/account/likes-given"
  ["_GET"] => array(1) {
    ["/account/likes"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

It is this add-on... I was just testing it on a page by user essentials add-on, was the problem. Default XF now... same thing with just groups enabled.

What bothers me, is that another add-on, KL user improvements is disabled, but shows in the error message too: (Object(KL\UserImprovements\Template\Templater)

Is that normal?
 
With 2.1.1.1 installed, all add-ons disabled, development mode ON, the page account/likes causes this error:
  • Template public:like_item_discussion: Template public:like_item_discussion is unknown (src/XF/Template/Templater.php:583)
Code:
[LIST]
[*]ErrorException: Template error: Template public:like_item_discussion is unknown
[*]
[*]src/XF/Template/Templater.php:583
[*]Generated by: anthony
[*]
[*]Jul 12, 2018 at 9:29 PM
[/LIST]
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/var/www/myptsd...', 583, Array)
#1 src/XF/Template/Templater.php(583): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(538): XF\Template\Templater->getTemplateData('public', 'like_item_discu...')
#3 src/XF/Template/Templater.php(1248): XF\Template\Templater->getTemplateCode('public', 'like_item_discu...')
#4 src/XF/Like/AbstractHandler.php(66): XF\Template\Templater->renderTemplate('like_item_discu...', Array)
#5 src/XF/Entity/LikedContent.php(65): XF\Like\AbstractHandler->render(Object(XF\Entity\LikedContent))
#6 [internal function]: XF\Entity\LikedContent->render()
#7 src/XF/Template/Templater.php(939): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s85/public/account_likes.php(30): XF\Template\Templater->method(Object(XF\Entity\LikedContent), 'render', Array)
#9 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(KL\UserImprovements\Template\Templater), Array)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_likes', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Account\\Like...', 'public:account_...', Array)
#13 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#15 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#16 src/XF.php(328): XF\App->run()
#17 index.php(13): XF::runApp('XF\\Pub\\App')
#18 {main}

Request state
array(4) {
  ["url"] => string(14) "/account/likes"
  ["referrer"] => string(44) "https://www.ptsdnews.com/account/likes-given"
  ["_GET"] => array(1) {
    ["/account/likes"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

It is this add-on... I was just testing it on a page by user essentials add-on, was the problem. Default XF now... same thing with just groups enabled.

What bothers me, is that another add-on, KL user improvements is disabled, but shows in the error message too: (Object(KL\UserImprovements\Template\Templater)

Is that normal?
No it's not normal.

That is where the error is coming from XenForo itself does not have a "likes-given" function.
 
Does this have alerts? I can't see them. Is there no way to get alerts for new replies to discussions, image comments, etc?

As the group owner you get notified about new discussions... but what about members of the group? New replies? Preference settings?
 
Does this have alerts? I can't see them. Is there no way to get alerts for new replies to discussions, image comments, etc?

As the group owner you get notified about new discussions... but what about members of the group? New replies? Preference settings?
New discussions send alerts to the members of the group...
discussionalert.webp

But not for replies to discussions or the photo area. It is planned for the future.
 
Last edited:
Yer, that is what a member helping me test the dev site found. No alerts when replying... so you have to keep checking every group, and discussion, you participate in to see what is replied.
 
Snog updated Social Groups for XenForo 2.x with a new update entry:

Social Groups for XenForo 2.x Update 2.1.2

An update to the Social Groups system for XenForo 2.x has been released. Those that have purchased this add-on, please log into your account on my site to download this update.
  • Fix - Discussion email preference not being saved from privacy page
  • Fix - Discussion likes showing in wrong position without formatting
  • Fix - Discussions viewable by non-members if they know the link
  • Add - Notifications of replies to group discussions
  • Fix - Not being sent to proper page when...

Read the rest of this update entry...
 
To prevent potential problems, please resolve the following warning before proceeding:
This plugin contains the following files with unexpected content: src / addons / Snog / Groups / addon.json.

What is the problem?
 
To prevent potential problems, please resolve the following warning before proceeding:
This plugin contains the following files with unexpected content: src / addons / Snog / Groups / addon.json.

What is the problem?
That happens when a file has been modified from it's original state or the file is the wrong one for the version you're trying to install/update. Upload all of the files from the zip file you got from my site to your server.

If you post the contents of the file here, I can establish what is wrong with the file contents.
 
Last edited:
I'm finding that tagging does not work correctly, and often after saving a post with a tagged member, you have to edit and save for the user tag to activate.
 
I'm finding that tagging does not work correctly, and often after saving a post with a tagged member, you have to edit and save for the user tag to activate.
Are you talking about in a group Discussion or a group Forum/Thread? I hope you're talking about a group Discussion because the group system does nothing with the posting of threads.
 
In a group discussion, if you unapproved the first post to moderate the discussion, an "approve" button appears at the top of that discussion. If you click that, it gives a frontend only error saying the requested thread could not be found, though a discussion it is.

Screen Shot 2018-08-17 at 1.38.29 pm.webp

Screen Shot 2018-08-17 at 1.41.22 pm.webp
 
Top Bottom