چند ماژول مفيد براي ناك>ساخت پرشين بلاگ براي هر ناك

sasan4u

Member
بعله اينها يعني ماژول ساب دمين و ماژول ساخت يك وب پيج نياز به فارسي كردن داره و لطفا افرادي كه علاقمندن به كمك در فارسي سازي اعلام كنن مطلب مفيد درباره نصب ماژول ساب دمين
كه از صفحه نحوه نصبه و لازمه ترجمه بشه

This is the installation instruction for myLounge Redirection 1.4 . PHP-NUKE version.
Please read this text carefully to get a correct installation of the scripts.

REQUIREMENTS:

This software requires a running webserver (preferred apache) with php 4.1 installed (no version below 4.1 is supported!).
You also need 1 or more domains with wildcarded subdomains. If you are not sure what this means, ask you webspace provider about this.
The wildcards must point to the web root directory.
The software has been tested under Windows(tm) and Redhat(tm) Linux (both with apache as webserver).

1. INTRODUCTION

This set of scripts allows you to run a redirection service. Users may signup at your site to get a short and catchy domain name.
You as the webmaster may put advertisements on each redirected page.
Please keep the link back to my website http://www.mylounge.com included in the template files.
If you remove the link back to mylounge.com - to be honest: there's nothing I can do about that :)
But I would be happy if you keep that link, so that other people also are able to download this software.
You may also present this link on any other web-accessible page of your website.

2. COMPLETE NEW INSTALLATION

This is the point to start if you never have used mylounge Redirection before.

Well, let's start.
Installation is done quick and quite easy. All you need initially to start is a text editor to change a few variables in one file,
and a ftp-program to load the scripts up on your server.
Now here are detailed installation instructions...

The following 2 files MUST be placed in your web root directory:
.htaccess
index.php

If you already have a file called "index.php" in your web root,
rename it (for example "index2.php" or better "home.php" or "start.php") and use this one.
You can still use the now called "index2.php"/"home.php"/"start.php" as your default startpage
(This can be done in the admin panel, more on that in "d.").

b. Editing variables

Open the file "vars.php" (located in the directory "include") with your favourite text editor.
There are 3 to 4 variables you might have to change:

* $mysql_host is the name of the host the mysql-server is running on.
In most cases it is 'localhost' and there is no need to change it. If you are unsure about that, please ask your webspace provider.

* $mysql_username is the username to access the mysql-server.
If you are unsure about that, please ask your webspace provider.

* $mysql_passwd is the password to access the mysql-server.
If you are unsure about that, please ask your webspace provider.

* $mysql_dbase is the name of the database where the tables will be installed.
If you are unsure about that, please ask your webspace provider.

The other variables in this file are quite self explaining.

If you want to, you can also change all template files (*.html) in the "html/templatename"-directory to fit your needs.
You can do so with you favourite HTML editor, or with any text editor you prefer.

*********IMPORTANT*********: there are certain words like {text_125}, {reserved} or {stats} written in the templates.
These are tags which will be replaced by content while the scripts are running.
YOU HAVE TO KEEP THEM IN ORDER TO RUN THE SCRIPTS.

If you want to use other than the standard templates, just put the whole directory with the new template set into the "html" directory
(name the directory e.g. "newtemplate") and select it in the admin area (you can also select another template set during installation).

Don't forget to save the files after you made the changes.


c. Upload the scripts

Upload the html folder into the root directory of your webserver.
The files "index.php" and ".htaccess" must be placed directly into the web root (e.g. http://www.yourdomain.com/index.php).

It is important that you transfer the scripts in ASCII mode, and the image (bar.gif) in binary mode. Normally this should work automatically,
depending on the ftp-program you use. Otherwise manually switch to ASCII or binary (ask you ftp-program's documentation about that).
Also leave the directory names and structure as they are.


d. run "setup.php"

Open your web browser and call the script "setup.php" like this: http://www.yourdomain.com/setup.php
You'll see a welcome page and your mySQL-data (the one you edited in "vars.php").
All other steps are self-explaining.
During step 3 you may eventually choose the former renamed "index2.php"/"home.php"/"start.php" as "Default startpage".
After finalizing setup, don't forget to delete the files "setup.php" from your web server.
RENAMING IT IS NOT RECOMMENDED for security reasons.

e. Change files original "index.php" (rename other.php) links.
Root folder:
mainfile.php - all call index.php rename your new default startpage name. (new portal start.php)
modules.php
header.php
footer.php
banners.php
backend.php
auth.php
admin.php
blocks folder
all files
Modules/Your_Account folder
index.php

3. CONFIGURATION AND RUNNING

After setup or upgrade, open admin.php like this: http://www.yourdomain.com/modules.php?name=Subdomain&file=sadmin
You'll be prompted for your username and password.
After filling them in and pressing the login button, you are in the main administration screen, and here you see different options to choose from.
What you should do first, is filling in the domain(s) you want to use for your redirection service (the domains your user can sign up to, at least one is required)
and the categories to categorise the user's webpage’s (otherwise no user can register).
When you do an upgrade of an old installation, you have to edit your categories (because of a new ad system) before anyone can register to your services.

Play around with all the options in the administration area, they should be self-explaining.

That's all. For questions, please use the message board at http://www.mylounge.com.
Note that I try to, but that I am not obligated to support the scripts.

Many thanks to Arthur Khessin for the "forbidden words" idea, and to scooby for this corrected readme file.
I wish you best luck and success with your redirection service.
Thank you for using myLounge Redirection!

4. TIPS

When you change the forbidden words or reserved names please make sure YOU DONT put -- on the last word else you might get a php error.

Example 1 : --hackz--warez--appz--sex-- this is incorrect
Example 2 : --hackz--warez--appz--sex this is correct

Also take care when changing the templates as some html editors add extra information to the form control

Example frontpage 2002 : will change this line from <input type="checkbox" name="terms" style="border:none">

to

<input type="checkbox" name="terms" style="border:none" value="ON">

this will cause users an error and will not let let them register as it will say "You have to agree to the terms" over and over.


If you want to, you can add different languages to the scripts. Just translate english.php to your favourite language, save it as, lets say spanish.php,
and put it into the "languages" directory on your webserver. In the admin area then set this language as default.

to

Admin link adminpage, adminbox wiev:
Search mainfile.php
themesidebox($title, $content);
to in front of him insert:
$content .= "<strong><big>·</big></strong> <a href=\"modules.php?name=Subdomain&file=sadmin\">SubDomain admin</a><br>";


5. DISCLAIMER OF WARRANTY

THIS SOFTWARE AND THE ACCOMPANYING FILES ARE SOLD "AS IS" AND WITHOUT WARRANTIES AS TO PERFORMANCE OR MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED.
MyLounge is not liable for the content of any webpage redirected with myLounge Redirection.
The user (you) must assume the entire risk of using the program.
 

sasan4u

Member
با اين ماژول شما مي تونيد به كساني كه سايت جداگانه دارن در سايت خودتون ساب دمين بدين هم تبليغي مي شه براي سايت شما هم يك نوع لينك دادن به سايت ديگران مثلا شايد خيلي ها دوست داشته باشن يك ساب دمين رايگان از سايت آقا مجيد داشته باشن كه وقتي افراد اين ساب دمين رو مي بينن در واقع سايت اون فرد كه خودش يك دمين مستقل ثبت شده هم داره رو تحت ساب دمين سايت آقا مجيد مي بينند و اگر روي قسمت ها يا بنر سايت شون كليك كنن آدرس يا دمين اصلي نشون داده مي شه
سعي من اينه كه يه جوري اين ماژول ساب دمين رو با ماژول ژورنال ربط بدم تا فرد وبلاگي مثل پرشين بلاگ با ساب دمين رايگان داشته باشه
و اين ماژول ساخت يك وپ پيج هم چيز خيلي مفيديه كه كاربران ناك مي تونن يك صفحه شخصي داشته باشن براي معرفي خودشون كه براحتي از داخل امكانات هر فرد قابل دسترس و ويرايشه

اگه شما زحمت فارسي كردنش رو بكشيد جاي كمال تشكره
 

ehsan-ets

Member
اقا من اين webpage1.4 رو فارسي كردم
فقط تو قسمتي كه براي موژول ها-قسمت موژول your_Account رو نمي دونم اصلا چي جوري هست
اگر يكي كمك كنه كه چي جوريه بذارم براي دانلود
 

sasan4u

Member
همين طور كه خودش گفته شما دوتا فايل دارين كه لازمه عوض بشه

change*.index.php به index.php
change*.navbar.php به navbar.php
جاي ستاره شماره متناسب با ورژن ناك كه استفاده مي كنيد مثلا براي 7.5 بهتر از آخرين ورژن استفاده بشه 6.5و بهتر فايلهاي اصلي رو نگه دارين


4. Merge Your_Account/change*.index.php with Your_Account/index.php.

This is the hard part. There are comments in the change file
that indicate the lines that must be included in the index.php
file. With version 6.0, changes are also in the navbar.php file.

The lines are bracketed by the following comments:

/* === Begin Web pages support === */

/* === End Web pages support === */

Copy everthing between and including the comments and put it in the
matching place in your version of the file. A straight replacement
may not be possible if you have edited the file or changed in from
the standard 5.6 or 6.0 version. Using diff may help.

If the only difference is the lines between the comments then just
rename appropriate files.

For PHP-Nuke 6.5 or later:
mv change65.index.php index.php
mv change65.navbar.php navbar.php

For PHP-Nuke 6.0:
mv change6.index.php index.php
mv change6.navbar.php navbar.php

For PHP-Nuke 5.6:
mv change56.index.php index.php

اميدوارم يك نفر پيدا بشه براي فارسي سازي ماژول ساب دمين رايگان
 

sasan4u

Member
آقا احسان اين ماژول webpage1.4 رو نمي ذاري براي دانلود من نتونستم در سايت شما لاگين كنم خيلي كند شده و زمان زيادي طول كشيده اميدوارم وقتي مي ذاري براي دانلود سايتت مشكل نداشته باشه بشه گرفتش
اگه هنوز هم مشكلي در رابطه با اين ماژول داري بگو كمك كنم
 

sasan4u

Member
ما كه هر طور با اين آقا احسان تماس گرفتيم جواب نداد ترجمه فايل زبانش خيلي كاري نداره اما هدفم اين بود كه دوباره كاري نشه و خودم ماژول ساب دمين رو كه ارور مي ده روش كار كنم با سازنده اش تماس بگيرم فاروم زبان انگليسي هم نداره آخه ظاهرا زبان مجاري خلاصه كلي مكافات داره اگه آقا احسان خبري نداد يكي فارسي سازي اين فايل ماژول webpage رو قبول مي كنه
 

sasan4u

Member
فايل زبان ماژول webpage
کد:
define("_WEBCOPYRIGHT","Webpages v1.4 Copyright (c) 2002,2003 William Wong");
define("_WEBEDITPAGES","Edit Web Page");
define("_WEBCREATEYOURPAGE", "Create your web page");
define("_WEBEDITYOURPAGE", "Edit your web page");
define("_WEBPAGES","Web Pages");
define("_WEBNOPAGES","No Web Pages");
define("_WEBTOP","Top");
define("_WEBEDIT","Edit");
define("_WEBRENAME","Rename");
define("_WEBRENAMEGROUP","Rename Web Page Group");
define("_WEBVIEW","View");
define("_WEBUSER","User");
define("_WEBSAVECHANGES","Save Changes");
define("_WEBSAVEANDSHOW","Save and show web page");
define("_WEBHTMLTIPS","HTML Tips");
define("_WEBTHIS","This");
define("_WEBGENERATES","Generates");
define("_WEBFULLPAGE","Full page");
define("_WEBSHOWNAME","Show name on top of page");
define("_WEBCONTENT","Web page contents for ");
define("_WEBYOUCANUSE","(You can use HTML code)");
define("_WEBEDITTHISPAGE","Edit this page");
define("_WEBOTHERWEBPAGES","Other web pages");
define("_WEBHOME","Home");
define("_WEBNOWEBPAGEFOR","No web page defined for");
define("_WEBNOWEBPAGEDEFINED","No web page defined");
define("_WEBDELETE","Delete");
define("_WEBENABLE","Enable");
define("_WEBDISABLE","Disable");
define("_WEBENABLED","Enabled");
define("_WEBDISABLED","Disabled");
define("_WEBPROMPTDELETE","Delete this user's web page?");
define("_WEBYES","Yes");
define("_WEBNO","No");
define("_WEBSETTINGS","Global Web Pages Settings");
define("_WEBNEWSETTINGS","Settings for new web page creation");
define("_WEBUSERPAGES","User Web Pages");
define("_WEBDEFAULTENABLE","Allow the creation of new web pages");
define("_WEBSAVE","Save");
define("_WEBGROUP","Group");
define("_WEBGROUPS","Groups");
define("_WEBGROUPPAGES","Group Web Pages");
define("_WEBPAGEGROUPS","Web Page Groups");
define("_WEBCREATE","Add Group");
define("_WEBEDITGROUPPAGE","Edit Group Web Page");
define("_WEBALLPAGES","Web page index");
define("_WEBINDEX","Index");
define("_WEBYOURPAGE","Your Personal Web Page");
define("_WEBGROUPSINFO","Your web page will be listed in all groups that are selected.");
define("_WEBLOCK","Lock");
define("_WEBUNLOCK","Unlock");
define("_WEBLOCKED","Locked");
define("_WEBUNLOCKED","Unlocked");
define("_WEBPERSONALINFO", "Personal Info");

define("_WEBSHOWNOWEBPAGE","Users with no web page");

define("_WEBINSERTEXAMPLE","Append sample HTML");
define("_WEBEXAMPLETEXT","\\n<h1>Big Title</h1>This is a paragraph.<p>\\n"
  ."<b>This is a bold paragraph.</b><p>\\n"
  ."This is a small table:<br><br>\\n"
  ."<li>apples\\n"
  ."<li>oranges\\n"
  ."<li>grapes<br><br>\\n"
  ."<i>That is all</i>");


define("_WEBHELPLINK","Help link URL");
define("_WEBHELPLINKHINT", "(reference a webpage or leave blank if using default)");
define("_WEBHELP","Help");
define("_WEBPAGEHELP","User Web Page Help");
define("_WEBHELPTEXT","This is module allows each user to create one web page that is "
  ."maintained by this site. The web page can contain any text, hyperlinks, etc. that "
  ."you would like to include. Images can be referenced on this site or others but "
  ."this service does not provide a way to upload image files.<p>"
  ."The administrator can enable multiple groups to keep track of user web pages. "
  ."You can select one or more groups where you page will be linked. A Group button "
  ."will appear in the web page editing screen if one or more groups have been defined.");

define("_WEBPLAINTEXT","Plain Old Text");
define("_WEBHTML","HTML Format");
define("_WEBEXTRANS","Extrans (HTML tags to text)");

if (1){
 // PHPNuke 6.5+ field definitions
 define("_WEB_UID","user_id");
 define("_WEB_UNAME","username");
 define("_WEB_PASSWORD","user_password");
} else {
 // PHPNuke 5.6, 6.0 field definitions
 define("_WEB_UID","uid");
 define("_WEB_UNAME","uname");
 define("_WEB_PASSWORD","pass");
}
 

ehsan-ets

Member
اقا من شرمنده
من يه مدت نبودم و نتونستم كه اونو آپلود كنم
اما در اسرع وقت (فردا ;) ) اونو مي ذارم براي دانلود
موژول ساب دامين رو هم روش كار كردم تقريبا آخراشه ولي والا اينم بدتر از اون نجوه نصبش رو نتونستم خوب رو لوكال انجام بدم
اگر تو نصب اينم يه كمكي بكنين تا زودتر براي دانلود آماده بشه ممنون مي شم.
---------
در مورد مشكل سايت هم اگه تو پي ام برام يكم بيشتر توضيح بدي ممنون مي شم كه ببينم چشه
---------
بازم شرمنده
 

sasan4u

Member
مرسي آقا احسان گل

در مورد ماژول ساب دمين يك سري مشكلات داره كه سعي مي كنم بعد از رفع اونها توضيح روش نصب اون رو اينجا قرار بدم براي استفاده و يك كار خوب ارايه بشه و ترجمه فايل زبان اون رو كه زحمتش رو كشيدن و گفتين در حال تمام شدن همراه اين توضيحات ارايه كنيد
در مورد سايت هم مشكل خاصي نبود يك مقدار كند بود كه احتمالا مربوط به سرويس اينترنت من بود چون دفعه بعد كه ديدم مشكلي نبود
 

sasan4u

Member
آقا احسان خيلي مخلصيم
خيلي زود راه حل مشكلات نصب ماژول ساب دمين رو پيدا مي كنم
اميدوارم ترجمه اين ماژول رو هم از شما زودتر ببينيم
 

ehsan-ets

Member
خواهش مي كنم
وظيفه بيد

راستي آقا سامان لطفا وقتي كه اون فايل هاي ساب دامين درست شد برام بفرستين تا فارسي شدش رو براي دانلود بذارم
 

جدیدترین ارسال ها

بالا