1) We are aware that many of the VW4 manual pages are missing. Someone is currently working on them and we hope to have them up soon. Until then, we are welcome to address any questions you may have about how to perform various tasks. There is already an open issue for the missing manual pages here:
https://www.vaultwiki.org/issues/4056/
2) This is a known issue and is slated to be fixed by the next update. It occurs when a user creates a new page and also selects categories for the new page, or when creating a new page via the "Add Listing" menu in a Category. The error does not occur when adding categories via the Edit tab to pages that were already created.
It can be fixed by modifying
vault/core/controller/dm/item/category/vw.php. Find:
Code:
$duplicate_check = vw_DB::get()->query()->select(array(
'fields' => array('categoryitemid'),
'table' => 'vw_categoryitem',
'where' => array(
vw_DB::get()->query()->eq('pageid', $this->instance->get('pageid')),
vw_DB::get()->query()->eq('itemcategoryid', $this->instance->get('itemcategoryid'))
),
'first' => 1
));
if ($duplicate_check)
{
$this->instance->error('vw_page_already_category');
return false;
}
Replace with:
Code:
if ($this->instance->get('pageid'))
{
$duplicate_check = vw_DB::get()->query()->select(array(
'fields' => array('categoryitemid'),
'table' => 'vw_categoryitem',
'where' => array(
vw_DB::get()->query()->eq('pageid', $this->instance->get('pageid')),
vw_DB::get()->query()->eq('itemcategoryid', $this->instance->get('itemcategoryid'))
),
'first' => 1
));
if ($duplicate_check)
{
$this->instance->error('vw_page_already_category');
return false;
}
}
3) For IMG tags in wiki pages, in the VaultWiki Admin Panel, go to Structures > Area Manager. In the settings for the area where the tag isn't working, make sure "Images" is checked for "Parse the following in Pages". If it's the index page, the setting can be found in Settings > Content Types > Wiki Index Options.
For IMG tags in wiki comments, also in the Area manager, there is a "Parse the following in Comments" section. In addition to that, at least one of the user's groups must be allowed to use IMG tags in wiki comments in the wiki permissions (Permissions > Usergroups > (edit) > Comment Permissions > Can use images in comments?)
4) The user must have permission to upload specific file extensions. In the VaultWiki Admin Panel, go to Content > Attachments, and click the "Modify Permissions" button. Check that at least one of the user's groups is allowed to upload jpg files. Please let me know if none of the groups were allowed by default, as this would be a bug in the install script that set the wrong default permissions. You should be able to change the permissions as needed.