Publisher - Basic Configuration
Publisher Basic Configuration
Section titled “Publisher Basic Configuration”Configure Publisher module settings, preferences, and general options for your XOOPS installation.
Accessing Configuration
Section titled “Accessing Configuration”Admin Panel Navigation
Section titled “Admin Panel Navigation”XOOPS Admin Panel└── Modules └── Publisher ├── Preferences ├── Settings └── Configuration- Log in as Administrator
- Go to Admin Panel → Modules
- Find Publisher module
- Click Preferences or Admin link
General Settings
Section titled “General Settings”Access Configuration
Section titled “Access Configuration”Admin Panel → Modules → PublisherClick the gear icon or Settings for these options:
Display Options
Section titled “Display Options”| Setting | Options | Default | Description |
|---|---|---|---|
| Items per page | 5-50 | 10 | Articles shown in lists |
| Show breadcrumb | Yes/No | Yes | Navigation trail display |
| Use paging | Yes/No | Yes | Paginate long lists |
| Show date | Yes/No | Yes | Display article date |
| Show category | Yes/No | Yes | Show article category |
| Show author | Yes/No | Yes | Show article author |
| Show views | Yes/No | Yes | Show article view count |
Example Configuration:
Items Per Page: 15Show Breadcrumb: YesUse Paging: YesShow Date: YesShow Category: YesShow Author: YesShow Views: YesAuthor Options
Section titled “Author Options”| Setting | Default | Description |
|---|---|---|
| Show author name | Yes | Display real name or username |
| Use username | No | Show username instead of name |
| Show author email | No | Display author contact email |
| Show author avatar | Yes | Display user avatar |
Editor Configuration
Section titled “Editor Configuration”Select WYSIWYG Editor
Section titled “Select WYSIWYG Editor”Publisher supports multiple editors:
Available Editors
Section titled “Available Editors”graph LR A[Editor Selection] -->|CKEditor| B[Modern, feature-rich] A -->|FCKeditor| C[Legacy, compatible] A -->|TinyMCE| D[Lightweight, simple] A -->|DHTML Editor| E[Very basic, minimal]CKEditor (Recommended)
Section titled “CKEditor (Recommended)”Best for: Most users, modern browsers, full features
- Go to Preferences
- Set Editor: CKEditor
- Configure options:
Editor: CKEditor 4.xToolbar: FullHeight: 400pxWidth: 100%Remove plugins: []Add plugins: [mathjax, codesnippet]FCKeditor
Section titled “FCKeditor”Best for: Compatibility, older systems
Editor: FCKeditorToolbar: DefaultCustom config: (optional)TinyMCE
Section titled “TinyMCE”Best for: Minimal footprint, basic editing
Editor: TinyMCEPlugins: [paste, table, link, image]Toolbar: minimalFile & Upload Settings
Section titled “File & Upload Settings”Configure Upload Directories
Section titled “Configure Upload Directories”Admin → Publisher → Preferences → Upload SettingsFile Type Settings
Section titled “File Type Settings”Allowed File Types: Images: - jpg - jpeg - gif - png - webp Documents: - pdf - doc - docx - xls - xlsx - ppt - pptx Archives: - zip - rar - 7z Media: - mp3 - mp4 - webm - movFile Size Limits
Section titled “File Size Limits”| File Type | Max Size | Notes |
|---|---|---|
| Images | 5 MB | Per image file |
| Documents | 10 MB | PDF, Office files |
| Media | 50 MB | Video/audio files |
| All files | 100 MB | Total per upload |
Configuration:
Max Image Upload Size: 5 MBMax Document Upload Size: 10 MBMax Media Upload Size: 50 MBTotal Upload Size: 100 MBMax Files per Article: 5Image Resizing
Section titled “Image Resizing”Publisher auto-resizes images for consistency:
Thumbnail Size: Width: 150 Height: 150 Mode: Crop/Resize
Category Image Size: Width: 300 Height: 200 Mode: Resize
Article Featured Image: Width: 600 Height: 400 Mode: ResizeComment & Interaction Settings
Section titled “Comment & Interaction Settings”Comments Configuration
Section titled “Comments Configuration”Preferences → Comments SectionComment Options
Section titled “Comment Options”Allow Comments: - Enabled: Yes/No - Default: Yes - Per-article override: Yes
Comment Moderation: - Moderate comments: Yes/No - Moderate guest comments only: Yes/No - Spam filter: Enabled - Max comments per day: (unlimited)
Comment Display: - Display format: Threaded/Flat - Comments per page: 10 - Date format: Full date/Time ago - Show comment count: Yes/NoRatings Configuration
Section titled “Ratings Configuration”Allow Ratings: - Enabled: Yes/No - Default: Yes - Per-article override: Yes
Rating Options: - Rating scale: 5 stars (default) - Allow user to rate own: No - Show average rating: Yes - Show rating count: YesSEO & URL Settings
Section titled “SEO & URL Settings”Search Engine Optimization
Section titled “Search Engine Optimization”Preferences → SEO SettingsURL Configuration
Section titled “URL Configuration”SEO URLs: - Enabled: No (set to Yes for SEO URLs) - URL rewriting: None/Apache mod_rewrite/IIS rewrite
URL Format: - Category: /category/news - Article: /article/welcome-to-site - Archive: /archive/2024/01
Meta Description: - Auto-generate: Yes - Max length: 160 characters
Meta Keywords: - Auto-generate: Yes - From: Article tags, titleEnable SEO URLs (Advanced)
Section titled “Enable SEO URLs (Advanced)”Prerequisites:
- Apache with
mod_rewriteenabled .htaccesssupport enabled
Configuration Steps:
- Go to Preferences → SEO Settings
- Set SEO URLs: Yes
- Set URL Rewriting: Apache mod_rewrite
- Verify
.htaccessfile exists in Publisher folder
.htaccess Configuration:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /modules/publisher/
# Category rewrites RewriteRule ^category/([0-9]+)-(.*)\.html$ index.php?op=showcategory&categoryid=$1 [L,QSA]
# Article rewrites RewriteRule ^article/([0-9]+)-(.*)\.html$ index.php?op=showitem&itemid=$1 [L,QSA]
# Archive rewrites RewriteRule ^archive/([0-9]+)/([0-9]+)/$ index.php?op=archive&year=$1&month=$2 [L,QSA]</IfModule>Cache & Performance
Section titled “Cache & Performance”Caching Configuration
Section titled “Caching Configuration”Preferences → Cache SettingsEnable Caching: - Enabled: Yes - Cache type: File (or Memcache)
Cache Lifetime: - Category lists: 3600 seconds (1 hour) - Article lists: 1800 seconds (30 minutes) - Single article: 7200 seconds (2 hours) - Recent articles block: 900 seconds (15 minutes)
Cache Clear: - Manual clear: Available in admin - Auto-clear on article save: Yes - Clear on category change: YesClear Cache
Section titled “Clear Cache”Manual Cache Clear:
- Go to Admin → Publisher → Tools
- Click Clear Cache
- Select cache types to clear:
- Category cache
- Article cache
- Block cache
- All cache
- Click Clear Selected
Command Line:
# Clear all Publisher cachephp /path/to/xoops/admin/cache_manage.php publisher
# Or directly delete cache filesrm -rf /path/to/xoops/var/cache/publisher/*Notification & Workflow
Section titled “Notification & Workflow”Email Notifications
Section titled “Email Notifications”Preferences → NotificationsNotify Admin on New Article: - Enabled: Yes - Recipient: Admin email - Include summary: Yes
Notify Moderators: - Enabled: Yes - On new submission: Yes - On pending articles: Yes
Notify Author: - On approval: Yes - On rejection: Yes - On comment: No (optional)Submission Workflow
Section titled “Submission Workflow”Require Approval: - Enabled: Yes - Editor approval: Yes - Admin approval: No
Draft Save: - Auto-save interval: 60 seconds - Save local versions: Yes - Revision history: Last 5 versionsContent Settings
Section titled “Content Settings”Publishing Defaults
Section titled “Publishing Defaults”Preferences → Content SettingsDefault Article Status: - Draft/Published: Draft - Featured by default: No - Auto-publish time: None
Default Visibility: - Public/Private: Public - Show on front page: Yes - Show in categories: Yes
Scheduled Publishing: - Enabled: Yes - Allow per-article: Yes
Content Expiration: - Enabled: No - Auto-archive old: No - Archive after days: (unlimited)WYSIWYG Content Options
Section titled “WYSIWYG Content Options”Allow HTML: - In articles: Yes - In comments: No
Allow Embedded Media: - Videos (iframe): Yes - Images: Yes - Plugins: No
Content Filtering: - Strip tags: No - XSS filter: Yes (recommended)Search Engine Settings
Section titled “Search Engine Settings”Configure Search Integration
Section titled “Configure Search Integration”Preferences → Search SettingsEnable Article Indexing: - Include in site search: Yes - Index type: Full text/Title only
Search Options: - Search in titles: Yes - Search in content: Yes - Search in comments: Yes
Meta Tags: - Auto generate: Yes - OG tags (social): Yes - Twitter cards: YesAdvanced Settings
Section titled “Advanced Settings”Debug Mode (Development Only)
Section titled “Debug Mode (Development Only)”Preferences → AdvancedDebug Mode: - Enabled: No (only for development!)
Development Features: - Show SQL queries: No - Log errors: Yes - Error email: admin@example.comDatabase Optimization
Section titled “Database Optimization”Admin → Tools → Optimize Database# Manual optimizationmysql> OPTIMIZE TABLE publisher_items;mysql> OPTIMIZE TABLE publisher_categories;mysql> OPTIMIZE TABLE publisher_comments;Module Customization
Section titled “Module Customization”Theme Templates
Section titled “Theme Templates”Preferences → Display → TemplatesSelect template set:
- Default
- Classic
- Modern
- Dark
- Custom
Each template controls:
- Article layout
- Category listing
- Archive display
- Comment display
Configuration Tips
Section titled “Configuration Tips”Best Practices
Section titled “Best Practices”graph TD A[Configuration Strategy] -->|Start| B[Enable basic features] B -->|Test| C[Verify functionality] C -->|Scale| D[Enable advanced features] D -->|Optimize| E[Performance tune] E -->|Secure| F[Apply security settings]- Start Simple - Enable core features first
- Test Each Change - Verify before moving on
- Enable Caching - Improves performance
- Backup First - Export settings before major changes
- Monitor Logs - Check error logs regularly
Performance Optimization
Section titled “Performance Optimization”For Better Performance: - Enable caching: Yes - Cache lifetime: 3600 seconds - Limit items per page: 10-15 - Compress images: Yes - Minify CSS/JS: Yes (if available)Security Hardening
Section titled “Security Hardening”For Better Security: - Moderate comments: Yes - Disable HTML in comments: Yes - XSS filtering: Yes - File type whitelist: Strict - Max upload size: Reasonable limitExport/Import Settings
Section titled “Export/Import Settings”Backup Configuration
Section titled “Backup Configuration”Admin → Tools → Export SettingsTo backup current configuration:
- Click Export Configuration
- Save downloaded
.cfgfile - Store in safe location
To restore:
- Click Import Configuration
- Select
.cfgfile - Click Restore
Related Configuration Guides
Section titled “Related Configuration Guides”- Category Management
- Article Creation
- Permission Configuration
- Installation Guide
Troubleshooting Configuration
Section titled “Troubleshooting Configuration”Settings Won’t Save
Section titled “Settings Won’t Save”Solution:
- Check directory permissions on
/var/config/ - Verify PHP write access
- Check PHP error log for issues
- Clear browser cache and try again
Editor Not Appearing
Section titled “Editor Not Appearing”Solution:
- Verify editor plugin is installed
- Check XOOPS editor configuration
- Try different editor option
- Check browser console for JavaScript errors
Performance Issues
Section titled “Performance Issues”Solution:
- Enable caching
- Reduce items per page
- Compress images
- Check database optimization
- Review slow query log
Next Steps
Section titled “Next Steps”- Configure Group Permissions
- Create your first Article
- Set up Categories
- Review Custom Templates
#publisher #configuration #preferences #settings #xoops