Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

Regarding custom [tags] surrounding [/tag] words.

edited November 2011 in Vanilla 2.0 Help
I'm wondering what the best way to handle this would be. I enjoy the CLEditor plugin that comes with Vanilla, and thought it'd be easy to expand. Looking into it, though, I see that it uses the .mins.js file which I can hardly edit. Maybe I'm not thinking about it clearly, though.

Ultimately what I'd like to do is have something similar to http://forums.mtgsalvation.com where you can surround a word or set of words with [card] and [cards] and it just gives them all a URL that is pointed to the appropriate card on http://magiccards.info.

Even if I continuously struggle with the CLEditor pluggin, what is the best approach for me to leave Cleditor enabled, but just set up a custom [card] [/card] tag that a user would have to manually type (as in not a button on the CLEditor bar).

In addition, I'd also like to have it do a mouseover effect like what is shown:

http://mtgphilly.forumotion.com/t370-mouseover-card-popup
or
http://wordpress.org/extend/plugins/magic-the-gathering-card-tooltips/screenshots/

I understand that what I specifically want it to do isn't really the problem, though. I just want to know the best way to work with custom tags in general, and if using whatever method that is along with CLEditor will cause any problems.

Thanks for any advice!


Best Answer

Answers

Sign In or Register to comment.