PDA

View Full Version : Making sub-forums private


CaptainAwesome
04-01-2015, 06:48 AM
I have one sub-forum where see it exists, but they can't click through to see the threads.

I've tried to set this up for additional sub-sections, and while people can't click into the threads, they can see the titles.

I'm attaching an image showing how one part shows private where the most recent thread would show.

I can't seem to replicate it for the additional 2 sub-forums.

Any ideas?

Thanks

MarkFL
04-04-2015, 05:39 AM
On my local dev site, I set up 3 child forums, and for the restricted usergroup, set all permissions to "No" with the exception of "Can View Forum" and then logged in under a restricted account, and this is what I see:

https://vborg.vbsupport.ru/attachment.php?attachmentid=152186&stc=1&d=1428132688

It appears that you likely have "Can View Others' Threads" set to "Yes."

In my opinion though, if a user is not allowed access to a forum, then they shouldn't even see that the forum exists, and I would also set "Can View Forum" to "No" (I would set all permissions to "No"). :D

CaptainAwesome
04-04-2015, 03:30 PM
Thats not it. I have "Can View Forum" set to yes and everything else set to no.

Thats why i am confused with this issue. It would appear on the surface i have it all set up right but for some reason those 2 out of 3 sections do not show up as private unless the user is not logged in.

MarkFL
04-04-2015, 03:39 PM
Thats not it. I have "Can View Forum" set to yes and everything else set to no...

Have you applied these permissions to the desired usergroup(s) in:

Forums & Moderators ► Forum Permissions

CaptainAwesome
04-04-2015, 04:18 PM
Yes.

Is there somewhere else that permission needs to be set? Because thats the only place i have set it.

CaptainAwesome
04-04-2015, 04:51 PM
I'm attaching a screenshot of permissions. All 3 sub-forums are set the same. Only one of them shows up as private as per the image in the first post.

CaptainAwesome
04-04-2015, 04:54 PM
I did get a response from VB support. I had given them admin access to the site as well as access to a test account.

They gave me a bunch of steps to do which i feel is a little beyond my skill level (i'm a newbie) and i don't want to end up screwing up the site.

To troubleshoot this, first download a fresh copy of the vBulletin ZIP file from the Members Area then reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all Products except the vBulletin Blog and vBulletin CMS (Admin CP -> Plugins & Products -> Manage Products -> Disable) AND uncheck all the plugins except those related to the vBulletin Blog and vBulletin CMS by (Admin CP -> Plugins & Products -> Plugin Manager). You must do BOTH of those steps in order to disable all non vBulletin Modifications.

If you have vbseo installed, you must disable this via it's own control panel AND remove any htaccess you added to your .htaccess file for it.

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Set this as the site Default Style under Admin CP > Settings > Options > Style & Language Settings > Default Style. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.


--------------- Added 1428173743 at 1428173743 ---------------

Anyone know a more targeted approach?

--------------- Added 1428189785 at 1428189785 ---------------

ok i worked out the problem and thought i would post what i did in case other people have this problem in the future.

I had given the test account permission to view and post in those sections at some point as part of my testing. Later, i removed that account from the user groups that could access it.

After doing more testing, i found that even thou the account permissions were not suppose to allow them to view the titles of the thread, they could in fact see all the threads they had started although they could not read the contents. This only happened to started threads, and not just any thread they posted to.

I'm guessing this is glitch or oversight in the coding.