HTML in profile and comments mod for 61.4

Do you know where I can get HTML in profile and comments mod for 61.4

Quote · 25 Dec 2008

I don't know if this works or for what versions.  Just something I found.  But ALWAYS backup your files b4 installing new mods.  But u can find a lot of mods on expertzz.com

 

[HTML in Comments]

1: Download and Backup the File BxBaseProfileView.php from the Folder "templates/base/scripts/"


2: Open BxBaseProfileView.php

Serach (around line 788~790):

    <div class="comment_text">
     <?= process_smiles( $aComment['Text'])  ?>
    </div>


Replace with:
    <div class="comment_text">
     <?= process_smiles (process_html_output( $aComment['Text'],255))  ?>
    </div>

 


German Dolphin Support on:
http://dolph-in-forum.de

 

Quote · 6 Jan 2009

I don't know if this works or for what versions.  Just something I found.  But ALWAYS backup your files b4 installing new mods.  But u can find a lot of mods on expertzz.com

[HTML in Comments]

1: Download and Backup the File BxBaseProfileView.php from the Folder "templates/base/scripts/"


2: Open BxBaseProfileView.php

Serach (around line 788~790):

<div class="comment_text">
<?= process_smiles( $aComment['Text'])  ?>
</div>


Replace with:
<div class="comment_text">
<?= process_smiles (process_html_output( $aComment['Text'],255))  ?>
</div>


German Dolphin Support on:
http://dolph-in-forum.de

These lines are not in that script! 
Think its for a older version. not 6.xxx

Kids first
Quote · 6 Jan 2009

All you have to do in 6.1 is turn tags on in the comment areas

Backup you files!!!

open \inc\classes\bxdolcmts.php

look for allow_tags in the following code. it is in a couple places so you can enable it where you wish.  This doesnt give you a nice wysiwyg editor but it does allow the posting of "myspace" type image comments, youtube videos and such.

'profile' => array (
'system_id' => 1,                            // this system id
'table_cmts' => 'CmtsProfile',                // table with comments
'table_track' => 'CmtsTrack',                // table to track duplicate ratings
'allow_tags' => 1, // allow tags in comments or not
'nl2br' => 1,                                // convert all new line caracters to <br /> tags
'sec_to_edit' => 90,                        // number of seconds to allow edit comment after submit, 0 - do not allow edit
'per_view' => 5,                            // comments per view, like paginate
'is_ratable' => 1,                            // allow rate comments or not
'viewing_threshold' => -3,                    // below this value comment is hidden by default
'animation_effect' => 'slide',                // animation effect : slide, fade or default
'animation_speed' => '2000',                // speed of animation effect in ms (1000 == 1 second)
'is_on' => 1                                // is voting enabled or not
),

'sharedPhoto' => array (
'system_id' => 2,                            // this system id
'table_cmts' => 'CmtsSharedPhoto',            // table with comments
'table_track' => 'CmtsTrack',                // table to track duplicate ratings
'allow_tags' => 1, // allow tags in comments or not
'nl2br' => 1,                                // convert all new line caracters to <br /> tags
'sec_to_edit' => 90,                        // number of seconds to allow edit comment after submit, 0 - do not allow edit
'per_view' => 5,                            // comments per view, like paginate
'is_ratable' => 1,                            // allow rate comments or not
'viewing_threshold' => -3,                    // below this value comment is hidden by default
'animation_effect' => 'slide',                // animation effect : slide, fade or default
'animation_speed' => '2000',                // speed of animation effect in ms (1000 == 1 second)
'is_on' => 1                                // is voting enabled or not
),

'sharedMusic' => array (
'system_id' => 3,                            // this system id
'table_cmts' => 'CmtsSharedMusic',            // table with comments
'table_track' => 'CmtsTrack',                // table to track duplicate ratings
'allow_tags' => 1, // allow tags in comments or not
'nl2br' => 1,                                // convert all new line caracters to <br /> tags
'sec_to_edit' => 90,                        // number of seconds to allow edit comment after submit, 0 - do not allow edit
'per_view' => 5,                            // comments per view, like paginate
'is_ratable' => 1,                            // allow rate comments or not
'viewing_threshold' => -3,                    // below this value comment is hidden by default
'animation_effect' => 'slide',                // animation effect : slide, fade or default
'animation_speed' => '2000',                // speed of animation effect in ms (1000 == 1 second)
'is_on' => 1                                // is voting enabled or not
),

'sharedVideo' => array (
'system_id' => 4,                            // this system id
'table_cmts' => 'CmtsSharedVideo',            // table with comments
'table_track' => 'CmtsTrack',                // table to track duplicate ratings
'allow_tags' => 1, // allow tags in comments or not
'nl2br' => 1,                                // convert all new line caracters to <br /> tags
'sec_to_edit' => 90,                        // number of seconds to allow edit comment after submit, 0 - do not allow edit
'per_view' => 5,                            // comments per view, like paginate
'is_ratable' => 1,                            // allow rate comments or not
'viewing_threshold' => -3,                    // below this value comment is hidden by default
'animation_effect' => 'slide',                // animation effect : slide, fade or default
'animation_speed' => '2000',                // speed of animation effect in ms (1000 == 1 second)
'is_on' => 1                                // is voting enabled or not
),

'classifieds' => array (
'system_id' => 5,                            // this system id
'table_cmts' => 'CmtsClassifieds',            // table with comments
'table_track' => 'CmtsTrack',                // table to track duplicate ratings
'allow_tags' => 1, // allow tags in comments or not
'nl2br' => 1,                                // convert all new line caracters to <br /> tags
'sec_to_edit' => 90,                        // number of seconds to allow edit comment after submit, 0 - do not allow edit
'per_view' => 5,                            // comments per view, like paginate
'is_ratable' => 1,                            // allow rate comments or not
'viewing_threshold' => -3,                    // below this value comment is hidden by default
'animation_effect' => 'slide',                // animation effect : slide, fade or default
'animation_speed' => '2000',                // speed of animation effect in ms (1000 == 1 second)
'is_on' => 1                                // is voting enabled or not
),

'blogposts' => array (
'system_id' => 6,                            // this system id
'table_cmts' => 'CmtsBlogPosts',            // table with comments
'table_track' => 'CmtsTrack',                // table to track duplicate ratings
'allow_tags' => 1, // allow tags in comments or not
'nl2br' => 1,                                // convert all new line caracters to <br /> tags
'sec_to_edit' => 90,                        // number of seconds to allow edit comment after submit, 0 - do not allow edit
'per_view' => 5,                            // comments per view, like paginate
'is_ratable' => 1,                            // allow rate comments or not
'viewing_threshold' => -3,                    // below this value comment is hidden by default
'animation_effect' => 'slide',                // animation effect : slide, fade or default
'animation_speed' => '2000',                // speed of animation effect in ms (1000 == 1 second)
'is_on' => 1                                // is voting enabled or not
),
);

Quote · 29 Jan 2009
 
 
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.