Frequently Asked Questions¶
Common questions and answers about the Gold Standard Module.
Installation & Setup¶
How do I install the Gold Standard Module?¶
- Download the module from the official repository
- Extract to
htdocs/modules/goldstandard - Run
composer installin the module directory - Go to Admin → Modules and install the module
- Configure permissions and settings
See Getting Started Guide for detailed instructions.
What are the minimum requirements?¶
| Requirement | Minimum | Recommended |
|---|---|---|
| PHP | 8.2 | 8.3+ |
| XOOPS | 2.6.0 | Latest |
| MySQL | 8.0 | 8.0+ |
| Memory | 128MB | 256MB+ |
The module won't install. What should I check?¶
- PHP Version - Ensure PHP 8.2+ is installed
- Composer - Run
composer installin module directory - Permissions - Check folder permissions (755 for directories)
- Error Logs - Check
xoops_data/logs/for errors - Database - Ensure database user has CREATE TABLE permission
Content Management¶
How do I create my first article?¶
- Go to Admin → Gold Standard → Articles
- Click Add New Article
- Fill in title, content, and category
- Set status to "Draft" or "Published"
- Click Save
Can I schedule articles for future publication?¶
Yes! When creating or editing an article: 1. Set status to "Scheduled" 2. Set the Publish Date to your desired date/time 3. The article will automatically publish at that time
How do I import content from WordPress?¶
- Export your WordPress content as WXR (XML)
- Go to Admin → Gold Standard → Import
- Select "WordPress" as the format
- Upload your WXR file
- Map categories and authors
- Click Import
Why are my images not displaying?¶
Common causes: - File permissions - Ensure upload directory is writable (755) - File size - Check max_image_size setting - File type - Ensure file extension is allowed - Path issues - Regenerate thumbnails from admin panel
Permissions & Users¶
How do I allow users to submit articles?¶
- Go to Admin → Gold Standard → Permissions
- Find
article_createpermission - Check the box for "Registered Users" group
- Save changes
Can I restrict categories to certain users?¶
Yes, use category-level permissions: 1. Go to Admin → Gold Standard → Categories 2. Click Permissions for the category 3. Set which groups can view/submit 4. Save changes
How do I moderate content before publishing?¶
- Set
auto_approveto "No" in settings - Enable
notify_new_articlefor admin notifications - New articles will be saved as "Pending"
- Review and approve from the admin panel
Customization¶
How do I customize the templates?¶
- Copy templates from
modules/goldstandard/templates/ - Paste to
themes/[your-theme]/modules/goldstandard/ - Edit the copied templates
- Clear template cache in admin panel
Can I add custom fields to articles?¶
Yes, using the extension system:
// In your custom module or plugin
$eventDispatcher->listen(
ArticleFormBuilding::class,
function ($event) {
$event->form->addElement(
new XoopsFormText('Custom Field', 'custom_field', 50, 255)
);
}
);
How do I change the URL structure?¶
- Go to Admin → Gold Standard → Settings
- Find SEO Settings
- Modify the
url_patternoption - Clear cache and regenerate sitemap
Performance¶
The module is slow. How can I speed it up?¶
- Enable caching - Set
enable_cacheto Yes - Increase cache time - Set
cache_lifetimeto 3600+ - Optimize images - Enable auto-compression
- Use CDN - Configure CDN for media files
- Database indexes - Run optimization command:
How much server resources does it use?¶
Typical resource usage: - Memory: 20-50MB per request - Database queries: 5-15 per page load - Response time: <200ms with caching
API¶
How do I get an API key?¶
- Go to your user profile
- Click API Keys
- Click Generate New Key
- Copy and securely store the key
Or via CLI:
What's the API rate limit?¶
Default: 60 requests per minute per API key.
Configure in settings: - api_rate_limit: Requests per minute (0 = unlimited)
Can I use the API without authentication?¶
By default, no. To enable public API access: 1. Set require_auth to "No" for specific endpoints 2. Or create a public API key with read-only scope
Troubleshooting¶
Articles show "Access Denied"¶
- Check
article_viewpermission for user's group - Verify the article is published (not draft)
- Check category-level permissions
- Clear cache and try again
Comments are not appearing¶
- Verify comments are enabled:
enable_comments= Yes - Check
comment_viewpermission - Verify comment was approved (if moderation is on)
- Check that the article allows comments
Search is not finding articles¶
- Rebuild search index:
- Verify articles are published
- Check that search is enabled in settings
Email notifications not sending¶
- Verify XOOPS mail settings are correct
- Check
notify_*settings are enabled - Look for errors in mail logs
- Test with:
Migration & Backup¶
How do I backup the module data?¶
Via Admin Panel: 1. Go to Admin → Gold Standard → Export 2. Select "Full Backup" 3. Choose format (JSON recommended) 4. Download the backup file
Via CLI:
How do I migrate to a new server?¶
- Export all data as JSON
- Copy module files to new server
- Install module (don't activate yet)
- Import the JSON backup
- Update configuration as needed
Getting Help¶
Where can I get support?¶
- Documentation: This knowledge base
- Forums: XOOPS Forums
- GitHub Issues: For bugs and feature requests
- Discord: Real-time community help
How do I report a bug?¶
- Check if it's already reported on GitHub
- Gather information:
- PHP version
- XOOPS version
- Module version
- Error messages
- Steps to reproduce
- Open an issue with all details