👑 Administrator Guide
Complete guide to managing your Xiuno BBS forum
Getting Started
Accessing the Admin Panel
Navigate to https://xiuno.wiki/admin/ and login with your administrator credentials.
Admin Dashboard Overview
The admin panel provides access to:
- Dashboard: Site statistics and quick actions
- Forums: Manage forum categories and structure
- Users: User management and permissions
- Groups: User role configuration
- Settings: Site configuration
- Plugins: Plugin management
- Themes: Theme customization
- Moderation: Content moderation tools
Forum Structure Management
Creating Forum Categories
Step 1: Navigate to Forums
Go to Admin Panel → Forums → Create Forum
Step 2: Configure Forum Settings
| Field | Description | Example |
|---|---|---|
| Forum Name | Display name of the forum | "General Discussion" |
| Description | Brief description of forum purpose | "General topics and announcements" |
| Order | Display priority (lower = higher) | 0, 1, 2... |
| Parent Forum | Create sub-forum (optional) | Select parent or none |
| Icon | Forum icon/emoji | 💬, 📚, 🔧 |
Step 3: Set Permissions
Configure who can access this forum:
- Public: Everyone can view and post
- Members Only: Registered users only
- Read Only: Users can view but not post
- Private: Specific groups only
Recommended Forum Structure
📚 Documentation
├── 📖 Getting Started
├── ⚙️ Configuration
└── 🔧 Troubleshooting
💾 Downloads
├── 📦 Releases
├── 🧩 Plugins
└── 🎨 Themes
💬 Community
├── 📢 Announcements
├── 💭 General Discussion
├── 🐛 Bug Reports
└── 💡 Feature Requests
🛠️ Development
├── 🔌 Plugin Development
├── 🎨 Theme Development
└── 🔗 API & Integration
User Management
User Administration
Navigate to Admin Panel → Users
Common User Operations
| Operation | How To | Use Case |
|---|---|---|
| Search Users | Use search box (by username, email, UID) | Find specific user quickly |
| Edit User | Click username → Edit | Change email, group, or profile |
| Ban User | User → Set group to "Banned" | Prevent user from logging in |
| Delete User | User → Delete (posts remain) | Remove spam accounts |
| Promote User | User → Change group | Make moderator or admin |
User Groups
Navigate to Admin Panel → Groups
Default Groups
| Group ID | Name | Permissions |
|---|---|---|
| 1 | Administrator | Full access, admin panel, all permissions |
| 2 | Moderator | Edit/delete posts, ban users, manage threads |
| 3 | VIP | Normal user + extra features (configurable) |
| 101 | Member | Standard user permissions |
| 102 | Banned | Cannot login or post |
Creating Custom Groups
Example: Creating "Contributors" Group
- Go to Groups → Create Group
- Set name: "Contributors"
- Configure permissions:
- ✓ Create threads
- ✓ Reply to threads
- ✓ Upload attachments (up to 10MB)
- ✓ Edit own posts (within 24 hours)
- ✗ Delete others' posts
- Save group
Content Moderation
Thread Management
Navigate to Admin Panel → Moderation → Threads
Moderator Actions
- Pin Thread: Keep thread at top of forum
- Lock Thread: Prevent new replies
- Move Thread: Transfer to different forum
- Merge Threads: Combine duplicate discussions
- Delete Thread: Remove thread and all replies
- Highlight: Add color highlight to important threads
Post Moderation
For individual posts in a thread:
- Edit: Fix typos or formatting
- Delete: Remove spam or inappropriate content
- Soft Delete: Hide from users but keep in database
- Report: Flag for admin review
• Document all moderation actions
• Be consistent with rules enforcement
• Communicate reasons for moderation
• Give warnings before bans when possible
Site Settings
General Settings
Navigate to Admin Panel → Settings → General
| Setting | Recommendation | Purpose |
|---|---|---|
| Site Name | "Xiuno Wiki" | Appears in title tags and headers |
| Site URL | https://xiuno.wiki | Base URL for links and redirects |
| ICP License | Leave empty (China only) | Required for Chinese hosting |
| Copyright | © 2026 Xiuno Wiki | Footer copyright notice |
| Analytics Code | Google Analytics ID | Track visitor statistics |
Registration Settings
Navigate to Settings → User Registration
Anti-Spam Options
- Email Verification Require users to verify email before posting
- CAPTCHA Prevent automated registrations
- Admin Approval Manually approve new registrations
- Invite Only Closed registration with invite codes
SEO Settings
// In conf/conf.php
'urlrewrite' => 1, // Enable friendly URLs
'url_rewrite_suffix' => '.html', // Add .html suffix
'sitename' => 'Xiuno Wiki', // Meta title
'sitebrief' => 'Open source BBS', // Meta description
'sitekeywords' => 'forum,wiki,xiuno', // Meta keywords
Plugin Management
Installing Plugins
Method 1: Admin Panel Upload
- Download plugin ZIP from Downloads
- Go to Admin → Plugins → Upload
- Select ZIP file and upload
- Enable plugin after installation
Method 2: Manual Installation
- Extract plugin to
plugin/plugin-name/ - Set permissions:
chmod 755 plugin/plugin-name - Go to Admin → Plugins
- Click "Enable" next to plugin name
Managing Plugins
| Action | Steps |
|---|---|
| Enable/Disable | Admin → Plugins → Toggle switch |
| Configure | Plugin → Settings (if available) |
| Update | Download new version → Reinstall |
| Uninstall | Disable plugin → Delete from plugin/ |
Theme Customization
Changing Themes
Navigate to Admin → Themes
- Browse available themes
- Click "Preview" to see demo
- Click "Activate" to apply theme
- Clear cache:
rm -rf tmp/*
Custom CSS
Add custom styles in Admin → Themes → Custom CSS:
/* Custom purple theme */
:root {
--primary-color: #667eea;
--secondary-color: #764ba2;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.btn-primary {
background: var(--primary-color);
border: none;
}
Backup & Maintenance
Automated Backups
Create a backup script: /home/xiuno/backup.sh
#!/bin/bash
DATE=$(date +%Y%m%d_%H%M%S)
BACKUP_DIR="/home/xiuno/backups"
# Database backup
mysqldump -u xiuno -p'your_password' xiuno > $BACKUP_DIR/db_$DATE.sql
# Files backup
tar -czf $BACKUP_DIR/files_$DATE.tar.gz /home/xiuno/public_html
# Delete old backups (keep 30 days)
find $BACKUP_DIR -name "*.sql" -mtime +30 -delete
find $BACKUP_DIR -name "*.tar.gz" -mtime +30 -delete
echo "Backup completed: $DATE"
Schedule with cron:
# Daily backup at 2 AM
0 2 * * * /home/xiuno/backup.sh >> /home/xiuno/backup.log 2>&1
Maintenance Mode
To enable maintenance mode, create file: tmp/maintenance.lock
touch tmp/maintenance.lock
Visitors will see a maintenance message. Remove file to restore access.
Database Optimization
Run weekly maintenance:
mysql -u xiuno -p
USE xiuno;
OPTIMIZE TABLE bbs_thread;
OPTIMIZE TABLE bbs_post;
OPTIMIZE TABLE bbs_user;
ANALYZE TABLE bbs_thread;
ANALYZE TABLE bbs_post;
Security Best Practices
✓ Keep Xiuno BBS updated to latest version
✓ Use strong admin passwords (16+ characters)
✓ Enable HTTPS/SSL certificate
✓ Disable directory listing
✓ Restrict access to /admin/ by IP (optional)
✓ Regular database backups
✓ Monitor error logs for suspicious activity
✓ Keep PHP and MySQL updated
✓ Use prepared statements (built-in)
✓ Enable CSRF protection (default)
Restricting Admin Access
Add to .htaccess in admin/ directory:
# Allow only specific IP addresses
Order Deny,Allow
Deny from all
Allow from 123.456.789.0 # Your IP
Allow from 192.168.1.0/24 # Local network
Performance Monitoring
Site Statistics
Check in Admin → Dashboard:
- Total users, threads, posts
- Daily active users
- New registrations
- Database size
- Cache hit ratio
Performance Tips
- Enable Redis: Significantly faster than MySQL cache
- Enable Gzip: Reduce bandwidth usage
- Optimize Images: Compress uploads automatically
- CDN: Use CloudFlare for static assets
- Database Indexing: Already optimized automatically
• Read Plugin Development to extend functionality
• Check Troubleshooting Guide for common issues
• Join the community forum for support