Allegro.cc - Online Community

Allegro.cc Forums » Allegro.cc Comments » Quick Tag Buttons

This thread is locked; no one can reply to it. rss feed Print
Quick Tag Buttons
RPGillespie
Member #12,946
June 2011

One feature of other forums that I like are quick tag buttons. You know, you click the "quote" button, and "[quote][/quote]" will automatically fill in where your cursor is, and then it will sutomatically re-adjust your cursor so that it is in between the tags. Same goes for code tags and picture tags. It just saves a little time, that's all.

{"name":"quicktagbuttons.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/9\/99d64f18bf0777eaeee7e25da65ee864.png","w":644,"h":217,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/9\/99d64f18bf0777eaeee7e25da65ee864"}quicktagbuttons.png

My Games:
Nexus (a 2D Portal Clone) - http://www.yoyogames.com/games/155296
Mastermind (Codebreaker Puzzle Game) - http://www.allegro.cc/files/attachment/604323

Matthew Leverton
Supreme Loser
January 1999
avatar

Is it really hard to type:

> One feature of other forums that I like

to get

One feature of other forums that I like

? It's a single character (plus a space).

weapon_S
Member #7,859
October 2006
avatar

RPGillespie
Member #12,946
June 2011

Hmm, well I was totally unaware of that feature. Thanks for pointing that out!

My Games:
Nexus (a 2D Portal Clone) - http://www.yoyogames.com/games/155296
Mastermind (Codebreaker Puzzle Game) - http://www.allegro.cc/files/attachment/604323

Arthur Kalliokoski
Second in Command
February 2005
avatar

"View Source" is a wonderful tool. Especially if you can select a small portion of the page and view source to that bit only.

They all watch too much MSNBC... they get ideas.

bamccaig
Member #7,536
July 2006
avatar

In the past the argument has basically been made that rich toolbars like that aren't implemented on A.cc because it makes it too easy for n00bs to abuse features. :) If a member of a game programming discussion board isn't competent enough to type out the simple codes to achieve markup then they probably don't need the feature. :) I actually much prefer typing the code out anyway. Using a GUI interface to markup text is dreadfully slow by comparison. If there were keyboard shortcuts to do it that might be different, but who wants to learn those for each individual site they use? It's much easier to just type a common wiki or [more often, for 99% reliability] XHTML dialect.

You can implement custom JavaScript to create your own shortcuts. After years of doing things the long/hard way I finally did this. Primarily I use it for quoting, since that's the only tedious part, and only because you have to go back and forth on the page[1] to copy/paste the name, URI, and contents of the post you're quoting. Typing code tags is easy. Far easier than moving your hand to the mouse to click a graphical icon. :)

References

  1. I haven't solved cross-page quoting yet, albeit a solution should be relatively simple.
Matthew Leverton
Supreme Loser
January 1999
avatar

bamccaig said:

to copy/paste the name, URI, and contents of the post you're quoting

No, you don't have to. There will, with almost 100% certainty, never be a false positive with the auto quoting if you aren't purposely trying to be confusing.

Pull up your pants and stop being so silly about it.

LennyLen
Member #5,313
December 2004
avatar

bamccaig said:

Using a GUI interface to markup text is dreadfully slow by comparison.

I 99% agree, except for the case of hyperlinks. I often forget the closing quotation mark around the URL, and so spend extra time checking that I did it right.

Matthew Leverton
Supreme Loser
January 1999
avatar

Michał Cichoń
Member #11,736
March 2010

Matthew, can you update formating help with information about references (I do not know how to create them) and code line highlighting?

"God starts from scratch too"
Windows Allegro Build Repo: http://targonski.nazwa.pl/thedmd/allegro/

LennyLen
Member #5,313
December 2004
avatar

Matthew, can you update formating help with information about references (I do not know how to create them) and code line highlighting?

<ref>blah</ref> converts to:

[1]

For code highlighting:

<code>1
2 ***
3</code>

1
2
3

References

  1. blah

Michał Cichoń
Member #11,736
March 2010

Thanks!

"God starts from scratch too"
Windows Allegro Build Repo: http://targonski.nazwa.pl/thedmd/allegro/

Go to: