1
MaFIa
Need help with a new modules
  • 2006/2/4 20:14

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


Hi there

I need help to make a module for this

http://www.amxbans.net/

You can see it in work here

http://www.afriend.dk/modules.php?name=NukeWrap&page=amxbans


Can anybody help me to make this???

Best Regards

MaFIa

2
MaFIa
Re: Need help with a new modules
  • 2006/2/5 11:46

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


Is there anybody there can help me??

3
MaFIa
Re: Need help with a new modules
  • 2006/2/6 14:27

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


Ore is there someone there can tell me how i can make it???

4
McDonald
Re: Need help with a new modules
  • 2006/2/6 15:04

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Probably the best is to upload it to your modules folder.
Also add a file called xoops_version.php to it, so XOOPS recognises it as a module and will add a link to the main menu:

//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <https://xoops.org/>                             //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
// E-Mail:   none                                                 //
// Project:  The XOOPS Project (https://xoops.org/)                       //
// ------------------------------------------------------------------------- //


$modversion['name'] = "AMX Bans";
$modversion['version'] = 1.2;
$modversion['description'] = "AMX Bans. External script installed in XOOPS MODULES";
$modversion['credits'] = "Mickey Mouse";
$modversion['author'] = "Mickey Mouse. XOOPS bridge built by Donald Duck";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "images/amxbans_logo.gif";
$modversion['dirname'] = "amxbans";

//Admin things
$modversion['hasAdmin'] = 0;
$modversion['adminmenu'] = "";

// Menu
$modversion['hasMain'] = 1;

?>


For a few files you might need to add the following code at the top to have it displayed within Xoops:
include '../../mainfile.php';
include(
XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;


...and the following at the end:
include(XOOPS_ROOT_PATH."/footer.php");

5
MaFIa
Re: Need help with a new modules
  • 2006/2/6 18:16

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


I have try to do that but i dont thing i can fix it iam not soo good to work with php

6
MaFIa
Re: Need help with a new modules
  • 2006/2/13 12:05

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


Is there realy nobody there can halp me?

7
MaFIa
Re: Need help with a new modules
  • 2006/9/4 20:26

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


Anybody make that module for xoops?????

8
martyboy
Re: Need help with a new modules
  • 2006/9/4 21:44

  • martyboy

  • Quite a regular

  • Posts: 256

  • Since: 2004/5/25


It looks like that site has the amxbans script wrapped in an iframe you could maybe do something similar using the myiframe module for XOOPS https://xoops.org/modules/repository/singlefile.php?cid=43&lid=1199

If you wanted to completely integrate it into XOOPS then that would be alot more work.
Michael Jackson = King Of Pop

Xoops = King Of CMS

Login

Who's Online

195 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 195


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits