gallery view

if members opeb a photo in the gallery then they se the following option/information

embed and tags, how can i delet this. in wich html or php file i have to delet this?

and can i make the optin " next pic" that show me the next pic of user in that gallery i look this gallery pic´s?

see screenshot:

Quote · 10 May 2009

no ideas?

Quote · 10 May 2009

anybody knows in wich file i can delet this views?

Quote · 17 May 2009

Well i found something that will remove both url and embed in the video's so perhaps it can be applied to the gallery too, if fact i think it does do the gallery at the same time. also in the file is the code for the tags..

.

Save the original file before you mess with it though just in case you need to restore it..

The file to edit is:


/inc/classes/BxDolSharedMedia.php

First backup the file before making any changes to the file.

Then find:

<div id="serviceInfo">
<div>
<?=_t("_Added")?>: <b><?=defineTimeInterval($aFile['medDate'])?></b>
</div>
<div>
<?=$sNumberAlt?>: <?=$aFile['medViews']?>
</div>
<div>
<?=_t("_URL")?>:
<input type="text" onClick="this.focus(); this.select();" readonly="true" value="<?=$this->getFileUrl($aFile['medID'], $aFile['medUri'])?>"/>
</div>
<div>
<?=_t("_Embed")?>:
<input type="text" onClick="this.focus(); this.select();" readonly="true" value="<?=htmlspecialchars($sEmbedCode)?>"/>
</div>
<div>
<?=_t("_Tags")?>:
<?=$this->getTagLinks($aFile['medTags'])?>
</div>
<div>
<?=_t("_DescriptionMedia")?>:
<?=$aFile['medDesc']?>
</div>
</div>


And remove the references to url and embed including the </div> or you will get an error.

Remove this:
<div>
<?=_t("_URL")?>:
<input type="text" onClick="this.focus(); this.select();" readonly="true" value="<?=$this->getFileUrl($aFile['medID'], $aFile['medUri'])?>"/>
</div>
<div>
<?=_t("_Embed")?>:
<input type="text" onClick="this.focus(); this.select();" readonly="true" value="<?=htmlspecialchars($sEmbedCode)?>"/>
</div>


So it would look like:

<div id="serviceInfo">
<div>
<?=_t("_Added")?>: <b><?=defineTimeInterval($aFile['medDate'])?></b>
</div>
<div>
<?=$sNumberAlt?>: <?=$aFile['medViews']?>
</div>

<div>
<?=_t("_Tags")?>:
<?=$this->getTagLinks($aFile['medTags'])?>
</div>
<div>
<?=_t("_DescriptionMedia")?>:
<?=$aFile['medDesc']?>
</div>
</div>


Save the changes and upload over writing the original.

Visit a video page and refresh page if necessary to see the changes.

Quote · 17 May 2009

hi tyke,

yes that´s right. it´s working fine.

thx

jack

Quote · 17 May 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.