אוקייי אז ככה:
יש לי מוד של בנק..
אני רוצה להתקין אותו על השרת שלי:
http://www.mysite.com/new_forum
זה התיקיה של הפורום שלי..
עכשיו בוא נגיד שבקובץ של ההתקנה אומרים לי להעלות את הקובץ:
admin_bank.php
לתיקיה הזאת:
modules/Forums/admin/
ואין לי אותה בתיקיה של הפורום!
אז יצרתי תיקיות כאלה בתיקיה של הפורום כדי שיהיו ככה:
http://www.mysite.com/new_forum/modules/Forums/admin/
והעתקתי כל קובץ לתיקיה אחרת כמו שכתוב בקובץ התקנה..
אח"כ הם אומרים לי להכנס לקובץ:
http://www.youraddress.com/modules.php? ... ank_instal
זאת אומרת:
http://www.mysite.com/new_forum/modules ... nstall.php
וכאן נתקעתי:
רשום לי בקובץ התקנה שאני צריך להריץ את הקובץ
bank_install.php
אבל כשאני מנסה הוא רושם לי בדפדפן:
You can't access this file directly...
וכתובת הפורום שלי הוא:
http://www.kamasutrance.com/new_forum/index.php
זה המוד הראשון שאני מתקין..
מה לעזאזל אני אמור לעשות עכשיו!@?
הנה קובץ ההתקנה,אולי אתם תבינו:
קוד: בחר הכל
/***************************************************************************
* install.txt
* -------------------
* Version : 1.0.0
* began : Tuesday, December 17th, 2002
* released : Wednesday, December 18th, 2002
* email : [email protected]
* aim : zarath42
* msn messanger : [email protected]
*
* requires : 2.0.0+ phpbb & points mod
* files to edit : /includes/page_header.php
* : /templates/*/overall_header.tpl
* difficulty : easy
* time : 5minutes
*
***************************************************************************/
/***************************************************************************
*
* copyright (C) 2002/2003 IcE-RaiN/Zarath
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* http://www.gnu.org/copyleft/gpl.html
*
***************************************************************************/
/***************************************************************************
* התקנה:
*
* 1. העלה לשרת את הקבצים הללו:
* modules/Forums/admin/admin_bank.php
* templates/Subsilver/admin/bank_config_body.tpl
* bank_body.tpl
* modules/Forums/bank.php
* modules/Forums/bank_install.php (Only needed for install)
*
* 2. הרץ את http://www.youraddress.com/modules.php?name=Forums&file=bank_install ואז מחק אותו.
*
* 3. Execute Steps Below
*
***************************************************************************/
------[פתח]------
modules/Forums/includes/page_header.php
------[מצא]------
'PAGE_TITLE' => $page_title,
------[הוסף אחרי]------
'BANK' => 'Bank',
------[מצא]------
'U_FAQ' => append_sid('faq.'.$phpEx),
------[הוסף אחרי]------
'U_BANK' => append_sid('bank.'.$phpEx),
------[פתח]------
modules/Forums/template/*/overall_header.tpl
------[מצא]------
<a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>
------[הוסף לפני]------
<a href="{U_BANK}" class="mainmenu">{BANK}</a>
------[סגור ושמור את כל הקבצים!]------