Splash edit

V7.4.2

Having real problems editing front page splash through basic settings.

Initial edit works fine and looks good, all centered nicely, pretty box etc, but on saving it all goes sideways and I'm left with this:

 

 

\\r\\n\r\n

\\r\\n\r\n
\\r\\n\r\n
\\r\\n\r\n

Welcome to

\r\n\\r\\n\r\n

Shop Indie Book Store .com

\r\n\\r\\n\r\n

A brand new platform; showcasing work from the best indie authors in the world.

\r\n\\r\\n
\r\n\\r\\n\r\n
JoinLogin
\r\n\\r\\n
\r\n\\r\\n

\r\n\\r\\n


Any help to resolve this problem would be greatly appreciated

tia

ed

It ain't easy being this stupid all of the time
Quote · 29 Jul 2022

There are three minor bugs in 7.4.2.  If you search the forum here you will find the solution.  Boonex has ignored repeated calls to fix the bugs and release one last final Dolphin release.

Geeks, making the world a better place
Quote · 30 Jul 2022

Thanks gg

Only three minor bugs!!

I've come up with quite a few so far and I've only been working on this particular site for a couple of days.

 

I'll hunt through the forum now and see what I can find. If I have no luck there I'll contact Boonex support.

ED

It ain't easy being this stupid all of the time
Quote · 30 Jul 2022

Here is a list of three; repeated calls for Boonex to fix these are ignored, I mean totally ignored and there was a promise to support Dolphin.

https://www.boonex.com/forums/topic/List-Dolphin-7-4-2-bugs.htm

Geeks, making the world a better place
Quote · 30 Jul 2022

Here is the splash code fix that Deano submitted and that Boonex has not implemented.

 

 

Boonex is going to have to go though dolphin and evaluate there use of their process_db_input function.

Things have changed since they switched from php mysql database functions to PDO database functions. They are using the PDO prepare function when writing to the database. This should prevent the need to escape special characters as it was done before. In this case the escaping of the splash code is not needed.

So do this.

Edit the file administration\basic_settings.php

Look for this at about line 41

setParam('splash_code',  process_db_input($_POST['code'], CH_TAGS_VALIDATE));

Change it to this

setParam('splash_code',  clear_xss($_POST['code']));

That should fix it.

Geeks, making the world a better place
Quote · 30 Jul 2022

many thanks gg, will give it a try now :)

It ain't easy being this stupid all of the time
Quote · 2 Aug 2022

gg, you are my hero, many thanks for sharing the solution Laughing

 

Ed

It ain't easy being this stupid all of the time
Quote · 3 Aug 2022
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.