Sentinel Posted June 10, 2009 Posted June 10, 2009 Re: [MCCODES V2] Mobile text messaging Does this mod work ? Quote
Miniman Posted June 10, 2009 Posted June 10, 2009 Re: [MCCODES V2] Mobile text messaging Does this mod work ? Yes. Quote
plintu Posted June 12, 2009 Posted June 12, 2009 Re: [MCCODES V2] Mobile text messaging Well this is a pretty good mod!! I like it!!! Well I had to go ahead and add my addition to it here is a pretty straight forward form where users can purchase the credits for crystals there is a little bit of added security in there as you can see if some one tries to buy less than 10 or more than 30 it will prevent them and notify you of the event if your userid is 1 !!!!which it should be LOL :D also you can set a price by changing the variable $price, where it says $quantity*10 just change the to how much you want to charge per each credit! call this file 'credits.php' ! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I forgot to mention I tested this with myself and it works, please post if you use it and let others know that it works too ;) Quote
Uridium Posted June 12, 2009 Author Posted June 12, 2009 Re: [MCCODES V2] Mobile text messaging Nicely done Plintu :) and a +1 from me :) Quote
plintu Posted June 12, 2009 Posted June 12, 2009 Re: [MCCODES V2] Mobile text messaging Thanks illusion!! also there was a small problem with you database tables! you int when you should have used Big Int phone numbers are too big for int ;) int only goes up to 2147483647 so if you have to add a 1 to area code or the first number in you phone number is higher than a 2 you won't be able to change yournumber in the database it will always show up as 2147483647 so if anyone plans on using this mod here is sql to install to the database! just install as instructed earlier in illusions instructions then run this query! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
weewooz Posted July 11, 2009 Posted July 11, 2009 Re: [MCCODES V2] Mobile text messaging how would we make so say you have to buy the item a mobile phone before useres could use the mobile service thanks Quote
weewooz Posted July 11, 2009 Posted July 11, 2009 Re: [MCCODES V2] Mobile text messaging echo "<center>"; //Enter the item id of the Mobile phone for the mod to work! $ps_item_number = "324"; //Lets check if the player actually owns a mobile phone. $db->query("select * from inventory where inv_itemid = '".$ps_item_number."' AND inv_userid = ".$ir['userid'].""); //No mobile phone? Thats cool, Lets tell them that! if(!mysql_fetch_array($q)) { echo "you dont a mobile phone"; $h->endpage(); exit would that do it then add this to your inv.php if($i['itmname'] == 'mobile phone') { echo " [<a href = 'textmessage.php'>Use</a>]"; any imput to that would be great ty im still learning will it be along them lines } Quote
CrackTheCoder Posted July 23, 2009 Posted July 23, 2009 Re: [MCCODES V2] Mobile text messaging I'll update the prefs and repost when its done Umm... are you planning on doing this because i need to do this so members dont get the same messages Quote
Uridium Posted July 23, 2009 Author Posted July 23, 2009 Re: [MCCODES V2] Mobile text messaging I'll fix the problem and update the page on here Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.