![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Some may not have noticed, but vb4 no longer supports restricting Moderators from viewing Join-To-View/Invite Only content.
This modification does the following: - Restricts Moderator access - Hides the display of Social Groups set to Invite Only/Join-To-View (similar to this) These are file edits. Back up your original files. Included in the zip are changed files which can be used as replacements; for those that prefer to make the changes manually, here they are. 1) In /group.php Find (~ line365):
Replace with:
2) In /group.php Find (~ line 653):
Replace with:
3) In /includes/functions_socialgroup.php Find (~ line 699):
Replace with:
4) In /includes/functions_socialgroup.php Find (~ line 1829):
Replace with:
5) In /includes/functions_socialgroup.php Find (~ line 1893):
Replace with:
6) In /includes/functions_socialgroup.php Find (~ line 1967):
Replace with:
Note: This is marked "Unsupported" as I am not the original author; this was done by a member of my site in his spare time who is allowing the modification to be shared. This works. He simply has no time for troubleshooting. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
|||
|
|||
Thank you for this solution !
No members have liked this post.
|
#3
|
|||
|
|||
Very welcome, glad someone else could use it!
No members have liked this post.
|
#4
|
|||
|
|||
Just installed. Works like a champ.
Trying to figure out how to apply filter to the Activity Stream now. The following members like this post: grey_goose
|
#5
|
|||
|
|||
Ever figure out how to do that?
No members have liked this post.
|
#6
|
|||
|
|||
Probably just need to add the viewable permission to the stream SQL query. Unfortunately I don't use that so I can't be much help there.
maybe something like... WHERE group.canviewcontent != 'No' OR group.type != 'inviteonly' The following members like this post: KevinL
|
#7
|
|||
|
|||
Thank you I will look into that.
Would the profile page edits be similar to what is listed here also: http://www.vbulletin.org/forum/showthread.php?t=184715 Also trying remove the group posts from the profile activity stream. When viewing someones profile you are able to see the private groups post. Would that be similar to your last reply? Thank you for the help! No members have liked this post.
|
#8
|
|||
|
|||
Semi-sorta. That link will still let moderators see it (refer to can_moderate in WHERE syntax) whereas my goal was to hide them completely.
And, yes, adjusting the query would remove the private groups post. No members have liked this post.
|
#9
|
|||
|
|||
Originally Posted by grey_goose
was this ever fully fixed/resolved?![]()
just realized about it...kinda surprising not even vb4 got around to fixing permission issues dam.. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:19.