Mahz is the Admin. He's the man with the plan and the Guild's head honcho.
Avatar of Mahz

Status

Recent Statuses

1 yr ago
Ok, I made a major change to the database (but I'm not done). Please hop on discord if you find errors doing something!
18 likes
1 yr ago
I'm making some upgrades to the guild database. Sorry for any errors!
21 likes
3 yrs ago
I'm working on experimental server changes. Email mahz@roleplayerguild.com if you're having problems.
16 likes
7 yrs ago
Getting some more work done on the Guild today and tomorrow.
25 likes
8 yrs ago
Investigating the catastrophic performance issues.
1 like

Bio

Some favorite links I find while scrolling around.

BBCode

- @Roach: Advanced BBCode Hacks (Part 2, Part 1)
- @Exit: C O N C E P T S   ᵇʸ ᴱˣᴵᵗ – Amazing experiments in BBCode design.
Articles

- @BangoSkank: RPing Ain't Always Easy : A Collaborative Guide to the Stuff that Makes This Hobby Less Fun Sometimes And How to Make It More Betterer
Bios I love

- @Roach
- @Exit

Most Recent Posts

In Mahz's Dev Journal 11 yrs ago Forum: News
Mahz, may I ask why you decided to remove BBCode tabs? Was there some pesky bug that you didn't want to make the entire BBCode system wait for, or something? I was looking forward to using them, but if they were causing a problem somehow then that's fine. Good work, I'll try to track down my error (again) later today, once I have some spare time. EDIT: Also, when you highlight text, add a BBCode tag to it (was pleasantly surprised that it automatically wrapped the tags around the selection) and then Ctrl+Z, it highlights the entire post. Completely random and not really worth worrying about, but thought I might as well note it. EDIT 2: When you preview your post, you lose the ability to undo/redo - the editor seems to forget all previous actions. Again, not very important, but noteworthy.
TheMaster99
- The tabs had some basic issues that aren't hard to solve, but I just wanted to reduce the surface area of the first release. - I actually started playing with my editor buttons to see if I could support native browser Undo/Redo, but the naive implementation had browser inconsistency issues. Not an impossible feat, but more effort than I'm willing to stop the world for. - Can't reproduce the Preview mode messing with native undo. The BBCode editor buttons themselves mess with undo because they don't trigger "InsertText" events. So interleaving manual writing with BBCode buttons will hose the undo system.
In Mahz's Dev Journal 11 yrs ago Forum: News
Yeah, I was just trying to arrange them into a sensible palette. Like this: Anyways, I'm moving on to notifications. Update: Made the color-picker appear above the editor instead of to the right of the button.
In Mahz's Dev Journal 11 yrs ago Forum: News
Here's my attempt to put together a color palette using only colors that have names in the html/css spec: http://jsfiddle.net/danneu/284p9qp9/1/ Unfortunately the color names are kinda unwieldy: I like the simplicity of just using hex values and named colors as they appear in html/css. But another idea is to allow hex values but come up with my own color names: red1, red2, red3, orange1, orange2, orange3, aqua1, aqua2, aqua3. You'd be able to make sense of the colors. And I could map them to hex values instead of approximating a palette with named colors (slim pickings). A third option is to stop obsessing over colors as a form of procrastination.
In Mahz's Dev Journal 11 yrs ago Forum: News
it eats them when the space is like this: Texthere Texthere and not like this: Text here Just look at the raw code.
Ellri
I see that the problem is that I modified the parser to trim all prefix/suffix whitespace from the contents of tags. (Source) It turns out that trimming whitespace makes sense 99% of the time. When someone writes this:
[quote]

hello

[/quote]
They generally mean this:
[quote]hello[/quote]
Rather than this:
[quote]<br>
<br>
hello<br>
<br>
[/quote]
After writing this out, I think the solution is to trim prefix/suffix line-breaks as usual, but rather than trimming prefix/suffix spaces, just collapse them into one space if they exist. Maybe that will work. I'll let you know when I deploy a fix.
I like that the Color Picker stays up so I can highlight and re-color another piece of text. Any thoughts about adjusting the hover so it doesn't obscure the text box (how about making it hover above the editor)? Error checker is subtle and nice. I didn't notice it until I tried to purposely screw up a tag.
Quoting the right way.
Can I quote Mahz?
Mahz
What about a quote with a link? Will it auto-link the text?
http://www.roleplayerguild.com/posts/2345802
Apparently not. I wonder if it'd be possible to add a linking function to quote, such as [quote name=Mahz link=2345802] to link directly to the post in question. Quotes are easy to modify on your own (especially if quoting across topics) and sometimes the original context is useful.
Captain Jordan
- I used to have the color-picker on top but ran into a few minor issues. I'll put it back on top and just tackle the issues now that I have time to deal with them. Don't remember what the issues were. - I'm going to modify the color-picker to drop in the color's name instead of the color's hex value. It's nicer to see color=Goldenrod and color=Tan instead of color=daa520 and color=d2b48c. Especially since we don't have a WYSIWYG editor. People will even have a shot at memorizing colors that they like to use. - The error system is weak and is barely out of proof-of-concept phase, but I think I see a route to hacking in some line+column numbers which would set the stage for error highlighting (like underlining the problem). I have a proof of concept working by just counting newlines in a post-process step. But man, this bbcode parser file is getting nasty. - I do want to extend quotes to include more optional metadata like [quote=Captain Jordan post=391823]...[/quote]. In that case, as you'd expect, it'd link to the origin post. I'll have a better sense of priorities once Sunday picks up and I see what people are struggling with. Maybe I can put a dent in the notification system today.
In Mahz's Dev Journal 11 yrs ago Forum: News
Think I fixed the smilies-not-wrapping issue in Firefox. At least, it now wraps in my Firefox. I'll check out the space-eating [color] tags. And yeah, I need to remove the color-picker when Save or Cancel are clicked. Thanks.
In Mahz's Dev Journal 11 yrs ago Forum: News
I'm using Firefox, Version 35
NuttsnBolts
Oh my, I'll fix it right now. Thanks for the screenshot.
Noticed one missing code from guild v2. using [img=http://student.umb.no/~henrgj/Relics/Angie] won't work now. oh, and if there's a broken BBcode inside another, it won't parse right.
Ellri
Yeah, [img=...] is strictly wrong now. Must be changed to [img]...[/img]. you can wrap BBCode in [noparse]...[/noparse] to tell the parser to skip over it. Bad BBCode is pretty infectious. If someone writes bad BBCode, it even breaks the [quote] if you try to quote them. I've only implemented an error system for the [color=...] tag so far, but I'll start implementing validation errors for other tags as well. Hopefully it will help people catch basic BBCode errors until I can hack on the parser some more.
In Mahz's Dev Journal 11 yrs ago Forum: News
Smilies may need looking in the cheat sheet. They widen the window heaps! Lol
NuttsnBolts
Can you give me a screenshot or anything? Smilies on the cheatsheet collapse as I narrow the window: What are you seeing?
In Mahz's Dev Journal 11 yrs ago Forum: News
Launched the experimental BBCode system. - All new posts/PMs are rendered with BBCode. - You can now edit old QQCode posts. - Any posts you made since the relaunch a few weeks ago are rendered with Markdown until you edit them. - Any time you edit a QQCode or Markdown post and click save, the forum assumes you converted it to BBCode. In other words, if you edit a post made before this server update, you also have to convert it to BBCode. Here are the main conversions you may have to do:
Markdown                                   BBCode
![](http://example.com/flower.png) ->      [img]http://example.com/flower.png[/img]
[Click me](http://example.com)     ->      [url=Click me]http://example.com[/url]
<http://example.com>               ->      [url]http://example.com[/url]

QQCode                                     BBCode
[img=http://example.com/flower.png] ->     [img]http://example.com/flower.png[/img]
[url=http://example.com/flower.png] ->     [url]http://example.com/flower.png[/url]
If you need help, just let me know.
In Mahz's Dev Journal 11 yrs ago Forum: News
> Okay so I tried resetting my phone and cache and nothing, also if I go to a part of the page, say messages, and it'll tell me I'm not logged in, whatever I had tried to go to wont load, it'll say "Not Found" for a good few minutes Dang. I have a few shots in the dark I can take to see if they help you tomorrow.
In Mahz's Dev Journal 11 yrs ago Forum: News
> Hi. I don't know if this has been mentioned before, but everytime I try to send a PM to more then one person, I get "Internal Error" and this continues to happen until I close my browser down and restart it for any Guild Page after this occurs. Wow, thanks. I'll hunt this down right now. Edit: Found a bug that I'll fix right now. In the meantime, make sure that you're separating usernames by commas, not semicolons. Edit2: Fixed the code but it won't be fixed on the server til a few hours from now. You just helped me uncover a massive bug. :)
© 2007-2026
BBCode Cheatsheet