A topic or message that only guests could see
-
Hi
Is there a way to make a post or topic with a link at the entrance to the site that only guests will see?
I tried to create a category, and gave permissions only to view guests
And yet for this administrator it appears, I want something that only those who are not logged in to the forum will see
And even to the manager it will not be shown
Thank you very much -
@ab you could try putting an HTML widget in the categories page (extend>widgets) and running a bootbox script in that. Example:
<script> bootbox.alert('Your Message to guests!') </script>
This should work. Let me know.
Also, anyone else please reply if there is a better alternative to thebootbox
, I believe it is deprecated or something. -
@dunlix I chose the Well design option and made design changes to it via CSS but it actually affects other places in the forum as well, it affected the design of a preview when writing posts
What option can I choose that will not affect another place in the forum and I can design it after that?
Thank you -
@ab In css you can place the customs into the Custom CSS page in the ACP, or use "element style" in the HTML for the well container (in widgets page) for example if i wanted the well to have a blue background and ONLY that well, I would paste this HTML into the container slot of the widget:
<div class="well" style="background-color: #0047ff;">{{body}}</div>
and you can use other CSS in the
style="..."
part of that. So this CSS here is only applying to that well.