Fork me on GitHub

Howdy, Stranger!

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

Support for Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

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

Current releases are 2.1.5 (31 Oct 2014) and 2.0.18.13 (5 Aug 2014)

Ready for 2.1? Find out if your plugins are compatible. 2.0 will no longer be updated after Dec 2014.

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

Sign In or Register to comment.