xoops forums

Mamba

Moderator
Posted on: 2015/11/3 9:58
Mamba
Mamba (Show more)
Moderator
Posts: 10933
Since: 2004/4/23
#1

Shortcodes for XOOPS 2.6.0

As you might have already read it, XOOPS 2.6.0 will include Shortcodes, originally popularized by WordPress

Shortcodes are opening some very cool opportunities for XOOPS. There are plenty of Shortcodes on WordPress, some of them very cool, so feel free to convert them to XOOPS, and share with us.

Let's see who will be the first to convert some Shortcodes from Wordpress to XOOPS!

Let's build a whole library of Shortcodes! We could also build a module that would enable us to register individual Shortcodes from the library, and attach them to the Editor's toolbar.

With Shortcodes there are definitely tons of opportunities for us to make the life of XOOPS users and developers much easier and much more productive!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 2015/11/4 11:56
Mamba
Mamba (Show more)
Moderator
Posts: 10933
Since: 2004/4/23
#2

Re: Shortcodes for XOOPS 2.6.0

I've added three new Shortcodes to my GitHub repository:

- Cloak: to cloak your email address with HTML characters

- Lorem: a generator of the standard "Lorem" text

- Loremimage: a generator of a random picture

The Shortcodes entered were:

[loremimage]

[
lorem]

[
cloak email="me@email.com"]


And it generated this content:

Resized Image


While the "Lorem" text is pretty much hardcoded, the image is being pulled randomly from http://lorempixel.com

Check out the new Shortcodes, and start submitting your own!

Also, what Shortcodes should XOOPS offer as part of Core?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs