Skip Navigation

[Resolved] Split: issue with navigation when the user is not logged in

This thread is resolved. Here is a description of the problem and solution.

Problem:

The customer reported an issue where the navigation on a page wasn't functioning correctly when the user was not logged in. The problem was traced to a lock icon appearing on the 'rating' field when users were not logged in. This lock was initially thought to be added via Toolset settings, but it was later discovered to be caused by a third-party plugin called "Restrict Content" by StellarWP.

Solution:

After identifying that the lock icons were being added by the "Restrict Content" plugin, we suggested temporarily disabling the plugin to confirm that it was the cause of the issue. The customer confirmed that the issue disappeared when the plugin was disabled. Since the plugin caused the issue, we recommended contacting its support team for further assistance. As a workaround, we provided a custom CSS code snippet to hide the lock icons from the outside of the table, allowing the page to function correctly even with the plugin enabled:

p:has(> .vc_icon_element-icon.fas.fa-lock):not(table p) {
    display: none;
}

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 8 replies, has 2 voices.

Last updated by Mateus Getulio 2 months, 2 weeks ago.

Assisted by: Mateus Getulio.

Author
Posts
#2738704

hidden link

Please watch this video seems like issue with navigation when the user is not logged in. But if the user is login everything works perfectly fine

#2738705

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

To suggest the best way to fix it, I'll need to see how this view is set up in the admin area.

Can you please share temporary admin login details along with a link to a page where this view can be seen?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Mateus

#2738894

hidden link

Here you can see this

#2739252

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Sandy,

Thank you for providing us with those details.

A quick question, I see that there's a lock on 'rating' if the user is not logged-in, I believe this could be associated with the issue on the navigation.

Just to double-check, the lock was put in by you for non-logged in users or is this also an issue we need to address?

Thank you, please let me know.

#2739255

I put it there for non logged in user. You can see it under toolset

#2739915

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Upon further review, I found out that the lock are being added by a third party plugin "Restrict Content" By StellarWP rather than using Toolset.

If I temporarily disable this plugin, I can see that there's no issue any longer, the issue seems to be caused by this plugin.

I'd recommend reaching out to the plugin support and ask them to review and fix this issue.

Thank you, please let us know.
Mateus

#2740182

As soon as I enable the plugin the lock start appearing there. It means toolset have some code from Restrict Content, Even if I remove the shortcode those review start showing lock.

#2740190

Can you please check the list template of toolset

#2740311

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

locks.jpg

There seems to be a conflict. I couldn't figure out why the restrict lock is added even if you remove the shortcode, it seems to be a bug. It'd be interesting if you could involve the other plugin support as well to check this.

I have found a workaround in any case, I added the following CSS code to the template in order to get the lock icons removed only from the outside of the table:

p:has(> .vc_icon_element-icon.fas.fa-lock):not(table p) {
    display: none;
}

This seems to have resolved the issue, please check the screenshot.