تبليغاتX
ترفندهای اینترنت :: مطالبی در خصوص بهترین ترفندهای اینترنت/ nod32 تنظیمات /

ترفندهای اینترنت

مطالبی در خصوص بهترین ترفندهای اینترنت/ nod32 تنظیمات /

راهنمای ساختن مازول


راهنما ی


ساختن ماژول

 


Let's assume that we have this html
 
Code:

PHP-Nuke tools

byDisipal site

 

Remove this
Code:

 

 

 

 


And now the code looks like this

Code:

PHP-Nuke tools

byDisipal site

To make the module, we copy and paste in

 the module creator top block

We click on ?Create Module? and as a

result we have

Code:


#### Generated by Module Creator

- By

Disipal site (www.disipal.net) ####
if (!eregi("modules.php", )) {
   die ("You can't access this

 file directly...");

}
require_once("mainfile.php");
$ module_name = basename

(dirname(__FILE__));
get_lang($ module_name);
include("header.php");
$ index = 0;
OpenTable();
echo"

PHP-Nuke tools

"
  . "

by

"
  . "

Disipal site

";
CloseTable();
include("footer.php");

?>
 


Now open notepad and paste the

 code given in the Module Creator

 bottom block, and save it as index.php

Create a folder in the modules

 called ?whatever? and inside copy

 index.php
 

Note :

If you are not planning on using

 language files remove this line

Code:

get_lang($ module_name);
 

If you are going to use language

 files create a folder called "language"

 in the module folder you just made and add

 you language files (ex. lang-english.php)


And you are ready!!
Activate the module from

 http://www.yoursite.com/admin.php?op=modules
 

|+|
نوشته شده توسط مانی عشقی در پنجشنبه 1386/10/20 و ساعت 11:33 PM

4الف

توجه کنید
ذخیره وب مانی ماکسی
توسط کاربران
اگر شما از یک موتور جستجو گر اینترنتی به مانی ماکسی دسترسی ندارید و وقتتان برای یافتن این وب محدود است پس اکنون با کلیک در اینجا هیچگونه محدودیتی برای وقت گرانبهایتان نخواهید داشت,لطفا مانی ماکسی را در فاوریت سیستمتان ذخیره نمایید . اینجا کلیک نمایید.
window.close