Saves you going to his web forum just download it here 🙂
[wap] Methoswap V3
Started on the old forum in October 2008 · view the original in the archive · old links redirect here
TL;DR · summary of 33 replies
- sweetangel needs an original Methos CP but cannot find it.
- darkdesire suggests using a clone of Methos V3 and modifying bits from Wapdesire.
- Guest points out missing adminCP, ownerCP, and other features.
- sweetangel asks if the directory structure for modifying is similar to the new Methos script.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
would be better if it was complete though, no admincp ownercp and various other bits,
:p:p:p
more file not found...like...owner cp admin cp mod cp ...:(
if like my post click:
sweetangel just recode a wapdesire admin owner cp etc or search on here, the files are about if you can be bothered to look
:p:p:p
I need original methos cp. I wont add vip status at my new wapdesire version 🙂
if like my post click:
so code it sweetangel. theres a clone of methos v3 on here to give you a good guideline and use bits from wapdesire and you'll be there, two hour job for even a noob if they have a basic grasp of php
:p:p:p
shop not found...the code is different from wapdesire....
if like my post click:
make your own shop i did as i didnt like the one that came with the wapdesire i use, btw if anyone wants to look and comment its here -
<?php
include("config.php");
include("core.php");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
//header('Content-type: application/vnd.wap.xhtml+xml');
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
$bcon = connectdb();
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
if (!$bcon)
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"!\"/>
";
echo "[b][b]Error! Cannot Connect To Database...[/b][/b]
";
echo "This error happens usually when backing up the database, please be patient...";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
$brws = explode("/",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();
$action = $_GET["action"];
$sid = $_GET["sid"];
$page = $_GET["page"];
$who = $_GET["who"];
$uid = getuid_sid($sid);
$theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));
$sqlthing = mysql_query("SELECT * FROM ibwf_users WHERE id='$uid'");
$name=(mysql_result($sqlthing,0,"name"));
cleardata();
if(($action != "") && ($action!="terms"))
{
$uid = getuid_sid($sid);
if((islogged($sid)==false)||($uid==0))
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "You are not logged in
";
echo "Or Your session has been expired
";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
}
//echo isbanned($uid);
if(isbanned($uid))
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
";
echo "[b]You are Banned[/b]
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "[b]Time Left: [/b]$rmsg
";
$nick = getnick_uid($banto[2]);
echo "[b]By: [/b]$nick
";
echo "[b]Reason: [/b]$banto[1]";
//echo "<a href=\"index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
$res = mysql_query("UPDATE ibwf_users SET browserm='".$brws4."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");
////////////////////////////////////////MAIN PAGE
if($action=="shop")
{
addvisitor();
$mmsg = htmlspecialchars(getsetmood(getuid_sid($sid)));
addonline(getuid_sid($sid),"Shop ($mmsg)","");
//saveuinfo($sid);
echo "<head>";
echo "<title>Shop</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
$plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$uid."'"));
$message2 = Avater;
Echo "$sitename Plusses Shop,
";
echo "You Currently Have $plusses[0] Plusses";
echo "</p>";
echo "<p align=\"center\">";
echo "The Items You Can Buy Are Listed Below:</p>";
echo "<p align=\"center\">";
echo "<p align=\"center\">";
echo "Your Own Profile Avater
";
echo "Cost: 150 Plusses
";
echo "</p>";
echo "<p align=\"center\">";
echo "<form action=\"shop.php?action=peravar&sid=$sid&who=$plusses[1]&whoid=$uid&message=$message\" method=\"post\">";
echo "[b]<center>Please describe the pic you would like and the name you'd like on it</center>[/b]";
echo "<center><input name=\"message\" value=\"\" maxlength=\"200\"/></center>";
echo "<center><input type=\"Submit\" Name=\"Submit\" Value=\"Buy Now\"></center></form>";
echo "</p>";
echo "<p align=\"center\">";
echo "Your Own Personal Smilie
";
echo "Cost: 250 Plusses
";
echo "</p>";
echo "<p align=\"center\">";
echo "<form action=\"shop.php?action=persmile&sid=$sid&who=$plusses[1]&whoid=$uid&message=$message\" method=\"post\">";
echo "[b]<center>Please Describe the icon you'd like</center>[/b]";
echo "<center><input name=\"message\" value=\"\" maxlength=\"200\"/></center>";
echo "<center><input type=\"Submit\" Name=\"Submit\" Value=\"Buy Now\"></center></form>";
echo "</p>";
echo "<p align=\"center\">";
echo "Your Own Public Chatroom
";
echo "Cost: 300 Plusses
";
echo "</p>";
echo "<p align=\"center\">";
echo "<form action=\"shop.php?action=pubchat&sid=$sid&who=$plusses[1]&whoid=$uid&message=$message\" method=\"post\">";
echo "[b]<center>What chatroom name would you like</center>[/b]";
echo "<center><input name=\"message\" value=\"\" maxlength=\"200\"/></center>";
echo "<center><input type=\"Submit\" Name=\"Submit\" Value=\"Buy Now\"></center></form>";
echo "</p>";
echo "<p align=\"center\">";
echo "Your Own Public Forum
";
echo "Cost: 400 Plusses
";
echo "</p>";
echo "<p align=\"center\">";
echo "<form action=\"shop.php?action=pubforum&sid=$sid&who=$plusses[1]&whoid=$uid&message=$message\" method=\"post\">";
echo "[b]<center>What forum name would you like</center>[/b]";
echo "<center><input name=\"message\" value=\"\" maxlength=\"200\"/></center>";
echo "<center><input type=\"Submit\" Name=\"Submit\" Value=\"Buy Now\"></center></form>";
echo "</p>";
/*
*/
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}
if($action=="peravar")
{
echo "<head>";
echo "<title>Shop</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
$ownid[0]=24;
$who=$_GET["whoid"];
$name=$_GET["name"];
$whoid=$_GET["who"];
$message = $_POST["message"];
$message2 = $_POST["message2"];
$message3 = "LODGE-AVATAR-$message";
$plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$who."'"));
if ($plusses[0] < 150){
echo "No cheating, you cant afford an avater";
}
else
{
$remainplus = $plusses[0] - 150;
$plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
mysql_query("INSERT INTO ibwf_private SET text='".$message3."', byuid='".$uid."', touid='".$ownid[0]."', unread='1', timesent='".time()."'");
echo "Thank You For Choosing To Purchase Your Personal Avater. Your Plusses Have Been Debited and your request sent to the staff for processing.
";
echo "You Now have $remainplus Plusses Remaining
</p>";
echo "<p align=\"center\">";
echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}}
else if($action=="persmile")
{
echo "<head>";
echo "<title>Shop</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
$ownid[0]=24;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$message = $_POST["message"];
$message3 = "LODGE-SMILIE-$message";
$plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$who."'"));
if ($plusses[0] < 250){
echo "No cheating, you cant afford a smilie";
}
else
{
$remainplus = $plusses[0] - 250;
$plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
mysql_query("INSERT INTO ibwf_private SET text='".$message3."', byuid='".$uid."', touid='".$ownid[0]."', unread='1', timesent='".time()."'");
echo "Thank You For Choosing To Purchase Your Personal Smilie. Your Plusses Have Been Debited and your request sent to the staff for processing.
";
echo "You Now have $remainplus Plusses Remaining
</p>";
echo "<p align=\"center\">";
echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}}
else if($action=="pubchat")
{
echo "<head>";
echo "<title>Shop</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
$ownid[0]=24;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$message = $_POST["message"];
$message3 = "LODGE-CHATROOM-$message";
$plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$who."'"));
if ($plusses[0] < 300){
echo "No cheating, you cant afford a chatroom";
}
else
{
$remainplus = $plusses[0] - 300;
$plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
mysql_query("INSERT INTO ibwf_private SET text='".$message3."', byuid='".$uid."', touid='".$ownid[0]."', unread='1', timesent='".time()."'");
echo "Thank You For Choosing To Purchase Your Personal Chatroom. Your Plusses Have Been Debited and your request sent to the staff for processing.
";
echo "You Now have $remainplus Plusses Remaining
</p>";
echo "<p align=\"center\">";
echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}}
else if($action=="pubforum")
{
echo "<head>";
echo "<title>Shop</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
$ownid[0]=24;
$who=$_GET["whoid"];
$whoid=$_GET["who"];
$message = $_POST["message"];
$message3 = "LODGE-FORUM-$message";
$plusses = mysql_fetch_array(mysql_query("SELECT plusses, name FROM ibwf_users WHERE id='".$who."'"));
if ($plusses[0] < 400){
echo "No cheating, you cant afford a forum";
}
else
{
$remainplus = $plusses[0] - 400;
$plussupdate = mysql_query("UPDATE ibwf_users SET plusses='".$remainplus."' WHERE id='".$who."'");
mysql_query("INSERT INTO ibwf_private SET text='".$message3."', byuid='".$uid."', touid='".$ownid[0]."', unread='1', timesent='".time()."'");
echo "Thank You For Choosing To Purchase Your Personal Forum. Your Plusses Have Been Debited and your request sent to the staff for processing.
";
echo "You Now have $remainplus Plusses Remaining
</p>";
echo "<p align=\"center\">";
echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}}
?>
</html>
Note - i dont claim to be a coder, i use a lot of copynpaste to get the results i want, theres nothing hard about it, read your script and understand what it does
Please feel free to clean up my shop if you are a genuine coder lol im aware it doesnt pass validation, but it works lol
:p:p:p
methos write: use the plain wml files for the admincp, ownercp ect. i didn't code them.
if like my post click:
QUOTE (mobilmega @ Oct 17 2008, 01:34 PM) <{POST_SNAPBACK}>
No admincp, ownercp ect. :(
use the wapdesire ownercp etc.. they will work
awwwww poor you sweetangel, want me to play you a nice tune on the smallest violin in the world hey.. awww ? NOT FUKIN SEARCH FOR ONCE!!
Want something coded email me at sales@webnwaphost.com for a prices.
Soon be released.. My Methos V4 clone... With all the extras as seen on methos
QUOTE (kaibaspoon @ Jan 13 2009, 02:50 PM) <{POST_SNAPBACK}>
Soon be released.. My Methos V4 clone... With all the extras as seen on methos
😮 😍
if like my post click:
Kaiba but your clone have directory how new methos script or not???
if like my post click:



