Looking to have the forums section to be viewed by non members

GM_madness
GM_madness

SO in short i'm trying to set it so the public not involved with the campain can read only the forum section. This is also my first attemped at this and I've been able to stumble my way through all the other changes I wanted but this one is getting me.

 </li>

    <li class='forum active-target'>

      <a href='/forum'>

        <span class='nav-icon icon op-icon-forum'></span><span class='nav-text'>&nbsp;&nbsp;Barker Network</span>

      </a>

What do I need to change? and thank you so much for the help to this old man.

Comments

  • Abersade
    Abersade
    Posts: 629 edited July 2024

    Unfortunately I do not believe this to be possible at this time via CSS. I don't even think it's possible via javascript, though I could be wrong. The reason that I believe this isn't possible is that you must authenticate with Obsidian Portal, which then checks your username against the campaign in question, in order to view the contents of the Forum section.

    The behavior looks like this from what I can tell: user makes request to see the forum page, site backend checks to see if the user is part of the campaign which fails because the user isn't logged in, site goes "Okay, well they need to login in order to complete this request", site returns login prompt, user completes login prompt, site performs the user(is-user-in-this-game) check again, check fails, site returns 403 error. At no point during this process are the forum contents visible in the html, so CSS won't work since it can't unhide what isn't there to begin with.

    I verified this behavior by attempting to access one of my own forums from a browser that I never use (Edge was finally useful for something!), the immediate browser redirect that occurs if you are not logged in is the first hurdle. My second test was to be logged in and to see if I could access the forum for a friends campaign, which gives an error stating that "Sorry, you are not authorized to view that page (403). That is not your campaign."

    That error and the last bit there is important for a number of reasons. Basically the 403 error is OP telling me that technically yes what I was looking for was a request that the server understood and that the request is for a page that currently exists, but that I am forbidden from seeing it for "some" reason which is not contained within the error code itself, which of course is that I'm not part of the game in this case.

    All that said, I'd actually like this as a feature request. It's likely not incredibly difficult (in comparison to some other requests) to implement a checkbox that toggles the forums from their current behavior to just being publically visible. That's a question for Thaen though.

    Post edited by Abersade on

    GM of Stream of Kairos - 2025 Campaign of the Year

    GM of Rise of the Durnskald: Wrath of the Fallen Goddess - February 2016 CotM

    GM of Core: The Ashes of Alcarna - April 2020 CotM

    Need CSS Help? It may be covered here: Abersade's CSS Hub

  • vadercomplex
    vadercomplex
    Posts: 267

    Hey @GM_Madness! This is an excellent inquiry, I'm forwarding it to the team now and I'll get back to you asap! 

    Obsidian Portal Support Druid | [email protected]

  • vadercomplex
    vadercomplex
    Posts: 267

    Also, thanks as always for chiming in. :~) @abersade

    Obsidian Portal Support Druid | [email protected]

  • thaen
    thaen
    Posts: 1,130

    @GM_madness, I think we can get you fixed up! This is a feature that we added a long time ago, but it's still in beta, so the GM has to be explicitly added to the beta feature. I've added you now. Here's a thread about where the checkbox is and how to turn it on:

    https://forums.obsidianportal.com/discussion/comment/48328

    Oh, you'll also need to change the address for the "Barker Network" to be "/public-forum", not "/forum" ... otherwise, as Abersade noted, it will ask the visitor to login because it thinks they are trying to view something private to the Campaign.

    @Abersade, I also added you to the beta feature, in case you want to try it out.

    Obsidian Portal Developer

  • Abersade
    Abersade
    Posts: 629

    Well dang, talk about a quick turn around.

    Thanks!

    GM of Stream of Kairos - 2025 Campaign of the Year

    GM of Rise of the Durnskald: Wrath of the Fallen Goddess - February 2016 CotM

    GM of Core: The Ashes of Alcarna - April 2020 CotM

    Need CSS Help? It may be covered here: Abersade's CSS Hub

  • Abersade
    Abersade
    Posts: 629

    @GM_madness

    To add this to your navigation menu, add the following code in to the rest of the code under Settings > Advanced > Custom Navigation

        <li class='public-forum active-target'>

          <a href='/public-forum'>

            <span class='nav-icon icon op-icon-forum'></span><span class='nav-text'>&nbsp;&nbsp;Public Forum Posts</span>

          </a>

        </li>

    GM of Stream of Kairos - 2025 Campaign of the Year

    GM of Rise of the Durnskald: Wrath of the Fallen Goddess - February 2016 CotM

    GM of Core: The Ashes of Alcarna - April 2020 CotM

    Need CSS Help? It may be covered here: Abersade's CSS Hub

  • vadercomplex
    vadercomplex
    Posts: 267

    @GM_Madness: Hey friend, were you still needing help on this one? :~) I went ahead and messaged you too just in case! 

    Obsidian Portal Support Druid | [email protected]

Sign In or Register to comment.

September 2026
City of Shadows

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions