Some categories seen on desktop theme, but not on mobile?
I have a weird problem.
On my forum I have a few categories that are hidden to guest users. My forum users notified me they can't view these categories on mobile phone using the default mobile theme. BUT, if you request desktop version of the site, these categories are displayed normally?!
The problem is happening for all user roles except administrator. As an administrator I can see all categories fine anywhere.
When on Vanilla 2.0.18.8, everything worked ok, but few days ago I upgraded vanilla to v. 2.1 and it started acting strange. I didn't touch permissions.
Please help me out, I don't have enough knowledge to fix this myself.
Best Answers
-
peregrine MVP
not sure what to tell you
if you still have problem,
disable all plugins and
make custom categories viewable to the roles you want.and see if you have issue.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
1 -
peregrine MVP
try this plugin
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
2 -
peregrine MVP
and you made need to add this as well to the plugin
'MobileFriendly' =>TRUE,
below 'HasLocale' => TRUE,
in class.excludecategories.plugin.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
2
Answers
did you delete
as indicated in instructions. that might be the cause if you didn't.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine Yes, I did delete both when upgrading.
As I said, as an admin I can see all categories all the time, but all others can't.
are you using the standard custom categories permissions, or some plugin.
what plugins do you have enabled.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Using built-in custom permissions.
Here are my plugins:
hmm... now I see I have "Hide from the recent discussions page" enabled on these categories, which is intentional.
These categories are supposed to be hidden until login and also kept out of "all discussions" list when logged in. I guess these two options don't work together.
When I had vanilla 2.0.18.8 installed I had to use HideCategory plugin and was happy to see the 2.1 support hiding some categories natively.
not sure what to tell you
if you still have problem,
disable all plugins and
make custom categories viewable to the roles you want.
and see if you have issue.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I already do have custom categories viewable to the roles I want.
But I also need discussions from some categories viewable only in their categories respectively, not on "all discussions" page.
I hope you understand what I need.
try this plugin
http://vanillaforums.org/addon/excludecategories-plugin
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
and you made need to add this as well to the plugin
'MobileFriendly' =>TRUE,
below 'HasLocale' => TRUE,
in class.excludecategories.plugin.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine Great! That seems to do the job.
Still wonder what "Hide from the recent discussions page." really does or is supposed to do though...
if you have permissions to view the category. it will not show those discussions in the topic list on the main discussion page. the topics will only show up when viewing the the individual category.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
That's what it's supposed to do, but it obviously doesn't. That's why I had to use the plugin you suggested.
It works on desktop site, but not on mobile.
But anyway, afaic this is solved. Tnx.
worked for me on mobile.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Sorry, cancel that. This plugin apparently works only for admins? All other users still see the "hidden" categories among all discussions.
Ok, you need to do some debugging ... turn on the mode where you can see sol queries and copy / paste the queries executed as normal user and as admin, then turn modus off ...
Compare sol queries and if you can't figure it out prepare to have it somewhere so some places can take a look
There was an error rendering this rich post.
Ok, I'll try that as soon as I get computer access (about 10 days). Will post results here. Tnx