[TH] Social Groups [Deleted]

Is there a better way to remove the "Social Groups" tab from the user profile page?
Right now I just deleted the content of...

waindigo_member_view_tabs_heading_socialgroups

I want to do this because it shows the thread title in the last post area even if the user does not have permissions to see it.

You can use <xen:comment></xen:comment>.
 
  • Like
Reactions: JBS
Hi!
First of brilliant add-on thanks for all the work!
Something I noticed while following you're guide to 'setting up your first social forum'
There is no permission to request to join a social forum there is a Join Social forum which you can have at allow or a numbered amount but allowing this means a user can join any social forum without being approved by the mods! - Disallowing it removes to join option all together and relies solely on invites from the forum mods.

Not sure if the is intended or something that go overwritten in on the the newer updates.

Thanks for all your hard work!
 
Hello,

I want to disable uploads for authenticated users for all my social forums.

Only admins can upload attachments. However, although I've disabled all upload permissions the upload button is still visible when an authenticated user posts in a social forum.

I've disabled both user permissions and social forums permissions for uploads.

What can I do?

Thank you, rhodes
 
Waindigo updated Social Groups by Waindigo with a new update entry:

Version 1.0.15 released

New features:
  • Option to automatically add created social forums to user's secondary list can now be set to only apply to certain social categories
  • User's secondary social forum cache is now re-built as part of the user cache rebuild process
Bug fixes:
  • Fixed bug that search results may show some threads that should not be visible by the user
  • Fixed bug that unable to deselect secondary social forums if already selected more than the user's permitted...

Read the rest of this update entry...
 
The latest update includes an option to rebuild the secondary social forums cache for users. This means you can now run a single MySql query to update all users' secondary social forums.

For example, if you want to set all users to have all forums they have created as secondary social forums, the query is:
Code:
UPDATE xf_user_profile AS user_profile SET secondary_social_forum_ids = (SELECT GROUP_CONCAT(social_forum_id) FROM xf_social_forum WHERE user_id = user_profile.user_id)

If you want to only do this for specific node IDs (for example, the social categories with node IDs 3 and 4), the query is:
Code:
UPDATE xf_user_profile AS user_profile SET secondary_social_forum_ids = (SELECT GROUP_CONCAT(social_forum_id) FROM xf_social_forum WHERE user_id = user_profile.user_id AND node_id IN (3, 4))

Once you have run the query, go to Admin CP -> Tools -> Rebuild Caches -> Rebuild Users and run the cache rebuilder.

Thanks to @Dynamic for contributing towards this latest update.
 
Try it. Move a thread with a redirect and then browse the thread via the link in the old location :)
 
Works fine for me. What error are you getting?

Here's the log
Server Error Log
Error Info
ErrorException: Undefined index: social_forum_id - library/Waindigo/SocialUserGroups/Extend/XenForo/ControllerPublic/Thread.php:16
Generated By: SomeUser, 58 minutes ago
Stack Trace
#0 /var/www/vhosts/mydomain.net/httpdocs/library/Waindigo/SocialUserGroups/Extend/XenForo/ControllerPublic/Thread.php(16): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 16, Array)
#1 /var/www/vhosts/mydomain.net/httpdocs/library/Waindigo/SocialGroups/Extend/XenForo/ControllerPublic/Thread.php(17): Waindigo_SocialUserGroups_Extend_XenForo_ControllerPublic_Thread->_overrideSocialForumStyle(Array)
#2 /var/www/vhosts/mydomain.net/httpdocs/library/NodesAsTabs/ControllerPublic/Thread.php(7): Waindigo_SocialGroups_Extend_XenForo_ControllerPublic_Thread->_postDispatch(Object(XenForo_ControllerResponse_Redirect), 'XenForo_Control...', 'Index')
#3 /var/www/vhosts/mydomain.net/httpdocs/library/XenForo/Controller.php(359): NodesAsTabs_ControllerPublic_Thread->_postDispatch(Object(XenForo_ControllerResponse_Redirect), 'XenForo_Control...', 'Index')
#4 /var/www/vhosts/mydomain.net/httpdocs/library/XenForo/FrontController.php(354): XenForo_Controller->postDispatch(Object(XenForo_ControllerResponse_Redirect), 'XenForo_Control...', 'Index')
#5 /var/www/vhosts/mydomain.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /var/www/vhosts/studentmidwife.net/httpdocs/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
["url"] => string(73) "http://www.mydomain.net/thread/some-thread.99178/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Waindigo updated Social Groups by Waindigo with a new update entry:

Version 1.0.16 released

New features:
  • Added sort options for list of social categories, including last message time, title, number of discussions and number of members.
  • Added new database column to store cache of number of members for each social forum, which can be recalculated using the cache rebuilder.
Note: due to the addition of a new member count cache, it is recommended that you rebuild caches by going to Admin CP -> Tools -> Rebuild Caches -> Rebuild Social Forums.

Read the rest of this update entry...
 
Help me think this through. I want to offer forums to clans/guilds using social groups. However, I keep getting stuck here.

Option 1: Create General Social Category For Each Game

But then, multiple clans/guilds with multiple forums would be a big, jumbled mess.

Option 2: Create New Social Category For Each Clan/Guild

But then, how do we keep other folks from creating forums in a guild's social category w/o creating a million user groups

Any thoughts on the best way to implement this?
 
Help me think this through. I want to offer forums to clans/guilds using social groups. However, I keep getting stuck here.

Option 1: Create General Social Category For Each Game

But then, multiple clans/guilds with multiple forums would be a big, jumbled mess.

Option 2: Create New Social Category For Each Clan/Guild

But then, how do we keep other folks from creating forums in a guild's social category w/o creating a million user groups

Any thoughts on the best way to implement this?
For both options, it is possible to limit the number of social groups that a member can create. So you probably want to consider the option that would best suit a fixed limit (i.e., if 1 group per guild, then a social category per guild would probably make most sense).

Hope this helps.
 
I'd certainly limit the number. But in the first option, it'd still get messy with lots of forums floating around disjointedly (even if they only have two main forums--one for members, one for leadership).

In the second option, what's to stop a troll from creating a bunch of accounts and flooding a rival social category with irrelevant social forums?
 
In the second option, what's to stop a troll from creating a bunch of accounts and flooding a rival social category with irrelevant social forums?
You would need to put other restrictions in place to stop this, i.e., only allowing certain user groups to create social forums, using something like user group promotions to ensure that members have to meet certain criteria to get into that group (i.e, be a member for a certain length of time, make a certain number of posts, etc.).
 
Here's an idea. What about child nodes within a social forum? So a group could have multiple forums (with their usergroups, mods, etc.), but keep them in a single place?
 
Top Bottom