Skip Navigation

[Resolved] Hiding Membership Messages

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.

Our next available supporter will start replying to tickets in about 7.22 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 13 replies, has 3 voices.

Last updated by ramez-refaatG 1 year, 8 months ago.

Assisted by: Nigel.

Author
Posts
#2574217
C92438ED-F126-45F5-AA11-B52A5EE1A80A.png

Tell us what you are trying to do?
We have Membership User Role Restriction to hide & show contents by User Role, but the message that should appear when you visit the post itself appears on the Views (lists) as shown in the uploaded image….that annoys the visitors.
So I want to hide it from the Views (Lists).

Is there any documentation that you are following?
No

Is there a similar example that we can see?
No
What is the link to your site?
hidden link

#2574823

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

The message is coming from the third-party plugin (non Toolset plugin) you are using so actually you should have ask to that plugin support.

I can only offer CSS solution if that works for you. You can add the following to your content template or view's custom CSS section:

.wpuf-restrict-message { display: none; }
#2575051

Thanks…that’s what I needed.
But I added the CSS but still the message appears.
I’ve added it in the Parent, Child & the Posts’ Views but still not hidden.

I’ve removed the . from the beginning but still appearing too:

.wpuf-restrict-message { display: none; }

wpuf-restrict-message { display: none; }

#2575053

Minesh
Supporter

Languages: English (English )

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

So you should check with your third-party plugin support as the message is coming from that plugin. Honestly I do not have any idea from where that plugin adding that message. Its better to be in contact with them and check how you can remove that message.

#2575055

The answer to go to you too…so I’ll end in this loop.

The CSS code is the solution…so please help on this to hide their message from the Views of Toolset.

Thanks.

#2575063

I don’t want to remove the message totally…It’s needed in the Post itself to tell the visitor why the content isn’t shown.

But I want to hide it in the Views only.
So this is Toolset issue not theirs.
Thanks.

#2575097

Minesh
Supporter

Languages: English (English )

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

I will try to have a look once but as per our support policy we do not debug third party plugins. As the third-party plugin is hijacking the view's output and adding that message. As shared before Toolset do not add such message the message is coming from your third-party plugin and that you have to admit it.

Please send me admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2575099

I’ve tried another Plugin that also shows the Message in the Views so the issue is in Toolset to help, the other plugin is Members & the message appears in the Views… & now my team returning back to WUPF to restrict the contents.
WPUF shows the message in Yellow background…the other message isn’t going to appear because my team is returning it back to WPUF…so please ignore the other message (not in Yellow background).

I know your policy I’m an old customer since 2018.
But all the agents helped in these complicated issue…and I thank that you are ready to help
N.B. The post is not private to send any details.

#2575101

I’m waiting to send the creds.

#2575105

Minesh
Supporter

Languages: English (English )

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

Please share screenshot to ensure with problem URL that what message you want to hide and what message you want to keep.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2575283

N.B.: The message will appear when you’re logged out…so to test you need to be in another browser.

#2576875

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2023-03-20 at 14.23.19.png

Hi there

Minesh asked me to take a look at this.

I'm not sure where you have been adding the CSS Minesh suggested, I couldn't find it.

To clarify, the content of the page you linked to (where I can see the messages when logged out) is not from a View, it is a custom archive, for the subjects taxonomy archive. I can see that the messages are injected by another plugin, and Minesh is correct to say that this could be handled by their support. If you were to disable Layouts and Views so that the theme was responsible for what was shown on that page, I expect you would see the same messages.

In any case, the CSS should help hide them, but when I added the CSS to the custom archive used on that page (screenshot), it didn't fix the problem.

I expect that style rule to be added to the page source, but it is not.

That suggests that the site uses caching and what I see on the front end does not reflect the changes made on the back end.

Can you check that? Flush whatever caches might be affecting that page?

Thanks.

#2577053

Yes it made the message to disappear…but also caused many posts to disappear.
I want to hide only the message above but the posts to stay in the table below.
Sorry for the efforts taken…appreciate your efforts.
Thanks.

#2577055

My issue is resolved now. Thank you!