AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Guests see "Add Topic" button - even if settings are right

21 Posts
4 Users
0 Reactions
5,181 Views
Posts: 19
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@danielofanu)
Eminent Member
Joined: 5 years ago
[#21718]

Hello,

 

I've disabled Can Add Topic in the Forum Access for Guests, see attached.

For each forum created, I then gave Read Only access to everyone.

 

The problem is, I do not want guests to be able to see or click the "Add Topic" button.

 

How do I fix this bug?

 

Thanks in advance

 

 


20 Replies
Posts: 19
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@danielofanu)
Eminent Member
Joined: 5 years ago

Screenshot 1

Screenshot 2022 05 15 234014

Screenshot 2

Screenshot 2022 05 15 234214

Screenshot 3

Screenshot 2022 05 15 234240

Posts: 19
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@danielofanu)
Eminent Member
Joined: 5 years ago

 One further issue, how can I disable the "Login" or "Register" bar on the bottom of this page for Guests?

Further, how do I disable the "Quote" button for Guests?

 

https://anuinitiative.org/updates/initiatives/test-topic/#post-1

 

 


Posts: 1001
Moderator
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@martin)
Support Team
Joined: 10 years ago

@danielofanu,

This is not a bug. All works correct. The button only exists for attracting guests to login or register, it doesn't allow creating topics, so the topic creation permission is disabled.

If you don't want to attract not-loggedin users to login or register, you can hide the button using a simple CSS code. Put this code in Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches:

#wpforo #wpforo-wrap.wpf-guest .wpf-head-bar-right .wpf-button,
#wpforo #wpforo-wrap .wpf-please-login{
     display:none;
}

 


8 Replies
(@danielofanu)
Joined: 5 years ago

Eminent Member
Posts: 19
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@martin Thanks for this - just managed to get rid of it

One more question, how do I disable the "Quote" button for Guests?

 

https://anuinitiative.org/updates/initiatives/test-topic/#post-1


Moderator
(@martin)
Joined: 10 years ago

Support Team
Posts: 1001
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@danielofanu,

Add this CSS to others in the same textarea:

#wpforo #wpforo-wrap.wpf-guest .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions{
    display:none;
}

(@danielofanu)
Joined: 5 years ago

Eminent Member
Posts: 19
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@martin this is how the code looks now, but the Quote button is still there

 

#wpforo #wpforo-wrap.wpf-guest .wpf-head-bar-right .wpf-button,
#wpforo #wpforo-wrap .wpf-please-login{
display:none;
}

#wpforo #wpforo-wrap.wpf-guest .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions{
display:none;
}


Moderator
(@martin)
Joined: 10 years ago

Support Team
Posts: 1001
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@danielofanu,

I assume you know that you should delete the cache after each editing of css code, I have already said  you in my first post to delete the cache, I didn't want to write the same twice. So please delete the cache.

Also, exclude the forum page from your unintuitive cache plugin. Read this topic and exclude the forum page from LiteSpeed Cache as son as possible: https://wpforo.com/community/faq/wpforo-and-cache-plugins/


(@danielofanu)
Joined: 5 years ago

Eminent Member
Posts: 19
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@martin I added the forum to the LiteSpeed Cache exceptions.

 

I also cleaned Cache on wpForo, and the Quote button still appears.

 

Any ideas?


Moderator
(@martin)
Joined: 10 years ago

Support Team
Posts: 1001
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@danielofanu,

You did something wrong, the forum page is still cached by your cache plugin. 

Are you sure you've inserted this /updates/ to the Do Not Cache URLs option of LiteSpeed Cache plugin?

https://buildwoofunnels.com/docs/checkout-pages/caching/litespeed-cache/


(@danielofanu)
Joined: 5 years ago

Eminent Member
Posts: 19
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@martin Thanks again for the quick reply

 

I've done exactly that - see attached

 image 2022 05 16 115944288

Moderator
(@martin)
Joined: 10 years ago

Support Team
Posts: 1001
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@danielofanu,

I'd recommend connecting this plugin support and ask them why the forum page with sub-pages are not excluded from cache.

If there is no help then change your cache plugin to something more manageable (WP Super Cache, WP Fastest Cache)

 


dimalifragis
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@dimalifragis)
Famed Member
Joined: 6 years ago

You have issues (errors) on your pages:

 

 

Uncaught TypeError: elem is null

https://anuinitiative.org/updates/:163 6" role="listitem">    change https://anuinitiative.org/updates/ :1636
https://anuinitiative.org/updates/:163 3" role="listitem">    setInterval handler* https://anuinitiative.org/updates/ :1633

2 https://anuinitiative.org/updates/:1636: 3" href="https://anuinitiative.org/updates/">updates:1636:3

 

AND REMOVE THIS FROM YOUR PAGE of wpForo:

 



<!-- Page generated by LiteSpeed Cache 4.6 on 2022-05-16 09:11:51 -->

3 Replies
(@danielofanu)
Joined: 5 years ago

Eminent Member
Posts: 19
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@dimalifragis I've added the link to the forum to LiteSpeed Cache exceptions

 

Any other things I should check for?


Moderator
(@martin)
Joined: 10 years ago

Support Team
Posts: 1001
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@danielofanu,

Reset and purge all kind of minification, and otpization caches. I see the custom CSS doesn't exists in the website frontend, so this is 100% cache. After purging all kind of caches and deleting them, pres Ctrl+F5 twice on forum front-end to delete browser cache. i think this could be browser cache as well. 

Or just wait for 1-2 days, and you'll see the result, all caches have aut-reseting times.


dimalifragis
(@dimalifragis)
Joined: 6 years ago

Famed Member
Posts: 2600
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Posted by: @danielofanu

@dimalifragis I've added the link to the forum to LiteSpeed Cache exceptions

Well you didn't. Or did it the wrong way. CHECK your html page source bottom. You will see the signature.

Also the issues i posted above are not fixed.

 


Page 1 / 2
Share: