Social Groups for XenForo 1.x [Deleted]

Hi Snog,

I updated to 1.3.1 and tried making a new category (this issue happens wherever I put the category) and wondered if you knew the issue?

Code:
ErrorException: Fatal Error: Cannot redeclare class XFCP_Snog_SocialGroups_DataWriter_Node - library/XenForo/Application.php(528) : eval()'d code:1
Generated By: Zynektic, 2 minutes ago

#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

array(3) {
  ["url"] => string(59) "https://www.domain.com/admin.php?categories/save"
  ["_GET"] => array(1) {
    ["categories/save"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["title"] => string(6) "Europe"
    ["description"] => string(50) "This area houses private forums for Europe Guilds."
    ["parent_node_id"] => string(1) "0"
    ["display_order"] => string(1) "1"
    ["display_in_list"] => string(1) "1"
    ["node_type_id"] => string(8) "Category"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(23) "/admin.php?nodes/insert"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

I altered my domain and the forum is on 1.5 Beta 2, could this be why?

As a work around I disabled the add-on, made the category then enabled the add-on again and selected it in Social Groups add-on.
 
Last edited:
Hi Snog,

I updated to 1.3.1 and tried making a new category (this issue happens wherever I put the category) and wondered if you knew the issue?

I altered my domain and the forum is on 1.5 Beta 2, could this be why?

As a work around I disabled the add-on, made the category then enabled the add-on again and selected it in Social Groups add-on.

I don't think it's a problem with 1.5, but I will test it tomorrow to be sure.
 
The above was the full code in my server errors log however, I can replicate it by creating a category, if you need access just let me know!
 
Oh that was quick, what was the issue?
Just what the error said. :)

I was loading the node datawriter in two places. Under normal use on the public side that wouldn't be a problem, but when you create a new category it caused a problem.

That was a remnant of the old 1.2.x code that wasn't removed.

Let me know if you run across anything else.
 
Code:
Callback Snog_SocialGroups_Listener_Category::loadClassDataWriter is invalid (Invalid Method).

Do the files just need replacing and no XML change?
 
Latest Version "Callback Snog_SocialGroups_Listener_Category::loadClassDataWriter ist ungültig (Ungültige Methode)."
while attempting a update
 
Latest Version "Callback Snog_SocialGroups_Listener_Category::loadClassDataWriter ist ungültig (Ungültige Methode)."
while attempting a update
Could you please try downloading and installing the update again?

I think either the wrong XML was included or there may have been some other problem with the download.
 
Is there a way to allow moderators to view the contents of hidden/private groups?
No, there isn't. A moderator must be a member of the group to view the contents. And must be assigned as a group moderator by either the admin of the site or the group owner to be able to moderate the contents.

That's intentional and was requested at the time of initial development. The reason is, you may have two opposing groups or divisions and the moderator may be a member of one of those groups. A moderator being able to see what the other group is doing could be a security violation or at the very least an ethical violation.
 
Last edited:
Would it be possible to add the ability for a group owner to set the forum description of their group? So then the forum list of groups can have some information on what the groups actually are.

And it would also be nifty for it to display on the groups page, perhaps as a hover?

@Gossamer ...

I will probably limit the size of the forum description to a single line, say 150 characters. XenForo itself allows a much longer (almost unlimited) description. The reason I want to do this is so we don't have people writing a full description of their group in the forum description when it should be in the group description.

Does this sound reasonable to you?
 
We're trying to do a clean install of it and get this:

Code:
Mysqli prepare error: Table 'xfu_xenforo.xf_snog_socialgroup_members' doesn't exist

I'll look into it and see what's causing it to try to alter or insert into the table before it's created, just don't have time right now :)

Jake
 
We're trying to do a clean install of it and get this:

Code:
Mysqli prepare error: Table 'xfu_xenforo.xf_snog_socialgroup_members' doesn't exist

I'll look into it and see what's causing it to try to alter or insert into the table before it's created, just don't have time right now :)

Jake
Thanks for the report.

I know what's causing it. And I'll issue an update shortly.
 
Back
Top Bottom