Photobucket BBCode

Get help developing custom BBCodes or request one.
Post Reply
club-carbon
Registered User
Posts: 1
Joined: Sun Aug 06, 2017 8:34 am

Photobucket BBCode

Post by club-carbon » Sun Aug 06, 2017 9:33 am

With Photobucket changing their policy on linking pictures I have written a BBCode which needs some fine tuning.

BBCode usage

Code: Select all

BBCode usage
[Photobucket]{TEXT}[/Photobucket]

HTML replacement
[url={TEXT}.html][img]{TEXT}~original[/img][/url]
This alters the link from this,

Code: Select all

http://i1119.photobucket.com/albums/k639/Cardy_George/Bikes/IMAG0633_zpscshyhnzz.jpg
to this,

Code: Select all

[url=http://i1119.photobucket.com/albums/k639/Cardy_George/Bikes/IMAG0633_zpscshyhnzz.jpg.html][img]http://i1119.photobucket.com/albums/k639/Cardy_George/Bikes/IMAG0633_zpscshyhnzz.jpg~original[/img][/url]
If I post this into the quick reply box it works.

Code: Select all

[Photobucket]http://i1119.photobucket.com/albums/k639/Cardy_George/Bikes/IMAG0633_zpscshyhnzz.jpg[/Photobucket]
But if I paste the link in and the run the code to change the link it will change the link but does not display the picture.

I have tried {SIMPLETEXT} {INTTEXT} {IDENTIFIER} {URL} without success.

Any ideas?

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: No registered users and 5 guests

cron