GM Secrets

SkidAce
SkidAce
edited September 2015 in Campaign Portal Building
Is there a way to wrap a GM secret in a class or div in the main body of a page and have it be visible to GMs and not players?

Comments

  • Bortas
    Bortas
    Posts: 645 edited September 2015
    Do you mean something like:

    Normal: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    *GM NOTE*: howdy
    Normal: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    Wouldn't the player simply be able to click the edit button and see the stuff in there?

    There are a couple of useful tidbits in "this thread":http://forums.obsidianportal.com/comments.php?DiscussionID=3979&page=1#Item_12.

    Basically, create a custom class:
    @.HideMe@
    Place it in the body where you want it:
    @sooper sekrit@

    And use a bit of CSS magic so they can't see it:
    @body:not(.campaign-game-master) .HideMe {
    display:none;
    }@

    But again, they could just edit the page and see it.

    -bort
    "Morwindl":https://morwindl.obsidianportal.com
    "EIDL":https://eidl.obsidianportal.com
    Post edited by Bortas on
  • SkidAce
    SkidAce
    Posts: 830
    Thats exactly what I need. My folks don't edit pages, so not a large concern.

    Anything secret secret would go in the normal secret box. It was kinda an idle thought, but I'm going to play with it,

    thanks!
Sign In or Register to comment.

March 2024
Wrath of the Highborn

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