sys_privacy_action doesn't work.

I set default permission for everything to "4" in sys_privacy_actions table, but every new album created still has "AllowAlbumView" set to "3" automatically.

Quote · 21 Jun 2010

TABLE sys_albums

AllowAlbumView int(10) NOT NULL DEFAULT '3',

Change the default to 4 or whatever you require using phpMyAdmin.

-Rob

Quote · 21 Jun 2010

Hello Flurmingo!

Default albums are created automatically with option "Available for all" (it can be changed during edit of this album). If u need to have another option for (example) photos album then go to modules/boonex/photos/classes/BxPhotosPageAlbumsMy.php and change constant BX_DOL_PG_ALL in line #115 to BX_DOL_PG_MEMBERS

Regard

Quote · 21 Jun 2010

Thanks. Problem solved.

Quote · 21 Jun 2010

the full list here

inc/classes/BxDolPrivacy.php

define('BX_DOL_PG_DEFAULT', '1');

define('BX_DOL_PG_NOBODY', '2');

define('BX_DOL_PG_ALL', '3');

define('BX_DOL_PG_MEMBERS', '4');

define('BX_DOL_PG_FRIENDS', '5');

define('BX_DOL_PG_FAVES', '6');

define('BX_DOL_PG_CONTACTS', '7');

Quote · 21 Jun 2010

Anyway, what is sys_privacy_actions table for?

Quote · 21 Jun 2010

sys_privacy_actions is responsible for setting default values in fields "Privacy". For example if u set there any value for "Photo albums" then every time when user will create photo album this value will be set by default in field 'Privacy'.

Regard

Quote · 23 Jun 2010

That's my point. Even though I set every value to 4, new albums still bare privacy setting of "3".

sys_privacy_actions is responsible for setting default values in fields "Privacy". For example if u set there any value for "Photo albums" then every time when user will create photo album this value will be set by default in field 'Privacy'.

Regard

Quote · 23 Jun 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.