Show Posts

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.


Messages - Earache

Pages: [1]
2
Coding / RSS Feed Poster
« on: June 28, 2007, 06:05:52 am »
I have both rss feed poster and smfshop installed.
Now I setup a "fake" user for the RSS poster to create the forum posts, BUT it doesn't update the credits earned through SMFShop.  It doesn't increase it's total at all or anything.  Is there anyway I can make it work?

3
Installation Problems / Re: [SOLVED] Cron job probs
« on: June 11, 2007, 10:54:21 am »
yay it worked!!

Thanks Daniel, amazing script!!

4
Installation Problems / Re: [SOLVED] Cron job probs
« on: June 09, 2007, 02:11:11 pm »
Its not working for me.
Code: [Select]
<?php
/**********************************************\
| SMFSHOP (Shop MOD for Simple Machines Forum) |
|         (c) 2005 DanSoft Australia           |
|      http://www.dansoftaustralia.net/        |
\**********************************************/

//File: dointerest.php
//      The file to add interest to member's bank

//VERSION: 1.31 (Build 7)
//DATE: 10th December 2005

include("/home/.<server name>/<shell user name>/<domain name in the form of abc.com>/<directory for forum if not in root>/SSI.php");

$interest_rate $modSettings['shopInterest'] / 100;
db_query("UPDATE {$db_prefix}members
SET moneyBank = moneyBank + (moneyBank*
{$interest_rate})"__FILE____LINE__);

echo 
"Interest added at ".date("d/m/Y h:i:s A");
?>
This one just says
Quote
Warning: include(/home/.caracal/lucapit/minemine.org/Sources/shop/dointerest.php) [function.include]: failed to open stream: No such file or directory in /home/.caracal/lucapit/www.minemine.org/Sources/shop/dointerest.php on line 14

Warning: include() [function.include]: Failed opening '/home/.caracal/lucapit/minemine.org/Sources/shop/dointerest.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/.caracal/lucapit/www.minemine.org/Sources/shop/dointerest.php on line 14

Fatal error: Call to undefined function db_query() in /home/.caracal/lucapit/www.minemine.org/Sources/shop/dointerest.php on line 17

and the orignal one does absolutely nothing.
Any idea? :(

5
Installation Problems / Re: [SOLVED] Cron job probs
« on: June 09, 2007, 01:24:49 am »
I copy and pasted that from admin > SMF directory

6
Installation Problems / Re: [SOLVED] Cron job probs
« on: June 08, 2007, 07:24:31 am »
I tried to install using the regular cron job but no go.
I tried the script from above and no go
It keeps telling me
Quote
No such file or directory in /home/.c**/***/www.minemine.org/

SMF is installed in root folder along with TinyPortal, web host is Dreamhost, any ideas?

Pages: [1]