Jump to content

Custom BBCode


Recommended Posts

In my older forum I had added some custom BBCode to the BBCode parser as well as a custom icon to the editor.

Now, even if I turn on BBCode parsing, there does not seem to be any option to add custom BBCode anywhere. So probably I would need to edit some files. Where would I find this?

Link to comment
Share on other sites

Oh it's really old, don't know what my replacer-code was. It used the old 10-digit ISBN numbers of books and would then replace my custom BBcode ISBN - e.g. [ISBN=3956691416] - with an iframe widget available viathe Amazon Associates program, so that it would display a small product preview including my affiliate code. Maybe the Books plugin can do something similar in the future, looking into that, but the challenge remains to get rid of the old [ISBN=??????????] and replace it with something meaningful. I did a search and found out it was used about 800 times, so manual is no option. And SQL is not something I'd dare to touch nowadays, last time I did something resembling that was using Lotus 1-2-3 on 80286 machine ... 🤐

Link to comment
Share on other sites

So the content is currently stored as "[ISBN=3956691416]"?

7 minutes ago, AndreasW2000 said:

replace it with something meaningful

What do you want it replaced with? If you don't know what it is then figure out what you might want to replace it with and then come back here and provide the code. If I am able to, I'll see if I can dig up my query from my own efforts.

Edited by Nathan Explosion
Link to comment
Share on other sites

Yes, it's stored as [ISBN=??????????] - meaning always some 10-digit number as parameter in the brackets.

I mean, sure, it's not super ugly, but also pointless and makes the main information of that posting missing, which was the product preview.

Thanks for the offer, that would be awseome! I shall come back. Once I have looked at the Books plugin if that's useful for me and if maybe it's possible to replace the old code with something that make it useful for the plugin even.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...