remove Main Video info

hi

I do not know how edit the file: inc/classes/ BxDolFilesTemplate.php to remove : Title, Album, Description, Category and Tags frome the Main Video info.

 

I saw here an explanation how to do it but I do not understand PHP code... any help?

Quote · 6 Dec 2010

Why do you want to edit the script ?

Why not just to inactivate this block from your Admin Panel -> Builders -> Page Blocks -> View Video page and move the "Main Video Info" item to the Inactive Blocks area.

Simple, isn't it ? :-))

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 6 Dec 2010

 

Why do you want to edit the script ?

Why not just to inactivate this block from your Admin Panel -> Builders -> Page Blocks -> View Video page and move the "Main Video Info" item to the Inactive Blocks area.

Simple, isn't it ? :-))

 

hi

i do not want to remove all i want live only the URL and Embed...


Quote · 6 Dec 2010

http://www.boonex.com/unity/forums/?action=goto&search=1#topic/remove-disable-the-url-and-embed-link.htm

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 6 Dec 2010

 

http://www.boonex.com/unity/forums/?action=goto&search=1#topic/remove-disable-the-url-and-embed-link.htm

 

sorry but it not want i want.... i see it befor.

what i want is to edit the file: inc/classes/ BxDolFilesTemplate.php to remove : Title, Album, Description, Category and Tags  only! frome the Main Video info.

Quote · 6 Dec 2010

any help here?

Quote · 7 Dec 2010

if you edit this inc/classes/ BxDolFilesTemplate.php, this will also effect photos and sounds.

open BxDolFilesTemplate.php

fine this code

function getBasicFileInfoForm (&$aInfo, $sUrlPref = '') {
$aForm = array(
'title' => array(
'type' => 'value',
'value' => $aInfo['medTitle'],
'caption' => _t('_Title'),
),
'album' => array(
'type' => 'value',
'value' => '<a href = "' . $sUrlPref . 'browse/album/' . $aInfo['albumUri'] . '/owner/' . $aInfo['NickName'] . '">' . $aInfo['albumCaption'] . '</a>',
'caption' => _t('_sys_album'),
),
'desc' => array(
'type' => 'value',
'value' => process_text_withlinks_output($aInfo['medDesc']),
'caption' => _t('_Description'),
),
'category' => array(
'type' => 'value',
'value' => getLinkSet($aInfo['Categories'], $sUrlPref . 'browse/category/', CATEGORIES_DIVIDER),
'caption' => _t('_Category'),
),
'tags' => array(
'type' => 'value',
'value' => getLinkSet($aInfo['medTags'], $sUrlPref . 'browse/tag/'),
'caption' => _t('_Tags'),
),
'url' => array(
'type' => 'text',
'value' => $sUrlPref . 'view/' . $aInfo['medUri'],
'attrs' => array(
'onclick' => 'this.focus(); this.select();',
'readonly' => 'readonly',
),
'caption'=> _t('_URL')
),
);
return $aForm;
}

change to

function getBasicFileInfoForm (&$aInfo, $sUrlPref = '') {
$aForm = array(

'url' => array(
'type' => 'text',
'value' => $sUrlPref . 'view/' . $aInfo['medUri'],
'attrs' => array(
'onclick' => 'this.focus(); this.select();',
'readonly' => 'readonly',
),
'caption'=> _t('_URL')
),
);
return $aForm;
}

=> http://friends.smansakra.sch.id => friends community based dolphin 7
Quote · 8 Dec 2010
 
 
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.