Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to make a module for PHP-Nuke?  (Read 9294 times)

0 Members and 1 Guest are viewing this topic.

Maximus-Sniper

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
How to make a module for PHP-Nuke?
« on: April 21, 2005, 05:21:09 am »

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??? :)
« Last Edit: April 22, 2005, 04:43:22 am by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to make a module for PHP-Nuke?
« Reply #1 on: April 21, 2005, 05:23:24 am »

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

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

Maximus-Sniper

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to make a module for PHP-Nuke?
« Reply #2 on: April 21, 2005, 08:18:37 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to make a module for PHP-Nuke?
« Reply #3 on: April 21, 2005, 10:38:30 am »

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

Maximus-Sniper

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to make a module for PHP-Nuke?
« Reply #4 on: April 22, 2005, 04:02:10 am »

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>

« Last Edit: April 22, 2005, 04:24:17 am by Maximus-Sniper »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to make a module for PHP-Nuke?
« Reply #5 on: April 22, 2005, 04:43:06 am »

Thank you for coming back to share the solution you found.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.