Social Groups for XenForo 1.x [Deleted]

Perhaps xF extension handles things differently when calling the parent:: and getting it into a variable regarding extending.
But glad you updated your addon.
Thanks
I'm still not 100% certain as to the exact reason why it was happening that way since my mind isn't operating at 100% yet (pain meds). Once I'm thinking clearly I'll figure out exactly why and let you know.
 
  • Like
Reactions: XFA
Still enjoying this addon.

I noticed today that when I created a group, and a subsequent announcement forum thread was automatically created, that if you include the "&" in the title of the group created, the announcement thread replaces the "&" with "&" in both new thread title and post content.

Just fyi.
 
Still enjoying this addon.

I noticed today that when I created a group, and a subsequent announcement forum thread was automatically created, that if you include the "&" in the title of the group created, the announcement thread replaces the "&" with "&" in both new thread title and post content.

Just fyi.
Thanks, I never noticed that. I'll include the fix in the next release.

If you want to fix it now, edit the library/Snog/SocialGroups/ControllerPublic/Index.php file and locate these lines (should start at line 1606)...
Code:
$post_title = new Xenforo_Phrase('snog_socialgroups_notice_title', array('name' => $group['name']));
if(XenForo_Application::getOptions()->snog_socialgroups_noticedescription) $description = $group['groupdescription'];
$post_message = new Xenforo_Phrase('snog_socialgroups_notice_text', array('user' => $visitor['username'], 'name' => '[URL=' . XenForo_Application::getOptions()->boardUrl . '/' . XenForo_Link::buildPublicLink('groups/group', $group) . ']' . $group['name'] . '[/URL]', 'description' => $description));

And replace with these...
Code:
$post_title = new Xenforo_Phrase('snog_socialgroups_notice_title', array('name' => $group['name']), FALSE);
if(XenForo_Application::getOptions()->snog_socialgroups_noticedescription) $description = $group['groupdescription'];
$post_message = new Xenforo_Phrase('snog_socialgroups_notice_text', array('user' => $visitor['username'], 'name' => '[URL=' . XenForo_Application::getOptions()->boardUrl . '/' . XenForo_Link::buildPublicLink('groups/group', $group) . ']' . $group['name'] . '[/URL]', 'description' => $description), FALSE);
 
  • Like
Reactions: CTS
This error popped up in my error log a couple of times on Friday:
Error Info
ErrorException: Argument 1 passed to Snog_SocialGroups_Helper_DataWriter::createConversation() must be of the type array, boolean given, called in /home/pandorar/public_html/library/Snog/SocialGroups/ControllerPublic/Index.php on line 996 and defined -library/Snog/SocialGroups/Helper/DataWriter.php:37
Generated By: Talia al Ghul, Friday at 11:12 PM
Stack Trace
#0 /home/pandorar/public_html/library/Snog/SocialGroups/Helper/DataWriter.php(37): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/pandorar/...', 37, Array)
#1 /home/pandorar/public_html/library/Snog/SocialGroups/ControllerPublic/Index.php(996): Snog_SocialGroups_Helper_DataWriter::createConversation(false, Array, 'Kingsman: Secre...', 'Your membership...', '', true, true)
#2 /home/pandorar/public_html/library/XenForo/FrontController.php(347): Snog_SocialGroups_ControllerPublic_Index->actionJoinGroup()
#3 /home/pandorar/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/pandorar/public_html/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(64) "http://pandorarp.com/groups/kingsman-secret-service.36/joingroup"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(36) "/forums/kingsman-secret-service.266/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
This error popped up in my error log a couple of times on Friday:
Check the "PC Sender Name" in the add-on options and be sure it's a name (not a userID) and that the user exists.

Note that according to my records you are also about 6 versions behind the latest released version and in the next week or two you'll be 7 versions behind.
 
Last edited:
Snog updated Social Groups with a new update entry:

Social Groups Update 1.4.0

An update to the Social Groups system has been released. Those that have purchased this add-on, please log into your account on my site to download this update.

This is a major update and as such it is strongly suggested you backup your database and the library/Snog/SocialGroups folder before upgrading to 1.4.0. Also, take your site offline before uploading files and while upgrading to prevent errors while the upgrade takes place.
  • ADD Group names and descriptions are now...

Read the rest of this update entry...
 
Even if it you could just pull content from the XMG that would be cool.
Interfacing with the XMG would be next to impossible, to difficult at best. In most cases, the social group system uses user level permissions (not user group) to establish who can view the contents of a group. The XMG does not take permissions down to the user level and uses user group level permissions for it's categories, etc.. So to say USER-X can not view the contents of XMG category-Y or album-z may not be possible.
This would also be great if you could set up events in this. Having a tab for events where you can add times and dates etc
This is already on the wish list.
 
Interfacing with the XMG would be next to impossible, to difficult at best. In most cases, the social group system uses user level permissions (not user group) to establish who can view the contents of a group. The XMG does not take permissions down to the user level and uses user group level permissions for it's categories, etc.. So to say USER-X can not view the contents of XMG category-Y or album-z may not be possible.

This is already on the wish list.
Well I'm no expert haha so any ways to get videos into it would be great
 
Anybody ever figure out how to make a widget that can be tossed into a homepage or sidebar?

I am trying to figure out how to make a widget listing top ten or so popular groups by title.
 
Anybody ever figure out how to make a widget that can be tossed into a homepage or sidebar?

I am trying to figure out how to make a widget listing top ten or so popular groups by title.
You can't. At least not without some extra php coding in the add-on. There's nothing in the add-on to establish any kind of ranking for the groups.
 
Snog,

This addon is being enjoyed by my members, and I am allowing my premium member group to create their own social groups.

An issue came up yesterday that demonstrated to me that either I do not have it setup properly, or a fix is needed.

I noticed that when a member makes a group forum, that permission masks are not applied and all usergroups are set for no (not set) permissions.

I tried to set permissions in the root group category node, but those perms do not translate through to the forum nodes.

I need to have a base set of permission mask setting apply to member created group forums. Especially admin and mod settings.

Any pointers on what I am missing?
 
Back
Top Bottom