![]() |
Hidden Invite Only Social Groups
Hello,
I've made a code modification to hide invite only social groups from the group.php page (including search). If you are an admin, you will still see those groups listed even if you are not a member of them. Anyway so this hack does the following: - Removes all invite only social groups from the group list page. - Shows an error when you try to access the group by URL if you're not a member or not invited. Same for picture page, etc. I just made this today and it seems like it works, but please for now test it locally first! I didn't make a plugin since there don't seem to be hooks in the locations that I need. Instructions: Download the new group.php and replace your old one. Alternatively, find all the sections labeled //WESLEY mod and do the replacements manually. UPDATE: I also added two other replacement files, you can either just download them or follow along here to do the updates yourself.. To also remove the invitation only social groups from the list on the profile page, open includes/class_profileblock.php and go to line 1130 or so. Remove this: PHP Code:
PHP Code:
Go to line 2182 Change PHP Code:
PHP Code:
|
Let me know if it works for you or if I missed something, thanks.
|
Soo I'd really like some feedback, is no one interested in this hack? ..
|
i will try this out, thanks
|
I'll be testing this out later today! Thanks for taking on the task.
|
Thanks, looking forward to that :)
Note that the files supplied are for 3.7.2, if you want to use this in an earlier version of 3.7, simply look in the files for "wesley" and copy/paste those sections over appropriately. |
It is against the vBulletin license agreement to redistribute full vBulletin files.
|
so are we supposed to download those files and re-upload them? I don't think I want to do that, because some of my files have other modifications in them that these may overwrite - do you have a list of what to change in those files, so I can just go into them and change them manually?
|
Just look at the files and search for "wesley" and replace where necessary. I could make a list later.. Btw where does it say that this is not allowed ideal_web_tech?
|
I thought vB had added this in a newer patch and was about to update again when I saw your mod. Since I didn't feel like having to sort through what mods and customizations would be broken again because of it, I decided to give this a whirl. Unfortunately I ran into Db error when doing so.
I am Running VB 3.7.1 PL1. There seems to be no difference in the files specified except for your edits (File compare in Notepadd++), so I do not think my version of VB is the issue. Quote:
Quote:
Here's the thing, it works fine for admins, but any other user will get a DB error when trying to access the Social Groups page. To make sure there was nothing else I changed or another mod perhaps conflicting. I replaced the group.php with my original 3.7.1 pl1 group.php and it works as normal. Was this ever officially added to any newer versions or patches of VB? If not, any help to get this much desired feature working will be appreciated. |
All times are GMT. The time now is 08:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|