הגדרות מערכת
XOOPS הגדרות מערכת
Section titled “XOOPS הגדרות מערכת”מדריך זה מכסה את הגדרות המערכת המלאות הזמינות בפאנל הניהול XOOPS, מאורגן לפי קטגוריות.
ארכיטקטורת הגדרות מערכת
Section titled “ארכיטקטורת הגדרות מערכת”graph TD A[System Settings] --> B[General Settings] A --> C[User Settings] A --> D[Module Settings] A --> E[Meta Tags & Footer] A --> F[Email Settings] A --> G[Cache Settings] A --> H[URL Settings] A --> I[Security Settings] B --> B1[Site Name] B --> B2[Timezone] B --> B3[Language] C --> C1[Registration] C --> C2[Profiles] C --> C3[Permissions] F --> F1[SMTP Config] F --> F2[Notification Rules]גישה להגדרות המערכת
Section titled “גישה להגדרות המערכת”פאנל ניהול > מערכת > העדפות
או נווט ישירות:
http://your-domain.com/xoops/admin/index.php?fct=preferencesדרישות הרשאה
Section titled “דרישות הרשאה”- רק מנהלי אתרים (מנהלי אתרים) יכולים לגשת להגדרות המערכת
- שינויים משפיעים על כל האתר
- רוב השינויים נכנסים לתוקף באופן מיידי
הגדרות כלליות
Section titled “הגדרות כלליות”התצורה הבסיסית עבור התקנת XOOPS שלך.
מידע בסיסי
Section titled “מידע בסיסי”Site Name: [Your Site Name]Default Description: [Brief description of your site]Site Slogan: [Catchy slogan]Admin Email: admin@your-domain.comWebmaster Name: Administrator NameWebmaster Email: admin@your-domain.comהגדרות מראה
Section titled “הגדרות מראה”Default Theme: [Select theme]Default Language: English (or preferred language)Items Per Page: 15 (typically 10-25)Words in Snippet: 25 (for search results)Theme Upload Permission: Disabled (security)הגדרות אזוריות
Section titled “הגדרות אזוריות”Default Timezone: [Your timezone]Date Format: %Y-%m-%d (YYYY-MM-DD format)Time Format: %H:%M:%S (HH:MM:SS format)Daylight Saving Time: [Auto/Manual/None]טבלת פורמט אזור זמן:
| אזור | אזור זמן | UTC קיזוז |
|---|---|---|
| ארה”ב מזרח | America/New_York | -5 / -4 |
| מרכז ארה”ב | America/Chicago | -6 / -5 |
| הר ארה”ב | America/Denver | -7 / -6 |
| ארה”ב האוקיינוס השקט | America/Los_Angeles | -8 / -7 |
| UK/London | Europe/London | 0 / +1 |
| France/Germany | Europe/Paris | +1 / +2 |
| יפן | Asia/Tokyo | +9 |
| סין | Asia/Shanghai | +8 |
| Australia/Sydney | Australia/Sydney | +10 / +11 |
תצורת חיפוש
Section titled “תצורת חיפוש”Enable Search: YesSearch Admin Pages: Yes/NoSearch Archives: YesDefault Search Type: All / Pages onlyWords Excluded from Search: [Comma-separated list]מילים נפוצות שאינן נכללות: ה, a, an, ו, או, אבל, ב, ב, ב, ליד, אל, מ
הגדרות משתמש
Section titled “הגדרות משתמש”שליטה בהתנהגות חשבון המשתמש ובתהליך הרישום.
רישום משתמש
Section titled “רישום משתמש”Allow User Registration: Yes/NoRegistration Type: ☐ Auto-activate (Instant access) ☐ Admin approval (Admin must approve) ☐ Email verification (User must verify email)
Notification to Users: Yes/NoUser Email Verification: Required/Optionalתצורת משתמש חדשה
Section titled “תצורת משתמש חדשה”Auto-login New Users: Yes/NoAssign Default User Group: YesDefault User Group: [Select group]Create User Avatar: Yes/NoInitial User Avatar: [Select default]הגדרות פרופיל משתמש
Section titled “הגדרות פרופיל משתמש”Allow User Profiles: YesShow Member List: YesShow User Statistics: YesShow Last Online Time: YesAllow User Avatar: YesAvatar Max File Size: 100KBAvatar Dimensions: 100x100 pixelsהגדרות דוא”ל של משתמש
Section titled “הגדרות דוא”ל של משתמש”Allow Users to Hide Email: YesShow Email on Profile: YesNotification Email Interval: Immediately/Daily/Weekly/Neverמעקב אחר פעילות משתמשים
Section titled “מעקב אחר פעילות משתמשים”Track User Activity: YesLog User Logins: YesLog Failed Logins: YesTrack IP Address: YesClear Activity Logs Older Than: 90 daysמגבלות חשבון
Section titled “מגבלות חשבון”Allow Duplicate Email: NoMinimum Username Length: 3 charactersMaximum Username Length: 15 charactersMinimum Password Length: 6 charactersRequire Special Characters: YesRequire Numbers: YesPassword Expiration: 90 days (or Never)Accounts Inactive Days to Delete: 365 daysהגדרות מודול
Section titled “הגדרות מודול”הגדר התנהגות מודול בודד.
אפשרויות מודול נפוצות
Section titled “אפשרויות מודול נפוצות”עבור כל מודול מותקן, אתה יכול להגדיר:
Module Status: Active/InactiveDisplay in Menu: Yes/NoModule Weight: [1-999] (higher = lower in display)Homepage Default: This module shows when visiting /Admin Access: [Allowed user groups]User Access: [Allowed user groups]הגדרות מודול מערכת
Section titled “הגדרות מודול מערכת”Show Homepage as: Portal / Module / Static PageDefault Homepage Module: [Select module]Show Footer Menu: YesFooter Color: [Color selector]Show System Stats: YesShow Memory Usage: Yesתצורה לכל מודול
Section titled “תצורה לכל מודול”לכל מודול יכולות להיות הגדרות ספציפיות למודול:
דוגמה - מודול עמוד:
Enable Comments: Yes/NoModerate Comments: Yes/NoComments Per Page: 10Enable Ratings: YesAllow Anonymous Ratings: Yesדוגמה - מודול משתמש:
Avatar Upload Folder: ./uploads/Maximum Upload Size: 100KBAllow File Upload: YesAllowed File Types: jpg, gif, pngגישה להגדרות ספציפיות למודול:
- ניהול > מודולים > [שם מודול] > העדפות
מטא תגים והגדרות SEO
Section titled “מטא תגים והגדרות SEO”הגדר מטא תגים עבור אופטימיזציה למנועי חיפוש.
מטא תגיות גלובליות
Section titled “מטא תגיות גלובליות”Meta Keywords: xoops, cms, content management systemMeta Description: A powerful content management system for building dynamic websitesMeta Author: Your NameMeta Copyright: Copyright 2025, Your CompanyMeta Robots: index, followMeta Revisit: 30 daysשיטות עבודה מומלצות למטא תג
Section titled “שיטות עבודה מומלצות למטא תג”| תג | מטרה | המלצה |
|---|---|---|
| מילות מפתח | מונחי חיפוש | 5-10 מילות מפתח רלוונטיות, מופרדות בפסיק |
| תיאור | חפש רישום | 150-160 תווים |
| מחבר | יוצר העמוד | השם או החברה שלך |
| זכויות יוצרים | משפטי | הודעת זכויות היוצרים שלך |
| רובוטים | הוראות סורק | אינדקס, עקוב (אפשר הוספה לאינדקס) |
הגדרות כותרת תחתונה
Section titled “הגדרות כותרת תחתונה”Show Footer: YesFooter Color: Dark/LightFooter Background: [Color code]Footer Text: [HTML allowed]Additional Footer Links: [URL and text pairs]כותרת תחתונה לדוגמה HTML:
<p>Copyright © 2025 Your Company. All rights reserved.</p><p><a href="/privacy">Privacy Policy</a> | <a href="/terms">Terms of Use</a></p>מטא תגיות חברתיות (גרף פתוח)
Section titled “מטא תגיות חברתיות (גרף פתוח)”Enable Open Graph: YesFacebook App ID: [App ID]Twitter Card Type: summary / summary_large_image / playerDefault Share Image: [Image URL]הגדרות דוא”ל
Section titled “הגדרות דוא”ל”הגדר מערכת מסירה והודעות דוא”ל.
שיטת משלוח דוא”ל
Section titled “שיטת משלוח דוא”ל”Use SMTP: Yes/No
If SMTP: SMTP Host: smtp.gmail.com SMTP Port: 587 (TLS) or 465 (SSL) SMTP Security: TLS / SSL / None SMTP Username: [email@example.com] SMTP Password: [password] SMTP Authentication: Yes/No SMTP Timeout: 10 seconds
If PHP mail(): Sendmail Path: /usr/sbin/sendmail -t -iתצורת דוא”ל
Section titled “תצורת דוא”ל”From Address: noreply@your-domain.comFrom Name: Your Site NameReply-To Address: support@your-domain.comBCC Admin Emails: Yes/Noהגדרות התראות
Section titled “הגדרות התראות”Send Welcome Email: Yes/NoWelcome Email Subject: Welcome to [Site Name]Welcome Email Body: [Custom message]
Send Password Reset Email: Yes/NoInclude Random Password: Yes/NoToken Expiration: 24 hoursהודעות מנהל
Section titled “הודעות מנהל”Notify Admin on Registration: YesNotify Admin on Comments: YesNotify Admin on Submissions: YesNotify Admin on Errors: Yesהתראות משתמש
Section titled “התראות משתמש”Notify User on Registration: YesNotify User on Comments: YesNotify User on Private Messages: YesAllow Users to Disable Notifications: YesDefault Notification Frequency: Immediatelyתבניות דוא”ל
Section titled “תבניות דוא”ל”התאם אישית הודעות דוא”ל בלוח הניהול:
נתיב: מערכת > תבניות דוא”ל
תבניות זמינות:
- רישום משתמש
- איפוס סיסמה
- הודעת תגובה
- הודעה פרטית
- התראות מערכת
- אימיילים ספציפיים למודול
הגדרות cache
Section titled “הגדרות cache”מטב את הביצועים באמצעות שמירה בcache.
תצורת cache
Section titled “תצורת cache”Enable Caching: Yes/NoCache Type: ☐ File Cache ☐ APCu (Alternative PHP Cache) ☐ Memcache (Distributed caching) ☐ Redis (Advanced caching)
Cache Lifetime: 3600 seconds (1 hour)אפשרויות cache לפי סוג
Section titled “אפשרויות cache לפי סוג”cache קבצים:
Cache Directory: /var/www/html/xoops/cache/Clear Interval: DailyMaximum Cache Files: 1000cache APCu:
Memory Allocation: 128MBFragmentation Level: LowMemcache/Redis:
Server Host: localhostServer Port: 11211 (Memcache) / 6379 (Redis)Persistent Connection: Yesמה נשמר בcache
Section titled “מה נשמר בcache”Cache Module Lists: YesCache Configuration Data: YesCache Template Data: YesCache User Session Data: YesCache Search Results: YesCache Database Queries: YesCache RSS Feeds: YesCache Images: YesURL הגדרות
Section titled “URL הגדרות”הגדר URL שכתוב ועיצוב מחדש.
ידידותי URL הגדרות
Section titled “ידידותי URL הגדרות”Enable Friendly URLs: Yes/NoFriendly URL Type: ☐ Path Info: /page/about ☐ Query String: /index.php?p=about
Trailing Slash: Include / OmitURL Case: Lower case / Case sensitiveURL שכתוב חוקים
Section titled “URL שכתוב חוקים”.htaccess Rules: [Display current]Nginx Rules: [Display current if Nginx]IIS Rules: [Display current if IIS]הגדרות אבטחה
Section titled “הגדרות אבטחה”שליטה בתצורה הקשורה לאבטחה.
אבטחת סיסמאות
Section titled “אבטחת סיסמאות”Password Policy: ☐ Require uppercase letters ☐ Require lowercase letters ☐ Require numbers ☐ Require special characters
Minimum Password Length: 8 charactersPassword Expiration: 90 daysPassword History: Remember last 5 passwordsForce Password Change: On next loginאבטחת כניסה
Section titled “אבטחת כניסה”Lock Account After Failed Attempts: 5 attemptsLock Duration: 15 minutesLog All Login Attempts: YesLog Failed Logins: YesAdmin Login Alert: Send email on admin loginTwo-Factor Authentication: Disabled/Enabledאבטחת העלאת קבצים
Section titled “אבטחת העלאת קבצים”Allow File Uploads: Yes/NoMaximum File Size: 128MBAllowed File Types: jpg, gif, png, pdf, zip, doc, docxScan Uploads for Malware: Yes (if available)Quarantine Suspicious Files: Yesאבטחת הפעלה
Section titled “אבטחת הפעלה”Session Management: Database/FilesSession Timeout: 1800 seconds (30 min)Session Cookie Lifetime: 0 (until browser closes)Secure Cookie: Yes (HTTPS only)HTTP Only Cookie: Yes (prevent JavaScript access)CORS הגדרות
Section titled “CORS הגדרות”Allow Cross-Origin Requests: NoAllowed Origins: [List domains]Allow Credentials: NoAllowed Methods: GET, POSTהגדרות מתקדמות
Section titled “הגדרות מתקדמות”אפשרויות תצורה נוספות למשתמשים מתקדמים.
מצב ניפוי באגים
Section titled “מצב ניפוי באגים”Debug Mode: Disabled/EnabledLog Level: Error / Warning / Info / DebugDebug Log File: /var/log/xoops_debug.logDisplay Errors: Disabled (production)כוונון ביצועים
Section titled “כוונון ביצועים”Optimize Database Queries: YesUse Query Cache: YesCompress Output: YesMinify CSS/JavaScript: YesLazy Load Images: Yesהגדרות תוכן
Section titled “הגדרות תוכן”Allow HTML in Posts: Yes/NoAllowed HTML Tags: [Configure]Strip Harmful Code: YesAllow Embed: Yes/NoContent Moderation: Automatic/ManualSpam Detection: Yesהגדרות Export/Import
Section titled “הגדרות Export/Import”הגדרות גיבוי
Section titled “הגדרות גיבוי”ייצוא הגדרות נוכחיות:
לוח ניהול > מערכת > כלים > הגדרות ייצוא
# Settings exported as JSON file# Download and store securelyשחזר הגדרות
Section titled “שחזר הגדרות”ייבא הגדרות שיוצאו בעבר:
לוח ניהול > מערכת > כלים > הגדרות ייבוא
# Upload JSON file# Verify changes before confirmingהיררכיית תצורה
Section titled “היררכיית תצורה”XOOPS היררכיית הגדרות (מלמעלה למטה - ניצחונות במשחק הראשון):
1. mainfile.php (Constants)2. Module-specific config3. Admin System Settings4. Theme configuration5. User preferences (for user-specific settings)הגדרות סקריפט גיבוי
Section titled “הגדרות סקריפט גיבוי”צור גיבוי של ההגדרות הנוכחיות:
<?phprequire_once __DIR__ . '/mainfile.php';
$config_handler = xoops_getHandler('config');$configs = $config_handler->getConfigs();
$backup = [ 'exported_date' => date('Y-m-d H:i:s'), 'xoops_version' => XOOPS_VERSION, 'php_version' => PHP_VERSION, 'settings' => []];
foreach ($configs as $config) { $backup['settings'][$config->getVar('conf_name')] = [ 'value' => $config->getVar('conf_value'), 'description' => $config->getVar('conf_desc'), 'type' => $config->getVar('conf_type'), ];}
// Save to JSON filefile_put_contents( '/backups/xoops_settings_' . date('YmdHis') . '.json', json_encode($backup, JSON_PRETTY_PRINT));
echo "Settings backed up successfully!";?>שינויים נפוצים בהגדרות
Section titled “שינויים נפוצים בהגדרות”שנה את שם האתר
Section titled “שנה את שם האתר”- ניהול > מערכת > העדפות > הגדרות כלליות
- שנה את “שם האתר”
- לחץ על “שמור”
Enable/Disable הרשמה
Section titled “Enable/Disable הרשמה”- ניהול > מערכת > העדפות > הגדרות משתמש
- החלף את האפשרות “אפשר רישום משתמש”
- בחר סוג רישום
- לחץ על “שמור”
שנה את ערכת ברירת המחדל
Section titled “שנה את ערכת ברירת המחדל”- ניהול > מערכת > העדפות > הגדרות כלליות
- בחר “נושא ברירת מחדל”
- לחץ על “שמור”
- נקה את הcache כדי שהשינויים ייכנסו לתוקף
עדכן אימייל ליצירת קשר
Section titled “עדכן אימייל ליצירת קשר”- ניהול > מערכת > העדפות > הגדרות כלליות
- שנה את “אימייל מנהל מערכת”
- שנה את “אימייל מנהל האתר”
- לחץ על “שמור”
רשימת רשימת אימות
Section titled “רשימת רשימת אימות”לאחר הגדרת הגדרות המערכת, ודא:
- שם האתר מוצג כהלכה
- אזור הזמן מציג את השעה הנכונה
- הודעות דוא”ל נשלחות כראוי
- רישום משתמש פועל כפי שהוגדר
- דף הבית מציג את ברירת המחדל שנבחרה
- פונקציונליות החיפוש עובדת
- cache משפר את זמן טעינת העמוד
- עבודה ידידותית URLs (אם מופעל)
- מטא תגים מופיעים במקור הדף
- הודעות מנהל התקבלו
- הגדרות אבטחה נאכפות
הגדרות פתרון בעיות
Section titled “הגדרות פתרון בעיות”הגדרות לא נשמרות
Section titled “הגדרות לא נשמרות”פתרון:
# Check file permissions on config directorychmod 755 /var/www/html/xoops/var/
# Verify database writable# Try saving again in admin panelשינויים לא נכנסים לתוקף
Section titled “שינויים לא נכנסים לתוקף”פתרון:
# Clear cacherm -rf /var/www/html/xoops/cache/*rm -rf /var/www/html/xoops/templates_c/*
# If still not working, restart web serversystemctl restart apache2אימייל לא נשלח
Section titled “אימייל לא נשלח”פתרון:
- אמת את אישורי SMTP בהגדרות האימייל
- בדוק עם כפתור “שלח דואר אלקטרוני לבדיקה”.
- בדוק יומני שגיאה
- נסה להשתמש ב-PHP mail() במקום SMTP
השלבים הבאים
Section titled “השלבים הבאים”לאחר הגדרת הגדרות המערכת:
- הגדר את הגדרות האבטחה
- ייעול ביצועים
- חקור את תכונות פאנל הניהול
- הגדר ניהול משתמשים
תגים: #system-settings #configuration #preferences #admin-panel
מאמרים קשורים:
- ../../06-Publisher-Module/User-Guide/Basic-Configuration
- אבטחה-תצורה
- ביצועים-אופטימיזציה
- ../First-Steps/Admin-Panel-Overview