We use it for the same.qarclas wrote:Existing users can see/read/post to the application.
New registered users can post an application, but not read other new applications.
I wasn't able to install it. I get this error:brunoais wrote:Here's what I need tested:
Install extension.
Code: Select all
SQL ERROR [ mysql4 ]
Table 'xxx_yyyy.phpbb_acl_roles' doesn't exist [1146]
SQL
SELECT count(*) AS how_many FROM phpbb_acl_roles WHERE role_order = 1 + ( SELECT role_order FROM phpbb_acl_roles WHERE role_name = 'ROLE_FORUM_STANDARD' ) AND role_type = 'f_'
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()
FILE: [ROOT]/ext/brunoais/readOthersTopics/migrations/initial_release.php
LINE: 64
CALL: phpbb\db\driver\factory->sql_query()
FILE: (not given by php)
LINE: (not given by php)
CALL: brunoais\readOthersTopics\migrations\initial_release->make_place_for_new_role()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 517
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 463
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 301
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 181
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/extension/base.php
LINE: 80
CALL: phpbb\db\migrator->update()
FILE: [ROOT]/ext/brunoais/readOthersTopics/ext.php
LINE: 52
CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/phpbb/extension/manager.php
LINE: 187
CALL: brunoais\readOthersTopics\ext->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 184
CALL: phpbb\extension\manager->enable_step()
FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()
FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Code: Select all
SQL ERROR [ mysql4 ]
Table 'xxx_yyy.phpbb3_roles' doesn't exist [1146]
SQL
SELECT count(*) AS how_many FROM phpbb3_acl_roles WHERE role_order = 1 + ( SELECT role_order FROM phpbb3_roles WHERE role_name = 'ROLE_FORUM_STANDARD' ) AND role_type = 'f_'
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()
FILE: [ROOT]/ext/brunoais/readOthersTopics/migrations/initial_release.php
LINE: 64
CALL: phpbb\db\driver\factory->sql_query()
FILE: (not given by php)
LINE: (not given by php)
CALL: brunoais\readOthersTopics\migrations\initial_release->make_place_for_new_role()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 517
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 463
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 301
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 181
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/extension/base.php
LINE: 80
CALL: phpbb\db\migrator->update()
FILE: [ROOT]/ext/brunoais/readOthersTopics/ext.php
LINE: 52
CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/phpbb/extension/manager.php
LINE: 187
CALL: brunoais\readOthersTopics\ext->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 184
CALL: phpbb\extension\manager->enable_step()
FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()
FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
ext/brunoais/readOthersTopics
That is correct - the namespace cannot have upper case characters in itleschek wrote:I think I read somewhere that in path shouldn't be used capital letters
Damn! That was fail. Try again pls. Same tag / link.leschek wrote:It seems that I still have the same error:
tension should be installed so I used "Upload extension" extension.
Source please.david63 wrote:That is correct - the namespace cannot have upper case characters in itleschek wrote:I think I read somewhere that in path shouldn't be used capital letters
In which part does the name not follow that?Note: Due to internal logic inside the code, vendor and extension names may ONLY contain numbers and letters. Underscores, dashes, and other characters are NOT permitted.
Installed without problembrunoais wrote:Here's what I need tested:
Install extension.
Yesbrunoais wrote:The new permission "f_read_others_topics_brunoais" is in the permission list in the DB
Yesbrunoais wrote:The new permission with the text "Can read topics started by others" is below "Can read forum" under the "actions" tab.
If this mean that after set "Can read topics started by others" to Yes it should automatically set "Can read forum" to Yes, then it doesn't set "Can read forum" to Yes.brunoais wrote: If, after installing, the new permission is set to "yes", "Can read forum" is set to "yes" for permissions for individual users, groups and roles.
Yesbrunoais wrote:A new role still named "BRUNOAIS_ROLE_READ_OTHERS_TOPICS" appears listed.
They seem to be exactly the same. I checked it twice, but I'm just human...brunoais wrote: A new role "BRUNOAIS_ROLE_READ_OTHERS_TOPICS" is equal to "Standard Access" except for "Can read topics started by others" which it is set to "no" on the new role.
It seems so. I couldn't see permission "f_read_others_topics_brunoais" and found nothing in "ext" table. Not sure where else i should look.brunoais wrote:After purging the extension, the database has no traces that the extension ever existed.
Hum... This is a phpBB bug. Thanks.leschek wrote:They seem to be exactly the same. I checked it twice, but I'm just human...brunoais wrote: A new role "BRUNOAIS_ROLE_READ_OTHERS_TOPICS" is equal to "Standard Access" except for "Can read topics started by others" which it is set to "no" on the new role.
All tables whose name starts with [prefix]"acl_". You will have to check based on the permission id because the permission name only exists on a single tableleschek wrote:It seems so. I couldn't see permission "f_read_others_topics_brunoais" and found nothing in "ext" table. Not sure where else i should look.brunoais wrote:After purging the extension, the database has no traces that the extension ever existed.
OK. If the permission ID is in column "auth_option_id" then I can't find it anywhere in DB after disabling and deleting data of the extension.brunoais wrote:All tables whose name starts with [prefix]"acl_". You will have to check based on the permission id because the permission name only exists on a single table