Turn off activity for Wall mod. Only show Post to Wall content?

Hi,

Does anyone know how to edit Boonex Wall mod so that it only shows what the users post to wall, not their activity like upload avatar, photo, etc?

Thanks,

Quote · 11 Jan 2012

I am looking for the same result, any1 knows?

Quote · 11 Apr 2012

You should ask AntonLV about this.

He helped me with the member profile views that i wanted to clear from wall becoz they ended up as clear items on my timeline.

most of the view, add, delete etc.. goes thru spy...

 

Quote · 11 Apr 2012

basically in each of the modules that show activity on the wall, search for the word 'alert' and you can comment the 2 lines out.

for instance in modules/boonex/files/BxFilesUpload.php

 

look for 

               require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');
                $oZ = new BxDolAlerts('bx_files', 'add', $iFileID, $iAuthorId, $this->_getExtraParams($_POST));
                $oZ->alert();

 

and comment those lines out, it will NEVER put a wall post about uploading files

 

http://www.mytikibar.com
Quote · 12 Apr 2012

 Hello

basically in each of the modules that show activity on the wall, search for the word 'alert' and you can comment the 2 lines out.

for instance in modules/boonex/files/BxFilesUpload.php

 

look for 

               require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');
                $oZ = new BxDolAlerts('bx_files', 'add', $iFileID, $iAuthorId, $this->_getExtraParams($_POST));
                $oZ->alert();

 

and comment those lines out, it will NEVER put a wall post about uploading files

 

If you comment out these lines the alerts won't be fired at all. But they are used with some system features and the other modules like Spy, etc. If you comment them out the Wall won't track the requested activity, but all other features won't work correctly too, because you'll breake the communication between modules. So, I don't recommend you to do this. 

If you want that only Wall stops to track and display notifications about the activity you need to do the following.

1. Go to Dolphin's DB -> sys_alerts_handlers table and find row with bx_wall as name. Remember the value from ID column, for example, 11.

2. Go to sys_alerts table and remove all rows where handler_id = 11.

3. Clean cache and test.

Goog Luck!!!

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 12 Apr 2012
 
 
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.