miniBB Support Forums | 15 years on The Web
miniBB ®


 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Post Editing Issue with Upliaded iamge

Author Steve Shaw
#1 | Posted: 12 Sep 2017 14:15 
We are having an issue with editing pictures uploaded via the 'Upload a File' option.
When the picture is added via a URL link all is ok.
(And the smilies are ok too...)
This seems to have started after we went to https:// Secure hosting.

Do you have any ideas?

The original was:

But after editing changes to:

[urlc=] <img src="" alt="Piccy" title="Piccy" />[/url]

Hope you can help!


Author kuopassa
#2 | Posted: 12 Sep 2017 14:20 
I'm somewhat sure the problem is in bb_codes.php. That's the file where those BBCode tags are defined. The code that handles BBCode to HTML and vise versa needs some fix... And at this point I leave the stage for Paul. :-)

Author Paul
Lead Developer
#3 | Posted: 13 Sep 2017 10:58 
I suppose you need to check [img] tag in the decodeBB function and make sure it's pattern supports https. This pattern should start with something similar [url] code starts from.

Specific miniBB Support Forums / Specific /
 Post Editing Issue with Upliaded iamge
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.