PHP-Nuke Platinum 7.6.b.4v2  
  Login or Register
::  Home  ::  Downloads  ::  Your Account  ::  Forums  ::
Navigation
icon_home.gif Home
nuke.gif GeneralShow/Hide content
· Forums
· Downloads
· My eGallery
· Hosting
· Amazon
· AvantGo
icon_community.gif CommunityShow/Hide content
· News Topics
· Submit News
· Calendar
· Donations
· Store
· Banner Ads
· Shout Box
· Groups
· Supporters
· Classifieds
icon_poll.gif ContentShow/Hide content
· Content
· Encyclopedia
· Reviews
· Top 10
· Documents
· Surveys
· Mailing List
· Universal
· Top Sites
· News Archive
som_downloads.gif InformationShow/Hide content
· Refer Us
· Statistics
· Search
· Journal
· Account
· My Messages
· Donations
· Sentinel Info
· Work Board
· Contact
· FAQ
· Work Probe
· Staff
· Members List
nuke.gif ToolsShow/Hide content
· Request Ban
· Tools
· Themes
· Requests
som_themes.gif ResourcesShow/Hide content
· Supporters
· Web Links
· Top 10
· Future Nuke
· Techgfx
· PlatinumMods

icon_members.gif Admin AreaShow/Hide content
· Admin Login
 
Arcade


Latest High Score set by
vargatom
with 276 on airattack3
--------
The Top Players

1 - vargatom
Number Of Wins : 1

 
Shout Box
Shout History   
 
 
Banner Clients
Welcome, Anonymous.

Client ID:
Password:
(Register)
 
Advertisements
Future Nuke - Home of Platinum 7.6b.4
 
Languages
Select Interface Language:

 
PHP-Nuke Platinum 7.6.b.4v2: PHP-Nuke Tools



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-Nuke Tools ©
Support Platinum
Support Future Nuke and help continue free projects like

PHP-Nuke Platinum

More information ]
 
Member Info
 
Register Here
Lost Password

 
Membership:
New Today: 58
New Yesterday: 177
Waiting User(s): 0
Total Members: 78,533
Latest User: RobertaRod

Most Ever Online:
Guest(s): 174
Member(s): 0
Total: 174

Online Stats:
Guest(s): 31
Member(s): 2
Total: 33
 
Survey
Platinum 7.6.b.4v2 opinion

Excellent
Good
Average
Bad
Terrible



Results
Polls

Votes: 2
Comments: 0
 
Search
Search Type:


Advanced Search
 
Month of Events
<
April 2021
>
SMTWTFS

123
45678910
11121314151617
18192021222324
252627282930
 
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
Powered by Platinum 7.6.b.4

Page Generation: 0.52 Seconds

:: subBlack phpbb2 style by spectre :: PHP-Nuke theme by www.nukemods.com ::