Skip Navigation

[Assigned] Conditional Block: Cannot add second custom user role

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by barbaraK-3 10 hours, 2 minutes ago.

Assisted by: Minesh.

Author
Posts
#2863571

I have a problem with the Toolset Conditional Block.

I want to display content based on different user roles.
In the Conditional Block, I first add this condition:

Current user role = Other role > Mitglieder

This works so far.

Then I click the plus button to add another condition for another role.
The new condition starts again with:

Current user role = ...

But at this point I want to choose another “Other role”.
The problem is that “Other role” is no longer shown in the dropdown/list, so I cannot select a second custom role.

In the Toolset training video, it looks like this should be possible. That is why I am not sure whether this is a bug, a limitation in the current version, or whether something has changed in the interface.

What I want to achieve is:

Show this block if the current user has the role “Mitglieder” or another custom role.

Could you please tell me how to add more than one custom role to the same Conditional Block?

Thank you.

#2863591

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please tell me with what training video you see that's possible.

Can you please share problem URL and admin access details. Other role will not give you dropdown with other role but maybe textbox.

Can you please tell me what exactly codition you want to build with other role and current role ad I will see if there is any other workaround.

#2863597

Hello Minesh,

thank you for your reply.

I have created temporary WordPress admin access. Here is the temporary admin link:

hidden link

For now, I have not provided FTP access because the issue seems to be related to the Conditional Block settings in the WordPress admin area. If FTP access is really necessary later, please let me know why it is needed.

Here is the training video where I saw that this should be possible:

https://toolset.com/course-lesson/using-toolset-conditional-block/

The problem is not that “Other role” does not show a dropdown or that I do not see a textbox.

The problem is that “Other role” is not shown at all when I add the second condition.

The first condition works:

Current user role = Other role > Mitglieder

But when I click the plus button to add another condition for another custom role, I can choose “Current user role” again, but the option “Other role” is no longer available.

So I cannot enter or select another custom role at this point.

What I want to build is:

Show this block if the current user role is “Mitglieder” OR if the current user role is another custom role.

Could you please tell me how I can add the second custom role if “Other role” is not available in the second condition?

Thank you.
Barbara

#2863602

Hello Minesh,

I forgot to include the page URL in my previous email.

Here is the page where you can see the problem:

hidden link

Thank you.