How to make a module for PHP-Nuke? How to make a module for PHP-Nuke?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How to make a module for PHP-Nuke?

Started by Maximus-Sniper, April 21, 2005, 05:21:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Maximus-Sniper

Hi all :)

I just install Coppermine 1.3.3 Standalone and work perfect :)

But only one thing, i like to make a module called coppermine. Because i like to have coppermine in same page, this standalone open a new page, how do i make that module?

A new module looks like this i think: index.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";
CloseTable();
include("footer.php");

?>

but i need to put something more on it, somebody now what and how??? :)

Tranz

You might have better luck using http://cpgnuke.com

We can't help with the phpnuke port since we don't know it.

Maximus-Sniper

Hi :)

Ok, thx for the answare :) But maybe u know how i can make a linke to coppermine so i can add it under the General/Menu on my left side of my page? I mean if you put something in the /modules/ and activete in Admin - Modules, it will show in the menu on the left side. So how can i make a just a link in the menu? :)
Sorry for my bad english :p

Joachim Müller


Maximus-Sniper

#4
Ok! Sorry, i found it out and it's works :)

I only made a emty folder in my /modules/blablabla/  

Than i login as Admin. And Modules, than you can edit and activate the new module (blablabla) and in the "Custom Module Name:" u only put this line:  <a href=http://yoursite.com/and coppermine folder/>and just a name of the new link</a>


Tranz

Thank you for coming back to share the solution you found.