Unstoppable Domains

PHP Nuke help

Spacemail by SpaceshipSpacemail by Spaceship
Watch
Impact
29
Okay i dont know if i am posting this in the right section or not but i am really needed help with phpnuke how can i create module with out the that PHP Nuke Tools Module Creator the one located Here
this module creator sucks dosnt help at all anyone know any other way thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I have used tha a few times and works great. Are you saving it correctly then activating it?
 
0
•••
na it just wehn i put the html and then it convert to php code and put them in an index.php and then upload it just dosnt do what i done like coloerd text etc.
 
0
•••
if you are doing a block, you dnt put it into the index so say....you activate it via block
 
0
•••
no i am saying modules not blocks
 
0
•••
How To: PHP-Nuke Module


Hello,

In this post I'll tell you how to make a PHP-Nuke Module in 2-ways.

I'v used the PHP-Nuke Tools Module Creator, It work's ok - but I don't know if it works well on any newer versions of nuke, prolly up untill 7.6.

If you're using the creator it's simple copy and paste you're html code into the box and convert, once done you'll should be able to copy the converted code into notepad or you're editor of your're choice, once you have save as "index.php" make sure you make sure you put it in a folder of what the content of the html is going to be, example: About_Me - Once you've decided the module name place the "index.php" file in the folder, now if you upload and get an error about some "language file", this is a simple fix, In the same folder (Example: About_Me), make a folder called "language" and make a new file in that folder with the file "lang-english.php", nothing has to be this file just to show that it's there and there should be no more error.

Sample 1:
index.php
PHP:
<?php
if (!eregi("modules.php", $PHP_SELF)) {
   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 code here";
CloseTable();
include("footer.php");

?>

Sample 2:
index.php (Easy way to include html code without editing much files.)

PHP:
<?php
if (!eregi("modules.php", $PHP_SELF)) {
   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();
include("link_your_html_document_here.html");
CloseTable();
include("footer.php");

?>

Basically where it says, link_your_html_document_here.html, example: aboutme.html

include("aboutme.html");

The aboutme.html file will have to uploaded into you're web root directory, such as /public_html/ unless you specify a folder, like "html", this is a simple fix as:

include("html/aboutme.html");

Now if you're still having problems just reply in here and we should get it fixed for you.

Now as for the colors they should be working fine if your speicfying them in HTML code, but if it runs on a css file make sure the javascript code is pointed it correctly to make it work.

Hope this helps!

Thanks,
Cory (Owner of Mega-Nuke, Modified Secure PHP-Nuke!)

 
0
•••
Just use the include() functions to add extra stuff in PHP-Nuke.
Thats how I place my Ads in PHp-Nuke
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back