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.
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. |
TABLE sys_albums AllowAlbumView int(10) NOT NULL DEFAULT '3', Change the default to 4 or whatever you require using phpMyAdmin. -Rob |
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 |
Thanks. Problem solved. |
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'); |
Anyway, what is sys_privacy_actions table for? |
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 |
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 |