Image

How mandating the addition of image in post

Capture2w.gif · 34.1K · 209 views
Quote · 26 Mar 2013

Try this:

 

(Remember to backup the file before editing)

 

Edit /modules/boonex/blogs/classes/BxBlogsModule.php and look for (around line 1878):

 

                'File' => array(
                    'type' => 'file',
                    'name' => 'BlogPic[]',
                    'caption' => $sAssociatedImageC,
                ),

 

Change to

 

                'File' => array(
                    'type' => 'file',
                    'name' => 'BlogPic[]',
                    'caption' => $sAssociatedImageC,
                    'required' => true,
                ),

 

And save.  Remember to clear Dolphin's cache.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 26 Mar 2013

Thank You , Nathan

Quote · 27 Mar 2013

thank you for help, I wrote the code, but with no picture, post always goes

Capture12.gif · 377.6K · 206 views
Capture14.gif · 542.3K · 202 views
Quote · 27 Mar 2013

 

thank you for help, I wrote the code, but with no picture, post always goes

Looks like something else is needed for the error notice.  I'll take another look.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 27 Mar 2013

 

 

thank you for help, I wrote the code, but with no picture, post always goes

Looks like something else is needed for the error notice.  I'll take another look.

 agree, I'm listening,

Quote · 30 Mar 2013
 
 
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.