Publisher - תצורה בסיסית
תצורה בסיסית של Publisher
Section titled “תצורה בסיסית של Publisher”הגדר את הגדרות מודול Publisher, העדפות ואפשרויות כלליות עבור התקנת XOOPS שלך.
גישה לתצורה
Section titled “גישה לתצורה”ניווט בלוח הניהול
Section titled “ניווט בלוח הניהול”XOOPS Admin Panel└── Modules └── Publisher ├── Preferences ├── Settings └── Configuration- היכנס בתור מנהל מערכת
- עבור אל פאנל ניהול → מודולים
- מצא את מודול Publisher
- לחץ על הקישור העדפות או אדמין
הגדרות כלליות
Section titled “הגדרות כלליות”תצורת גישה
Section titled “תצורת גישה”Admin Panel → Modules → Publisherלחץ על סמל גלגל השיניים או הגדרות עבור האפשרויות הבאות:
אפשרויות תצוגה
Section titled “אפשרויות תצוגה”| הגדרה | אפשרויות | ברירת מחדל | תיאור |
|---|---|---|---|
| פריטים בעמוד | 5-50 | 10 | מאמרים המוצגים ברשימות |
| הצג פירורי לחם | Yes/No | כן | תצוגת שבילי ניווט |
| השתמש בהחלפה | Yes/No | כן | עמוד ברשימות ארוכות |
| תאריך הצגה | Yes/No | כן | הצג את תאריך המאמר |
| הצג קטגוריה | Yes/No | כן | הצג קטגוריית מאמרים |
| הצג מחבר | Yes/No | כן | הצג מחבר המאמר |
| הצג תצוגות | Yes/No | כן | הצג ספירת צפיות במאמר |
תצורה לדוגמה:
Items Per Page: 15Show Breadcrumb: YesUse Paging: YesShow Date: YesShow Category: YesShow Author: YesShow Views: Yesאפשרויות מחבר
Section titled “אפשרויות מחבר”| הגדרה | ברירת מחדל | תיאור |
|---|---|---|
| הצג את שם המחבר | כן | הצג שם אמיתי או שם משתמש |
| השתמש בשם משתמש | לא | הצג שם משתמש במקום שם |
| הצג דוא”ל של המחבר | לא | הצג דוא”ל ליצירת קשר עם המחבר |
| הצג את דמות המחבר | כן | הצג דמות משתמש |
תצורת עורך
Section titled “תצורת עורך”בחר WYSIWYG עורך
Section titled “בחר WYSIWYG עורך”Publisher תומך במספר עורכים:
עורכים זמינים
Section titled “עורכים זמינים”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 (מומלץ)
Section titled “CKEditor (מומלץ)”הטוב ביותר עבור: רוב המשתמשים, דפדפנים מודרניים, תכונות מלאות
- עבור אל העדפות
- הגדר את עורך: CKEditor
- הגדר אפשרויות:
Editor: CKEditor 4.xToolbar: FullHeight: 400pxWidth: 100%Remove plugins: []Add plugins: [mathjax, codesnippet]FCKeditor
Section titled “FCKeditor”הטוב ביותר עבור: תאימות, מערכות ישנות יותר
Editor: FCKeditorToolbar: DefaultCustom config: (optional)TinyMCE
Section titled “TinyMCE”הטוב ביותר עבור: טביעת רגל מינימלית, עריכה בסיסית
Editor: TinyMCEPlugins: [paste, table, link, image]Toolbar: minimalהגדרות קובץ והעלאה
Section titled “הגדרות קובץ והעלאה”הגדר ספריות העלאה
Section titled “הגדר ספריות העלאה”Admin → Publisher → Preferences → Upload Settingsהגדרות סוג קובץ
Section titled “הגדרות סוג קובץ”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 - movמגבלות גודל קובץ
Section titled “מגבלות גודל קובץ”| סוג קובץ | גודל מקסימלי | הערות |
|---|---|---|
| תמונות | 5 מגה-בייט | לכל קובץ תמונה |
| מסמכים | 10 מגה-בייט | PDF, קבצי Office |
| מדיה | 50 מגה-בייט | Video/audio קבצים |
| כל הקבצים | 100 מגה-בייט | סך הכל להעלאה |
תְצוּרָה:
Max Image Upload Size: 5 MBMax Document Upload Size: 10 MBMax Media Upload Size: 50 MBTotal Upload Size: 100 MBMax Files per Article: 5שינוי גודל תמונה
Section titled “שינוי גודל תמונה”בעל האתר משנה אוטומטית את גודל התמונות לצורך עקביות:
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: Resizeהגדרות הערה ואינטראקציה
Section titled “הגדרות הערה ואינטראקציה”תצורת הערות
Section titled “תצורת הערות”Preferences → Comments Sectionאפשרויות הערה
Section titled “אפשרויות הערה”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/Noתצורת דירוגים
Section titled “תצורת דירוגים”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 הגדרות
Section titled “SEO & URL הגדרות”אופטימיזציה למנועי חיפוש
Section titled “אופטימיזציה למנועי חיפוש”Preferences → SEO SettingsURL תצורה
Section titled “URL תצורה”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, titleאפשר SEO URLs (מתקדם)
Section titled “אפשר SEO URLs (מתקדם)”דרישות מוקדמות:
- Apache עם
mod_rewriteמופעל .htaccessתמיכה מופעלת
שלבי תצורה:
- עבור אל העדפות → SEO הגדרות
- הגדר SEO URLs: כן
- הגדר URL שכתוב: Apache mod_rewrite
- ודא שקובץ
.htaccessקיים בתיקיית Publisher
תצורת.htaccess:
<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 וביצועים
Section titled “cache וביצועים”תצורת cache
Section titled “תצורת cache”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: Yesנקה cache
Section titled “נקה cache”ניקוי cache ידני:
- עבור אל אדמין ← מפרסם ← כלים
- לחץ על נקה cache
- בחר סוגי cache לניקוי:
- cache קטגוריה
- cache מאמרים
- חסום cache
- כל הcache
- לחץ על נקה נבחרים
שורת פקודה:
# Clear all Publisher cachephp /path/to/xoops/admin/cache_manage.php publisher
# Or directly delete cache filesrm -rf /path/to/xoops/var/cache/publisher/*הודעה וזרימת עבודה
Section titled “הודעה וזרימת עבודה”הודעות דוא”ל
Section titled “הודעות דוא”ל”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)זרימת עבודה להגשה
Section titled “זרימת עבודה להגשה”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 versionsהגדרות תוכן
Section titled “הגדרות תוכן”ברירות מחדל לפרסום
Section titled “ברירות מחדל לפרסום”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 אפשרויות תוכן
Section titled “WYSIWYG אפשרויות תוכן”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)הגדרות מנוע חיפוש
Section titled “הגדרות מנוע חיפוש”הגדר את שילוב החיפוש
Section titled “הגדר את שילוב החיפוש”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: Yesהגדרות מתקדמות
Section titled “הגדרות מתקדמות”מצב ניפוי באגים (פיתוח בלבד)
Section titled “מצב ניפוי באגים (פיתוח בלבד)”Preferences → AdvancedDebug Mode: - Enabled: No (only for development!)
Development Features: - Show SQL queries: No - Log errors: Yes - Error email: admin@example.comאופטימיזציה של מסדי נתונים
Section titled “אופטימיזציה של מסדי נתונים”Admin → Tools → Optimize Database# Manual optimizationmysql> OPTIMIZE TABLE publisher_items;mysql> OPTIMIZE TABLE publisher_categories;mysql> OPTIMIZE TABLE publisher_comments;התאמה אישית של מודול
Section titled “התאמה אישית של מודול”תבניות נושא
Section titled “תבניות נושא”Preferences → Display → Templatesבחר ערכת תבניות:
- ברירת מחדל
- קלאסי
- מודרני
- כהה
- מותאם אישית
כל תבנית שולטת:
- פריסת מאמר
- רישום קטגוריות
- תצוגת ארכיון
- תצוגת הערות
עצות תצורה
Section titled “עצות תצורה”שיטות עבודה מומלצות
Section titled “שיטות עבודה מומלצות”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]- התחל פשוט - הפעל תחילה תכונות ליבה
- בדוק כל שינוי - אמת לפני שתמשיך הלאה
- הפעל cache - משפר את הביצועים
- גיבוי ראשון - ייצוא הגדרות לפני שינויים גדולים
- יומני מעקב - בדוק יומני שגיאות באופן קבוע
מיטוב ביצועים
Section titled “מיטוב ביצועים”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)הקשחת אבטחה
Section titled “הקשחת אבטחה”For Better Security: - Moderate comments: Yes - Disable HTML in comments: Yes - XSS filtering: Yes - File type whitelist: Strict - Max upload size: Reasonable limitExport/Import הגדרות
Section titled “Export/Import הגדרות”תצורת גיבוי
Section titled “תצורת גיבוי”Admin → Tools → Export Settingsכדי לגבות את התצורה הנוכחית:
- לחץ על ייצוא תצורה
- שמור קובץ
.cfgשהורד - אחסן במקום בטוח
כדי לשחזר:
- לחץ על ייבא תצורה
- בחר
.cfgקובץ - לחץ על שחזר
מדריכי תצורה קשורים
Section titled “מדריכי תצורה קשורים”- ניהול קטגוריות
- יצירת מאמר
- תצורת הרשאה
- מדריך התקנה
פתרון בעיות בתצורה
Section titled “פתרון בעיות בתצורה”ההגדרות לא יישמרו
Section titled “ההגדרות לא יישמרו”פתרון:
- בדוק את הרשאות הספרייה ב-
/var/config/ - ודא גישת כתיבה PHP
- בדוק אם יש בעיות ביומן השגיאות PHP
- נקה את הcache של הדפדפן ונסה שוב
העורך לא מופיע
Section titled “העורך לא מופיע”פתרון:
- ודא שהפלאגין של העורך מותקן
- בדוק את תצורת העורך XOOPS
- נסה אפשרות עורך אחרת
- בדוק במסוף הדפדפן אם יש שגיאות JavaScript
בעיות ביצועים
Section titled “בעיות ביצועים”פתרון:
- אפשר שמירה בcache
- צמצם פריטים בעמוד
- דחוס תמונות
- בדוק אופטימיזציה של מסד הנתונים
- עיין ביומן שאילתות איטי
השלבים הבאים
Section titled “השלבים הבאים”- הגדר הרשאות קבוצה
- צור את המאמר הראשון שלך
- הגדר קטגוריות
- סקור תבניות מותאמות אישית
#publisher #configuration #preferences #settings #xoops