Installing Modules
Installing and Managing XOOPS Modules
Section titled “Installing and Managing XOOPS Modules”Learn how to extend XOOPS functionality by installing and configuring modules.
Understanding XOOPS Modules
Section titled “Understanding XOOPS Modules”What are Modules?
Section titled “What are Modules?”Modules are extensions that add functionality to XOOPS:
| Type | Purpose | Examples |
|---|---|---|
| Content | Manage specific content types | News, Blog, Tickets |
| Community | User interaction | Forum, Comments, Reviews |
| eCommerce | Selling products | Shop, Cart, Payments |
| Media | Handle files/images | Gallery, Downloads, Videos |
| Utility | Tools and helpers | Email, Backup, Analytics |
Core vs. Optional Modules
Section titled “Core vs. Optional Modules”| Module | Type | Included | Removable |
|---|---|---|---|
| System | Core | Yes | No |
| User | Core | Yes | No |
| Profile | Recommended | Yes | Yes |
| PM (Private Message) | Recommended | Yes | Yes |
| WF-Channel | Optional | Often | Yes |
| News | Optional | No | Yes |
| Forum | Optional | No | Yes |
Module Lifecycle
Section titled “Module Lifecycle”graph LR A[Find Module] --> B[Download] B --> C[Extract] C --> D[Install] D --> E[Configure] E --> F[Use] F --> G{Maintain?} G -->|Yes| H[Update] G -->|No| I[Disable] I --> J[Remove] H --> EFinding Modules
Section titled “Finding Modules”XOOPS Module Repository
Section titled “XOOPS Module Repository”Official XOOPS module repository:
Visit: https://xoops.org/modules/repository/
Directory > Modules > [Browse Categories]Browse by category:
- Content Management
- Community
- eCommerce
- Multimedia
- Development
- Site Administration
Evaluating Modules
Section titled “Evaluating Modules”Before installing, check:
| Criteria | What to Look For |
|---|---|
| Compatibility | Works with your XOOPS version |
| Rating | Good user reviews and ratings |
| Updates | Recently maintained |
| Downloads | Popular and widely used |
| Requirements | Compatible with your server |
| License | GPL or similar open source |
| Support | Active developer and community |
Read Module Information
Section titled “Read Module Information”Each module listing shows:
Module Name: [Name]Version: [X.X.X]Requires: XOOPS [Version]Author: [Name]Last Update: [Date]Downloads: [Number]Rating: [Stars]Description: [Brief description]Compatibility: PHP [Version], MySQL [Version]Installing Modules
Section titled “Installing Modules”Method 1: Admin Panel Installation
Section titled “Method 1: Admin Panel Installation”Step 1: Access Modules Section
- Log in to admin panel
- Navigate to Modules > Modules
- Click “Install New Module” or “Browse Modules”
Step 2: Upload Module
Option A - Direct Upload:
- Click “Choose File”
- Select module .zip file from computer
- Click “Upload”
Option B - URL Upload:
- Paste module URL
- Click “Download and Install”
Step 3: Review Module Info
Module Name: [Name shown]Version: [Version]Author: [Author info]Description: [Full description]Requirements: [PHP/MySQL versions]Review and click “Proceed with Installation”
Step 4: Choose Install Type
☐ Fresh Install (New installation)☐ Update (Upgrade existing)☐ Delete Then Install (Replace existing)Select appropriate option.
Step 5: Confirm Installation
Review final confirmation:
Module will be installed to: /modules/modulename/Database: xoops_dbProceed? [Yes] [No]Click “Yes” to confirm.
Step 6: Installation Complete
Installation successful!
Module: [Module Name]Version: [Version]Tables created: [Number]Files installed: [Number]
[Go to Module Settings] [Return to Modules]Method 2: Manual Installation (Advanced)
Section titled “Method 2: Manual Installation (Advanced)”For manual installation or troubleshooting:
Step 1: Download Module
- Download module .zip from repository
- Extract to
/var/www/html/xoops/modules/modulename/
# Extract moduleunzip module_name.zipcp -r module_name /var/www/html/xoops/modules/
# Set permissionschmod -R 755 /var/www/html/xoops/modules/module_nameStep 2: Run Installation Script
Visit: http://your-domain.com/xoops/modules/module_name/admin/index.php?op=installOr through admin panel (System > Modules > Update DB).
Step 3: Verify Installation
- Go to Modules > Modules in admin
- Look for your module in list
- Verify it shows as “Active”
Module Configuration
Section titled “Module Configuration”Access Module Settings
Section titled “Access Module Settings”- Go to Modules > Modules
- Find your module
- Click on module name
- Click “Preferences” or “Settings”
Common Module Settings
Section titled “Common Module Settings”Most modules offer:
Module Status: [Enabled/Disabled]Display in Menu: [Yes/No]Module Weight: [1-999] (display order)Visible To Groups: [Checkboxes for user groups]Module-Specific Options
Section titled “Module-Specific Options”Each module has unique settings. Examples:
News Module:
Items Per Page: 10Show Author: YesAllow Comments: YesModeration Required: YesForum Module:
Topics Per Page: 20Posts Per Page: 15Maximum Attachment Size: 5MBEnable Signatures: YesGallery Module:
Images Per Page: 12Thumbnail Size: 150x150Maximum Upload: 10MBWatermark: Yes/NoReview your module documentation for specific options.
Save Configuration
Section titled “Save Configuration”After adjusting settings:
- Click “Submit” or “Save”
- You’ll see confirmation:
Settings saved successfully!
Managing Module Blocks
Section titled “Managing Module Blocks”Many modules create “blocks” - widget-like content areas.
View Module Blocks
Section titled “View Module Blocks”- Go to Appearance > Blocks
- Look for blocks from your module
- Most modules show “[Module Name] - [Block Description]“
Configure Blocks
Section titled “Configure Blocks”- Click on block name
- Adjust:
- Block title
- Visibility (all pages or specific)
- Position on page (left, center, right)
- User groups who can see
- Click “Submit”
Display Block on Homepage
Section titled “Display Block on Homepage”- Go to Appearance > Blocks
- Find the block you want
- Click “Edit”
- Set:
- Visible to: Select groups
- Position: Choose column (left/center/right)
- Pages: Homepage or all pages
- Click “Submit”
Installing Specific Module Examples
Section titled “Installing Specific Module Examples”Installing News Module
Section titled “Installing News Module”Perfect for: Blog posts, announcements
- Download News module from repository
- Upload via Modules > Modules > Install
- Configure in Modules > News > Preferences:
- Stories per page: 10
- Allow comments: Yes
- Approve before publishing: Yes
- Create blocks for latest news
- Start publishing stories!
Installing Forum Module
Section titled “Installing Forum Module”Perfect for: Community discussion
- Download Forum module
- Install via admin panel
- Create forum categories in module
- Configure settings:
- Topics/page: 20
- Posts/page: 15
- Enable moderation: Yes
- Assign user groups permissions
- Create blocks for latest topics
Installing Gallery Module
Section titled “Installing Gallery Module”Perfect for: Image showcase
- Download Gallery module
- Install and configure
- Create photo albums
- Upload images
- Set permissions for viewing/uploading
- Display gallery on website
Updating Modules
Section titled “Updating Modules”Check for Updates
Section titled “Check for Updates”Admin Panel > Modules > Modules > Check for UpdatesThis shows:
- Available module updates
- Current vs. new version
- Changelog/release notes
Update a Module
Section titled “Update a Module”- Go to Modules > Modules
- Click module with available update
- Click “Update” button
- Select “Update” from Install Type
- Follow installation wizard
- Module updated!
Important Update Notes
Section titled “Important Update Notes”Before updating:
- Backup database
- Backup module files
- Review changelog
- Test on staging server first
- Note any custom modifications
After updating:
- Verify functionality
- Check module settings
- Review for warnings/errors
- Clear cache
Module Permissions
Section titled “Module Permissions”Assign User Group Access
Section titled “Assign User Group Access”Control which user groups can access modules:
Location: System > Permissions
For each module, configure:
Module: [Module Name]
Admin Access: [Select groups]User Access: [Select groups]Read Permission: [Groups allowed to view]Write Permission: [Groups allowed to post]Delete Permission: [Administrators only]Common Permission Levels
Section titled “Common Permission Levels”Public Content (News, Pages):├── Admin Access: Webmaster├── User Access: All logged-in users└── Read Permission: Everyone
Community Features (Forum, Comments):├── Admin Access: Webmaster, Moderators├── User Access: All logged-in users└── Write Permission: All logged-in users
Admin Tools:├── Admin Access: Webmaster only└── User Access: DisabledDisabling and Removing Modules
Section titled “Disabling and Removing Modules”Disable Module (Keep Files)
Section titled “Disable Module (Keep Files)”Keep module but hide from site:
- Go to Modules > Modules
- Find module
- Click module name
- Click “Disable” or set status to Inactive
- Module hidden but data preserved
Re-enable anytime:
- Click module
- Click “Enable”
Remove Module Completely
Section titled “Remove Module Completely”Delete module and its data:
- Go to Modules > Modules
- Find module
- Click “Uninstall” or “Delete”
- Confirm: “Delete module and all data?”
- Click “Yes” to confirm
Warning: Uninstalling deletes all module data!
Reinstall After Uninstall
Section titled “Reinstall After Uninstall”If you uninstall a module:
- Module files deleted
- Database tables deleted
- All data lost
- Must reinstall to use again
- Can restore from backup
Troubleshooting Module Installation
Section titled “Troubleshooting Module Installation”Module Not Appearing After Install
Section titled “Module Not Appearing After Install”Symptom: Module listed but not visible on site
Solution:
1. Check module is "Active" (Modules > Modules)2. Enable module blocks (Appearance > Blocks)3. Verify user permissions (System > Permissions)4. Clear cache (System > Tools > Clear Cache)5. Check .htaccess doesn't block moduleInstallation Error: “Table Already Exists”
Section titled “Installation Error: “Table Already Exists””Symptom: Error during module installation
Solution:
1. Module partially installed before2. Try "Delete then Install" option3. Or uninstall first, then install fresh4. Check database for existing tables: mysql> SHOW TABLES LIKE 'xoops_module%';Module Missing Dependencies
Section titled “Module Missing Dependencies”Symptom: Module won’t install - requires other module
Solution:
1. Note required modules from error message2. Install required modules first3. Then install the module4. Install in correct orderBlank Page When Accessing Module
Section titled “Blank Page When Accessing Module”Symptom: Module loads but shows nothing
Solution:
1. Enable debug mode in mainfile.php: define('XOOPS_DEBUG', 1);
2. Check PHP error log: tail -f /var/log/php_errors.log
3. Verify file permissions: chmod -R 755 /var/www/html/xoops/modules/modulename
4. Check database connection in module config
5. Disable module and reinstallModule Breaks Site
Section titled “Module Breaks Site”Symptom: Installing module breaks website
Solution:
1. Disable the problematic module immediately: Admin > Modules > [Module] > Disable
2. Clear cache: rm -rf /var/www/html/xoops/cache/* rm -rf /var/www/html/xoops/templates_c/*
3. Restore from backup if needed
4. Check error logs for root cause
5. Contact module developerModule Security Considerations
Section titled “Module Security Considerations”Only Install from Trusted Sources
Section titled “Only Install from Trusted Sources”✓ Official XOOPS Repository✓ GitHub official XOOPS modules✓ Trusted module developers✗ Unknown websites✗ Unverified sourcesCheck Module Permissions
Section titled “Check Module Permissions”After installation:
- Review module code for suspicious activity
- Check database tables for anomalies
- Monitor file changes
- Keep modules updated
- Remove unused modules
Permissions Best Practice
Section titled “Permissions Best Practice”Module directory: 755 (readable, not writable by web server)Module files: 644 (readable only)Module data: Protected by databaseModule Development Resources
Section titled “Module Development Resources”Learn Module Development
Section titled “Learn Module Development”- Official Documentation: https://xoops.org/
- GitHub Repository: https://github.com/XOOPS/
- Community Forum: https://xoops.org/modules/newbb/
- Developer Guide: Available in docs folder
Best Practices for Modules
Section titled “Best Practices for Modules”- Install One at a Time: Monitor for conflicts
- Test After Install: Verify functionality
- Document Custom Config: Note your settings
- Keep Updated: Install module updates promptly
- Remove Unused: Delete modules not needed
- Backup Before: Always backup before installing
- Read Documentation: Check module instructions
- Join Community: Ask for help if needed
Module Installation Checklist
Section titled “Module Installation Checklist”For each module installation:
- Research and read reviews
- Verify XOOPS version compatibility
- Backup database and files
- Download latest version
- Install via admin panel
- Configure settings
- Create/position blocks
- Set user permissions
- Test functionality
- Document configuration
- Schedule for updates
Next Steps
Section titled “Next Steps”After installing modules:
- Create content for modules
- Set up user groups
- Explore admin features
- Optimize performance
- Install additional modules as needed
Tags: #modules #installation #extension #management
Related Articles:
- Admin-Panel-Overview
- Managing-Users
- Creating-Your-First-Page
- ../Configuration/System-Settings