ThemeName: dVault
 

phpBB2 Theme Author: Disipal
PHP-Nuke Theme Author: Disipal
Views: 32755

DOWNLOAD

© Style Demo System

Welcome Guest!
Modules
· Home
· Downloads
· Forums
· PHP-Nuke Tools
· Statistics
· Web Links
Who's Online
There are currently, 11 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Old Articles
Thursday, January 11
· ComEarth Theme pack
Friday, December 29
· typeD theme pack
Thursday, November 09
· Reactor theme pack
Wednesday, May 31
· alpha theme pack
Monday, September 19
· Creation Theme pack
Tuesday, August 09
· Dstyle theme pack
Monday, July 25
· Diversion theme pack
Sunday, April 17
· BlindSide Theme Pack
Thursday, March 31
· Centro Theme Pack
Wednesday, September 29
· oMIcROn theme pack
Tuesday, July 06
· Vital FnY Theme Pack
Tuesday, May 25
· FlowControl Theme pack





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 Designs</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 Designs</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 Designs (www.disipal.net) */
/* PHP-Nuke Tools v4.00                                                                                    */
/******************************************************************************/
if (!defined('MODULE_FILE')) {
   die ("You can't access this file directly...");

}
require_once("mainfile.php");
$ module_name = basename(dirname(__FILE__));
get_lang($ module_name);
include("header.php");
define('INDEX_FILE', true);
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 Designs</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 v4.00
By Disipal

PHP-Nuke Tools ©
All logos and trademarks in this site are property of disipal.net © 2003 - 2007.
PHP-Nuke Copyright © 2006 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.032 Seconds
Resources 1.2.0. View all Features