Knowledge Base
Categories
Latest Articles
- How to resolve the issue of unable to Create or Save Draft on Contest app v4.02 on phpFox v4.6.1b5
- Fixing unable to delete videos in Ultimate Video
- Missed "Can add a new blog?"
- Error: Fatal error: require() ... C:\xampp2\htdocs\phpfox\PF.Base\include\library\phpfox\template\template.class.php
- [Social Media Importer] Add "Import Photo" menu on Advanced Photo app
- [Social Chat] Change color of Chat box
- PHP module "Multibyte String" is missing
- PHP module "PHP ZipArchive" is missing
- [phpFox] Unable to remove caches in memcache on apps of third party
- Error: PHP module 'PHP Exec is missing'
Most Viewed Articles
Featured Articles
Please follow guidance below to auto fix of missing the setting "Can add a new blog?" , I believe you can follow easily
- Step 1
Open this file PF.Site/Apps/ync-blogs/Install.php/install.php
protected function setUserGroupSettings()
{
$this->user_group_settings = [
'yn_advblog_add_blog' => [
'var_name' => 'yn_advblog_add_blog',
'info' => 'Can add a new blog?',
'type' => Setting\Groups::TYPE_RADIO,
'value' => 1,
'options' => Setting\Groups::$OPTION_YES_NO
],
'ynblog.points_ynblog' => [
'var_name' => 'ynblog.points_ynblog',
'info' => 'Points received when adding a blog',
'type' => Setting\Groups::TYPE_TEXT,
'value' => 0,
],
....
The bold messages are for implementation.
- Step 2
Enable Techie Mode with this article https://docs.phpfox.com/display/FOX4DEVDOC/Enabling+Techie+Mode
- Step 3
Click Re-validation on Advanced Blog at AdminCP >> Apps
- Step 4
Run Maintenance >> Rebuild Core Theme and Cache Manager to fix for layout after re-validation
- Step 5
Update some codes on Add page
/PF.Site/Apps/ync-blogs/Controller/AddController.php. Find code:
if (($iEditId = $this->request()->getInt('id'))) {
.....
.....
}
under "}", add below code:
else {
user('yn_advblog_add_blog',null,null,true);
}
#### Congratulations! You have resolved it. ####
Please contact us on ticket system if you meet any difficulty

테스터
test