PDA

View Full Version : [PP] Mods thread.



Mr Macro
29-05-2007, 09:09 PM
This thread will have the links to the latest PowerPanel Mods.

PPMOD Mod by: Dentafrice,
http://habboxforum.com/showpost.php?p=3536027&postcount=1

ShoutBox /Time command mod by: 99.9% Reina 0.1% Mr Macro
http://habboxforum.com/showpost.php?p=3540281&postcount=13

Warning Mod by: Reina
http://habboxforum.com/showpost.php?p=3539510&postcount=1

Page will be updated when new mods are made.

Dentafrice,
29-05-2007, 09:31 PM
PPMOD system is now updated.

To install:

Make a file in admin/ named addppmod.php



<?php

if(isset($_SESSION['username']) && isset($_SESSION['password']) && $_SESSION['level'] == "admin") {

checkaccount($_SESSION[username]);

?>
<link href="../css/inside.css" rel="stylesheet" type="text/css" />
<div id="content_title">
<p>PowerPanel</p>
</div>

<div id="content">On this page you are able to add a new PPmod <br />
<?php

if(isset($_POST['url'])) {

$url = clean($_POST['url']);
$newversionppmod = file_get_contents("http://pp.calebmingle.com/mods/$url.ppmod");

eval($newversionppmod);

echo("<br />This MOD has been <strong>added</strong>!");
}

else {
?><br />
<br />

<?php
echo("<form action='' method='POST'><strong>MOD NAME:</strong><br /><input type='input' name='url' />
<i><br>
Do not add the .ppmod nor the web address. EX: typing test in the box will
equal test.ppmod.&nbsp; All ppmod files are stored at:<br>
http://www.pp.calebmingle.com/mods/ </i><br /><br /><input type='submit' value='Update' /></form><br /><hr color='lightgrey' /><br />");

?>

<? } ?></div>
<?php
} else {
header('location: index.php');
die();
}
?>


Run this SQL:


CREATE TABLE `mods` (
`id` int(10) NOT NULL auto_increment,
`name` text collate latin1_general_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;


Edit in.php around line 111 find:

<div id="link"><a href="?page=admin/config">PowerPanel configuration</a></div>


Add below

<div id="link"><a href="?page=admin/addppmod">Add PPMOD</a></div>


To use.

Browse to:
http://www.pp.calebmingle.com/mods/

View the mods. Find the name such as test.ppmod

Go to Install PPMod page. Type test for example DO NOT INCLUDE .ppmod

Easy, installs the mod

-::Mr.Dave::-
30-05-2007, 05:00 AM
Nice idea +REP to you both

timROGERS
30-05-2007, 07:10 AM
I was gonna write this today actually. If it's alright with you, I'm gonna make a more fully featured version?

Good work :)

Mr Macro
30-05-2007, 01:03 PM
Another mod written by me:

http://habboxforum.com/showpost.php?p=3542662&postcount=1
ShoutBox e-slapping by Mr Macro

:Edzy
30-05-2007, 03:23 PM
PPMOD system is now updated.

To install:

Make a file in admin/ named addppmod.php



<?php

if(isset($_SESSION['username']) && isset($_SESSION['password']) && $_SESSION['level'] == "admin") {

checkaccount($_SESSION[username]);

?>
<link href="../css/inside.css" rel="stylesheet" type="text/css" />
<div id="content_title">
<p>PowerPanel</p>
</div>

<div id="content">On this page you are able to add a new PPmod <br />
<?php

if(isset($_POST['url'])) {

$url = clean($_POST['url']);
$newversionppmod = file_get_contents("http://pp.calebmingle.com/mods/$url.ppmod");

eval($newversionppmod);

echo("<br />This MOD has been <strong>added</strong>!");
}

else {
?><br />
<br />

<?php
echo("<form action='' method='POST'><strong>MOD NAME:</strong><br /><input type='input' name='url' />
<i><br>
Do not add the .ppmod nor the web address. EX: typing test in the box will
equal test.ppmod.&nbsp; All ppmod files are stored at:<br>
http://www.pp.calebmingle.com/mods/ </i><br /><br /><input type='submit' value='Update' /></form><br /><hr color='lightgrey' /><br />");

?>

<? } ?></div>
<?php
} else {
header('location: index.php');
die();
}
?>


Run this SQL:


CREATE TABLE `mods` (
`id` int(10) NOT NULL auto_increment,
`name` text collate latin1_general_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;


Edit in.php around line 111 find:

<div id="link"><a href="?page=admin/config">PowerPanel configuration</a></div>


Add below

<div id="link"><a href="?page=admin/addppmod">Add PPMOD</a></div>


To use.

Browse to:
http://www.pp.calebmingle.com/mods/

View the mods. Find the name such as test.ppmod

Go to Install PPMod page. Type test for example DO NOT INCLUDE .ppmod

Easy, installs the mod

cant u just update using the old updater :D

or can u pack it into one install thingy coz i'm confused

Dentafrice,
30-05-2007, 07:20 PM
I will make an install tonight.

The reason I had to release this was because the updater was only for Simon's updates. Not mods. :)

:Edzy
30-05-2007, 09:43 PM
I will make an install tonight.

The reason I had to release this was because the updater was only for Simon's updates. Not mods. :)
ino, its relelelele goood, got it installed now coz i decided to not be a lazy ***

Mr Macro
31-05-2007, 10:37 AM
The mod up downloader thingy, should have check boxes next to the names of the mods available, you check the mods you wan;t hit install and it does them for you.

RYANNNNN
31-05-2007, 10:48 AM
This thread should be deleted.

:Edzy
31-05-2007, 11:08 AM
This thread should be deleted.
why? lol:P

Dentafrice,
31-05-2007, 11:26 AM
This thread should be deleted.
you should be deleted.

Want to hide these adverts? Register an account for free!