- This topic has 20 replies, 3 voices, and was last updated 1 year ago by Tom.
September 14, 2020 at 12:36 am #1442105Bradley
I’m using Digital Access Pass as a membership site. It has a feature where it will not show pages the person doesn’t have access to, pages for products they haven’t purchased. LOVE this feature. But once I moved to Generate Press a problem arose… Menu items that have a sub-menu would lose the menu label, it wouldn’t show. All you could see is the down arrow in the navigation menu.
In DAP they have a setting to not filter out pages you don’t have access to. What this does is shows everything you added to the menu and when you’re on the site you see everything even if it’s a page you don’t have access to.
Again, didn’t have this problem with old theme so hoping you can review and resolve this problem. When I presented this to DAP this is what they told me… Unfortunately, the menu protection stuff is very complex, and only works when the menu is created 100% according to WordPress standards. Any custom menu styles and it won’t work. And some themes and plugins have a special way of creating the menus which conflicts with the DAP feature.
Let me know what you need to review this. Please let me know after you’re done being in my site (info in Private Info box) so I can turn the feature off so the menu’s look right again for our users. This is an active site.
BradSeptember 14, 2020 at 1:14 am #1442158DavidStaffCustomer Support
thats weird as GP’s navigation conforms to WP standards – so if the plugin developer also conforms there shouldn’t be any issues.
So when i login and visit CPM Training it is presenting me with the Home and Login option and the form to Login in with – do i need a DAP account to see the issues or should i be automatically logged in as an admin ?September 14, 2020 at 9:55 am #1442906Bradley
The login I gave in the Private Info box should also log you into DAP. What I noticed is I didn’t give you access to any products so I gave you access to the main product. I also created you as a DAP member with login info in Private Info box.
How it looks now…
How it should look…
I sincerely appreciate you looking into this! Thanks.
BradSeptember 14, 2020 at 11:26 am #1443027TomLead DeveloperLead Developer
So should those menu items be completely hidden, or should the titles be showing up?
We’re not doing anything outside WP standards. The arrow you’re seeing is added via a core WordPress filter here: https://github.com/tomusborne/generatepress/blob/2.4.2/inc/structure/navigation.php#L235-L266
It looks like the actual title is being filtered out by something. I wonder if the above function will give DAP any ideas?September 14, 2020 at 11:39 am #1443043Bradley
Those menu’s should NOT be hidden, the labels should be showing.
I sent your response to DAP and hope it helps them resolve problem.September 14, 2020 at 2:04 pm #1443231TomLead DeveloperLead DeveloperSeptember 14, 2020 at 3:27 pm #1443289Bradley
As expected, here’s what I was told…
Unfortunately, there is no way to know why it is not behaving like a standard menu without spending a lot of time troubleshooting it. I’m afraid we’re unable to support any third-party theme or plugin issues. It is a lot of work and troubleshooting involved that could take several hours and that is beyond the scope of our support for DAP.
You could purchase an hour of premium support and we can try to troubleshoot it, but we won’t be able to guarantee any outcome.
Your best options would be to use a different theme, or turn off that feature.
– JCSeptember 15, 2020 at 9:55 am #1444534TomLead DeveloperLead Developer
That’s a shame, I would have hoped for some basic debugging.
Do you have a staging site you can set up that we can debug with?September 15, 2020 at 10:32 am #1444585Bradley
I’m going to give you my login at another site that I’m currently building where I’m using DAP and GP and having the same problem. This is a consistent problem with any site where I use GP and DAP.
I just did a backup of it so you can go in and do whatever you need to do to trouble shoot this. I’m super excited you care enough to help me with this. I’ll make sure to give you lots of praise at the DAP Facebook group.September 15, 2020 at 2:51 pm #1444895TomLead DeveloperLead Developer
Was hoping I could look through their code to see if anything stood out, but it’s a massive plugin with tons of code and files..
I’ve downloaded it to my localhost so I can find things throughout all of the files. Can you give me steps to make the issue happen on my site?September 15, 2020 at 3:12 pm #1444901Bradley
See Private Info box…September 16, 2020 at 9:17 am #1446030TomLead DeveloperLead Developer
I have it installed – not sure if I need a license # for it to be usable? As this is just testing a bug, I wouldn’t worry about license key usage – I have no intention of using their software beyond finding what’s going on here.
If you’re not comfortable with that, I would need FTP information for your test server so I can debug the PHP files – doing so via the WordPress file editor isn’t very reliable, unfortunately.September 16, 2020 at 10:18 am #1446127Bradley
Yes, you’ll need lic #, see private info…September 16, 2020 at 11:27 am #1446212TomLead DeveloperLead DeveloperSeptember 16, 2020 at 11:40 am #1446229Bradley
You need to have a menu with Sub-menu items for a drop-down menu on the main navigation. This is where the problem is.
If you go to… /wp-admin/admin.php?page=dapHome
Then from top menu to Setup/Config
Then on tabs go to “WordPress-Related/Sync”
Then scroll down to “Show Protected Content Settings” and make sure “Show protected (and not-dripped-yet) links in menu?” is set to NO.
If I change this to Yes then I don’t have the problem of the Menu Labels not showing, BUT then the menu shows ALL pages even if the logged in person doesn’t have access to that page and that’s the problem and why I want it set to NO.
- You must be logged in to reply to this topic.