User Group Settings
From version 4.5.3, below user group settings will be removed from the Core script:
Setting var name |
Setting Title |
App |
Reason |
---|---|---|---|
event.can_view_pirvate_events |
Can view private events |
event |
The setting isn't useful anymore |
Settings
From version 4.5.3, below settings will be removed from the Core script:
Setting var name |
Setting Title |
App |
Reason |
---|---|---|---|
mail.update_message_notification_preview |
Update Message "Read" on Notification Preview |
The feature isn't available in phpFox v4 |
From version 4.5.3, below settings will be deprecated:
Setting var name |
Setting Title |
App |
Reason |
Version to remove |
---|---|---|---|---|
core.categories_to_show_at_first |
How many subcategories to show at first |
core |
From 4.5.3, we support collapse/expand sub categories |
4.6.0 |
Below settings will be available from this version:
Setting var name |
Setting Title |
App |
Description |
---|---|---|---|
core.mail_smtp_secure |
Secure with SSL or TLS? |
core |
Support to set up SMTP with secure options |
Hooks/Plugins
We also have some new hooks/plugins to support developers can make change on the core features:
Name |
App |
Description |
---|---|---|
core.template-notification-custom |
subscribe |
Plugin called in notification template |
user.service_callback_purchase_points_completed |
user |
Plugin called after purchasing with activity points completely |
Others
Support return multiple arrays in massCallback
Since this version, developers can return multiple arrays in a massCallback
function. Example code:
return [ 'merge_result' => true, 'result' => [ // your return arays ] ] ];
Support Apps can define list of writable directories
From now, apps can define a list of directories that have to be had writable permission (example: your app need a folder to store upload pictures...)
Example for this configuration:
protected function setOthers() { ... $this->_writable_dirs = [ 'PF.Base/file/pic/todo/' ]; ... }
For more information, you can get here
New template built-in function to add AddThis
to your page
In 4.5.2, we had added 2 new settings to allow admin can integrate AddThis
to their site. And now, for the purpose to help the developers can use it easier, we support the new template built-in function addthis
.
Example code:
{addthis url='http://example.com' title='Example' description='Description of example' media='http://example.com/image.jpg'}
To get more information for this function, please visit here.
Support Apps can define list of external directories/files
From now, apps can define a list of directories/files that belong with the app but don't store in app folder.
Example for this configuration:
... $this->external_paths = [ [ 'path' => 'PF.Base/example_folder' 'removeable => true ], [ 'path' => 'PF.Base/example_file' 'removeable => false ] ]; ...
For more information, you can get here
New Pagination System
In phpFox version 4.5.3. We will introduce the new Pagination System. The Core script will support 3 mode for pagination:
- Scroll down to load more
- Paging with Next and Prev buttons
- Paging with page number
You can find the guideline for applying it for your apps here.
Support add settings for Blocks
One of the important improvements of phpFox version 4.5.3 is supporting settings for the blocks. From now, you can define settings for you apps blocks to allow admin can use or custom them easier.
Please follow the tut here to define and control settings for your blocks.
New Log System and Error Handler
We also have more major improvements in phpFox Log System and Error Handler. Detail information has been updated here.