1
Coding / Re: Disabling sending money/item
« on: February 26, 2013, 12:34:43 am »
Sorry, I don't think there's an option to disable the send money.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Well I run version 3.1.8 and I still have a green light saying that it's the current version. and doesn't say any thing about it. So I'll have to check on that.
Joe
I got my version from the SMF mod site, not from this website.
www.smfshop.com and I did do an update on my system and I'm sorry to inform you that I'm not having the same problem you are. You mite have to uninstall smfshop and try and reinstall it again.
I'm am using SMF 2.0.2 with SMFShop 3.1.8
if you're not using the latest version of the software, are you really fit to be a helper? because not everyone wants to use an old version of something.
The javascript code has been removed.
I dont understand you have a post talking about the glitch where is replaces your text with a zero. 0'
function onUse()
{
global $sourcedir, $item_info;
$to = $item_info[1];
$subject = $item_info[2];
$message = $item_info[4];
// We need sendmail!
require_once($sourcedir . '/Subs-Post.php');
// Hack put in place to allow $_POST and $_GET vars in the $message var
// --Daniel15, 4 Septemeber 2005 2:15PM
foreach ($_POST as $postKey => $postVar)
$message = str_replace('{$_POST["' . $postKey . '"]}', $postVar, $message);
foreach ($_GET as $getKey => $getVar)
$message = str_replace('{$_GET["' . $getKey . '"]}', $getVar, $message);
// Send the email!
sendmail($to, $subject, $message) or die('Error sending message to admin! Please inform the Admin of this error. This item will still be available in your inventory.');
return 'Message sent to admin!';
}
I'm aware that nothing has been posted in 75 days. But this forum is almost always dead anyways. So...
I still have an issue. I need the message that will be sent to be predefined by me. For each item. And when they use it it will tell me there user name and the item they used.
How would I do this?