Hacking Your Posts

Be sure to read and follow the guidelines for our forums.

Sep 2, 2021 2:17 am
Some time ago, before I had my long absence, when I was running my Birthright game, I came up with a few hacks that styled the forums in fun ways. I recall having posted about that before and others had offered up some additional cool hacks - Does anyone remember that chat? I can't find it.

Anyways, here are the few I still have notes for:
(Note that I have added extra spaces in the tags displayed in the quotes below so that they display. If you quote this post you can view the actual, functional hack.)

MINIMAP
A small toolbar near the top of the page. Helpful to put combat maps or other useful tidbits that players may wish to reference often while reading.
Minimap_Hack says:

[ color=";position:fixed;display:block;margin:auto;width:495px;top:64px;right:0;z-index:5999;"][ spoiler="Tesst"]This spoiler is fixed to the top of the page
[ img]https://i.imgur.com/hFGWmtp.gif[ /img][ /spoiler][ /color]
[ +- ] Map




BACKGROUND
Post a full page background / watermark behind the conversation.
Background_Hack says:
[ color=";background-image:url('https://i.imgur.com/YzXPlh9.jpg');background-repeat:no-repeat;background-cover;position:fixed;display:block;margin:auto;width:100vw;height:100vh;background-position:50% 70%;top:0;right:0;bottom:0;left:0;opacity: 0.1;pointer-events:none"] [ /color]
 

Edit: updated to remove the #000 on the color tags. Thanks!
Last edited September 2, 2021 5:21 pm
Sep 2, 2021 3:33 am
The second one, the background, is now a built in feature. A new section of the Game Details page, Advanced Rules Definition, allows that to be specified by code:

{"background":{"image":"fullurltoimagegoeshere"}}
Sep 2, 2021 8:33 am
Great stuff!
Sep 2, 2021 8:41 am
Love the minimap-hack, but it looks weird when the page is in darkmode (also a new option)
I'm curious if the minimap is available on page 2 when the code is on page 1
Last edited September 2, 2021 8:43 am
Sep 2, 2021 2:43 pm
Only the page it is on
Sep 2, 2021 2:49 pm
You can leave the #000 out of the color code to help it work better with the dark theme.
Instead of [ color="#000;position...] you can say [ color=";position...] and it will use the default color from the theme. You still need the semi-colon (;) to perform the injection.
Sep 2, 2021 4:49 pm
Funny thing, the mini map still shows despite the spaces.
https://i.imgur.com/u6UxTTB.jpg
Sep 2, 2021 5:19 pm
There is a second copy on the initial post without the spaces.
Sep 6, 2021 5:47 am
How do you do simple text alignment? If I want to align text to the right or center?
Sep 6, 2021 5:57 am
nezzeraj says:
How do you do simple text alignment? If I want to align text to the right or center?
See here
Sep 6, 2021 6:06 am
Adam says:
nezzeraj says:
How do you do simple text alignment? If I want to align text to the right or center?
See here
Thanks exactly what I was looking for!

You do not have permission to post in this thread.