How can I disable wall features?

I would like to disable url sharing in wall, but I could not figure it out in admin. I am sure it can be removed manually in the code somewhere. Can someone assist me?

Quote · 11 Jun 2011

Hello if want delete share link from wall block follow these commands:

1. Open the modules/boonex/wall/classes/BxWallModule.php

2. Find and delete this code line:

'wall-ptype-link' => array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsPostObject . '.changePostType(this)', 'class' => 'wall-ptype-ctl', 'icon' => $this->_oTemplate->getIconUrl('post_link.png'), 'title' => _t('_wall_share_link'))

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Jun 2011

Thank you very much. That worked perfectly!

Quote · 12 Jun 2011

You are welcome!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Jun 2011

Hi SashaE,

A similar question do you know how to change the Wall links so that "Posts by {0}" show up by default not "All Posts" on the wall. Until someone figures out how to do away with all the private photo messages displaying I think it would be better to display "Posts By {0}" by default and thank you.

Regards, Coolmoe

Quote · 13 Jun 2011

Please provide me with explanation screen shot. Thank you!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 14 Jun 2011

Hi Sasha, Thanks. I have attached the screenshot. I am aware of how to change the links at the top of the wall within BxWallModule.php, but I can not figure out how to make the actual data that is displaying by default render what I would like. Please see the img.

Regards, Coolmoe

wallimg.jpg · 24.2K · 94 views
Quote · 14 Jun 2011

Ok open the modules/boonex/wall/classes/BxWallModule.php

find these code lines:

 

   'wall-view-all' => array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsViewObject . '.filterPosts(this)', 'title' => _t('_wall_view_all'), 'active' => 1),
            'wall-view-owner' => array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsViewObject . '.filterPosts(this)', 'title' => _t('_wall_view_owner', $aOwner['username'])),
        

and replace with :

   'wall-view-all' => array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsViewObject . '.filterPosts(this)', 'title' => _t('_wall_view_all')),
            'wall-view-owner' => array('href' => 'javascript:void(0)', 'onclick' => 'javascript:' . $this->_sJsViewObject . '.filterPosts(this)', 'title' => _t('_wall_view_owner', $aOwner['username']), 'active' => 1),
        

I just moved the active parameter below of view all links!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 14 Jun 2011

Thanks Sasha I did that first and that actually only changed the links in the top of the block, but thank you all in all. I just found the solution on around line 669. Solution is below:

unction serviceViewBlock($mixed, $iStart = -1, $iPerPage = -1, $sFilter = '', $sType = 'id') {
$aOwner = $this->_oDb->getUser($mixed, $sType);
$this->_iOwnerId = $aOwner['id'];

Changed to:

unction serviceViewBlock($mixed, $iStart = -1, $iPerPage = -1, $sFilter = 'owner', $sType = 'id') {
$aOwner = $this->_oDb->getUser($mixed, $sType);
 $this->_iOwnerId = $aOwner['id'];

I had to add the owner filter the above first line. Now with your explanation and this one by default Owner post are displayed first on wall and all the Private Message posts are not displayed first.

Thanks SashaE...

Quote · 14 Jun 2011

Thanks SashE

I plan on changing it back when I figure out how to not display the all the private "photo, video, etc. posts. For now it will work as I need it. :)

Quote · 14 Jun 2011

Ok good, you're welcome!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 15 Jun 2011
 
 
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.