Garfieldwithissuez
So I noticed when I logged into my wife's OP account to make sure the pages I want my players to be able to see are visible (and the others are not) I noticed that she has the ability to edit the non-GM-only part of EVERY page. I get that wiki's are designed so that many people can edit them in a live environment, but most that I have used have the ability to restrict editing of certain pages or by certain people/IPs. My question is can I do this with my campaign wiki? I'm all for letting players do some of the work, but at the same time I do't want them to be able to accidentally or intentionally delete or change something that I've worked days weeks or months to build. Any help would be appreciated.
Comments
-Thorvaldr
DM of "Tyellador:":https://tyellador.obsidianportal.com/ "CotM April '14":http://blog.obsidianportal.com/tyellador-april-cotm-14/
.header-icon {
display:none;
}
.campaign-game-master .header-icon {
display:inline;
}
This will make it impossible for anyone else to see the edit button. They could still edit it by writing in the url to get to the edit page...but that would require a lot of initiative. lol
Bondoid
"Legacy of Fire":https://our-legacy-of-fire.obsidianportal.com/
I was thinking about this during lunch, and using the code above they won't be able to edit anything! Including characters and adventure logs, etc.
If you want to limit it to just the wiki page.
.wiki-page-show .header-icon {
display:none;
}
.campaign-game-master .wiki-page-show .header-icon {
display:inline;
}
Bondoid
"Legacy of Fire":https://our-legacy-of-fire.obsidianportal.com/dashboard
-Thorvaldr
DM of "Tyellador:":https://tyellador.obsidianportal.com/ "CotM April '14":http://blog.obsidianportal.com/tyellador-april-cotm-14/
Bondoid
"Legacy of Fire":https://our-legacy-of-fire.obsidianportal.com/
Just trying to help out.
I've added
.wiki-page-show .header-icon {
display:none;
}
.campaign-game-master .wiki-page-show .header-icon {
display:inline;
}
to my CSS, but the edit button is gone for me as well...
.wiki-page-show .header-icon {
display:none;
}
.campaign-game-master .header-icon {
display:inline;
}
You will need to find the body class for being signed in as a co-gm, as I am not a co-gm anywhere to look myself.
This is what you need to do. Go to a wiki page, on the site where you are co-gm. Right click, inspect element. Scroll to the top. Near the top of the html is a body class tag with a bunch of classes in there. Find the one for co-gm, should be pretty obvious.
Then as above, your css is.
.wiki-page-show .header-icon { display:none; }
.campaign-game-master .header-icon {
display:inline;
}
.?????????????? .header-icon {
display:inline;
}
replace the ???????????? with the class title for the co gm. Sorry I can't look this up for you, if someone wants to invite me to a campaign as co-gm I can get you what you need if your confused.
Bondoid
"Legacy of Fire":https://our-legacy-of-fire.obsidianportal.com/
Tom a.k.a. Belrathius
"Experiments In Space":https://gurpsspace.obsidianportal.com/
I accepted, so whenever your good for the promotion.
Tom a.k.a. Belrathius
"Experiments In Space":https://gurpsspace.obsidianportal.com/
Maybe someone a little more versed on how Obsidian Portal is structured behind the curtains could help you more.
Sorry Guys
Bondoid
"Legacy of Fire":https://our-legacy-of-fire.obsidianportal.com/
killervp
"A God...Rebuilt":https://a-god-rebuilt.obsidianportal.com
"OP's COTM April 2012":http://blog.obsidianportal.com/a-god-rebuilt-aprils-cotm/
Over 300 Fans, and Looking for More!
Just trying to help out.