Need Help Developing phpBB Extension

The name of this phpBB extension is, "Rewards".

It is a phpBB extension that rewards forum users for their involvement in the forum community.

I need help developing an extension for phpBB.

I have setup a test domain.

I installed the official skeleton extension and used it to make a vanilla extension, which I will share here. (I disabled the skeleton extension.)

I have not yet uploaded the vanilla code for the Rewards extension.
 
This is the file and directory structure created by the phpBB Skeleton Extension, for the Rewards extension:

Code:
/ext/
/ext/societyofbhw/
/ext/societyofbhw/index.htm
/ext/societyofbhw/rewards/
/ext/societyofbhw/rewards/acp/
/ext/societyofbhw/rewards/acp/main_info.php
/ext/societyofbhw/rewards/acp/main_module.php
/ext/societyofbhw/rewards/adm/
/ext/societyofbhw/rewards/adm/style/
/ext/societyofbhw/rewards/adm/style/acp_rewards_body.html
/ext/societyofbhw/rewards/config/
/ext/societyofbhw/rewards/config/parameters.yml
/ext/societyofbhw/rewards/config/routing.yml
/ext/societyofbhw/rewards/config/services.yml
/ext/societyofbhw/rewards/controller/
/ext/societyofbhw/rewards/controller/acp_controller.php
/ext/societyofbhw/rewards/controller/main_controller.php
/ext/societyofbhw/rewards/controller/mcp_controller.php
/ext/societyofbhw/rewards/controller/ucp_controller.php
/ext/societyofbhw/rewards/event/
/ext/societyofbhw/rewards/event/main_listener.php
/ext/societyofbhw/rewards/language/
/ext/societyofbhw/rewards/language/en/
/ext/societyofbhw/rewards/language/en/common.php
/ext/societyofbhw/rewards/language/en/info_acp_rewards.php
/ext/societyofbhw/rewards/language/en/info_mcp_rewards.php
/ext/societyofbhw/rewards/language/en/info_ucp_rewards.php
/ext/societyofbhw/rewards/language/en/permissions_rewards.php
/ext/societyofbhw/rewards/mcp/
/ext/societyofbhw/rewards/mcp/main_info.php
/ext/societyofbhw/rewards/mcp/main_module.php
/ext/societyofbhw/rewards/migrations/
/ext/societyofbhw/rewards/migrations/install_acp_module.php
/ext/societyofbhw/rewards/migrations/install_mcp_module.php
/ext/societyofbhw/rewards/migrations/install_sample_data.php
/ext/societyofbhw/rewards/migrations/install_sample_schema.php
/ext/societyofbhw/rewards/migrations/install_ucp_module.php
/ext/societyofbhw/rewards/notification/
/ext/societyofbhw/rewards/notification/type/
/ext/societyofbhw/rewards/notification/type/sample.php
/ext/societyofbhw/rewards/styles/
/ext/societyofbhw/rewards/styles/prosilver/
/ext/societyofbhw/rewards/styles/prosilver/template/
/ext/societyofbhw/rewards/styles/prosilver/template/event/
/ext/societyofbhw/rewards/styles/prosilver/template/event/mcp_rewards_body.html
/ext/societyofbhw/rewards/styles/prosilver/template/event/rewards_body.html
/ext/societyofbhw/rewards/styles/prosilver/template/event/ucp_rewards_body.html
/ext/societyofbhw/rewards/ucp/
/ext/societyofbhw/rewards/ucp/main_info.php
/ext/societyofbhw/rewards/ucp/main_module.php
/ext/societyofbhw/rewards/_/
/ext/societyofbhw/rewards/_/composer.json
/ext/societyofbhw/rewards/_/ext.php
/ext/societyofbhw/rewards/_/license.txt
/ext/societyofbhw/rewards/_/README.md
/ext/societyofbhw/rewards/_/service.php

I do not fully understand the ./_/ directory, as from reading the documentation for extension development I did not see this directory mentioned. We shall see what comes of it.
 
If I use any of your code and/or you make a significant contribution to the development of this extension you will be given proper credit within the extension list of Authors (composer.json file).
 
Since I am not a PHP developer, I am currently reading the phpBB Documentation for developing extensions. It is a slow read, as I am trying to figure out what every sentence means.

I think phpBB needs better documentation for their events list.
 
Moved all the ./rewards/_/* files into the ./rewards/ directory. Apparently the skeleton extension places these files in the wrong location.

Uploaded to the test server, enabled the plugin, and it appears everywhere it should, so far.

Still need to update the migration files to better layout the database.
 
Back
Top