Menü

Ana Sayfa
Haber Arşivi
Haber Yolla
Kullanıcı Listesi
Mini Sohbet
Puanlar
Üye Hesabınız
Özel Mesajlar
Dosya Yolla
Dosyalar
Temalar
Destekleyenler
Moderator Başvurusu
Yönetime Ulaş
Dersler
Eklenti Kurulumları
Forumlar
İstatistikler
Anketler
Araçlar
SEO Araçları
Upload
NukeArama

Google




Help


Module Creator

  [  Back to Module Creator  ]  


Let's assume that we have this html
 
Code:

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<p align="center"><font size="7">PHP-Nuke tools</font></p>
<p align="center">by</p>
<p align="center"><a href="http://www.disipal.net/"><font size="7">Disipal site</font></a></p>
</body>
</html>

 

Remove this

Code:

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>

</body>
</html>


And now the code looks like this

Code:

<p align="center"><font size="7">PHP-Nuke tools</font></p>
<p align="center">by</p>
<p align="center"><a href="http://www.disipal.net/"><font size="7">Disipal site</font></a></p>

 

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:

<?php
#### 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"<p align=\"center\"><font size=\"7\">PHP-Nuke tools</font></p>"
  . "<p align=\"center\">by</p>"
  . "<p align=\"center\"><a href=\"http://www.disipal.net/\"><font size=\"7\">Disipal site</font></a></p>";
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
 



  [  Back to Module Creator  ]  
  [  Back to PHP-Nuke Tools Main  ]  
PHP-Nuke Tools v3.00
By Disipal
php_nukeye, re: slm, 50den, yepyeni, topics, Üye kaydına aktivasyon linki ekleme, buyrun, ın, firefox, yada, upload modulu, upload modulu, aaalogo, (.form, hatası, hatası, kod, sohbet, sohbet, close, oyun, dosyası, olması...!!!!, bire, tahsilat,

Copyright © Haziran 2005, TurkishNuke ™ Her hakkı saklıdır.
Web sitemizin PHP-Nuke tabanlıdır.

Bu site en iyi 1024x768 ve üzeri çözünürlüklerde, İnternet Explorer ve Firefox ile görüntülenir.
 

stories | Kırcaali

AktifPHP!