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 - Emperium

Pages: [1]
1
Coding / Re: Interest Cron Job with Go Daddy
« on: February 18, 2008, 03:14:13 am »
SOLVED!
After asking countless people and searching up a bunch of resources and info, I finally figured out how to get the interest cron job working on GoDaddy's Cron Job Manager:

The command you have to type to run the dointerest.php is:

/web/cgi-bin/php -q /home/content/E/m/p/[MyUserName]/html/emperium/forums/Sources/shop/dointerest.php > /home/content/E/m/p/[MyUserName]/html/emperium/forums/interest_log.htm

"/web/cgi-bin/php" Runs the PHP. $Home is just an attribute to the path of the php ($HOME/html/emperium/forums/Sources/shop/dointerest.php), you have to put the actual full path or else it wont work (so you can't browse for the dointerest.php because you just get the $HOME attribute.

Save it and its good to go!

2
Coding / Re: Interest Cron Job with Go Daddy
« on: February 15, 2008, 08:47:42 pm »
This time when the cron job (/usr/bin/php -q $HOME/html/emperium/forums/Sources/shop/dointerest.php" > "$HOME/html/emperium/forums/interest_log.htm) initiated I got an email report saying:

/bin/sh: line 1: /usr/bin/php: No such file or directory

Seems like it didn't work.

3
Coding / Interest Cron Job with Go Daddy [SOLVED]
« on: February 15, 2008, 07:17:09 am »
Well, I tried making a Cron Job with Go Daddy hosting but I got an error at the time the cron job initiated.

"$HOME/html/emperium/forums/Sources/shop/dointerest.php" > "$HOME/html/emperium/forums/interest_log.htm" was the command I inputed. (I simply browsed for dointerest.php and got "$HOME/html/emperium/forums/Sources/shop/dointerest.php" then I added  > "$HOME/html/emperium/forums/interest_log.htm" to mimic the Cpanel example of having the interest_log.htm inside the forum directory. (Though that file does not exist in the forum directory, I'm assuming it gets made when the cron job is initiated.)

When the Cron Job attempted to do that command I got this:
/bin/sh: line 1: /var/chroot/home/content/E/m/p/[UserName]/html/emperium/forums/Sources/shop/dointerest.php: Permission denied

Can I please get help, I would really like to get Interest working on my SMF Shop :).

4
Awesome, thanks so much Daniel15!!!

Works well and absolutely love it. But is there a way to prevent a member from purchasing an item without having other specific items in their inventory?

5
Requested additions / [SOLVED] Change Custom Title... To Something Specific
« on: February 14, 2008, 07:32:34 am »
I know there's the change title item, but I don't wan't to give my members the choice of changing the custom title themselves. For example I wan't them to buy a specific Custom Title.
Example: Purchase Custom Title: I pwn teh world! - 1000 Credits
So they pay 1000 Credits and they will have they're current Custom Title changed to "I pwn teh world!" or if they haven't had a custom title before this gets added to their profile.

(Of course I'll be sure the members permissions so that they cannot change their own title willingly.)

I also want to make sure that the member cannot buy a certain title until they have another title item in their inventory.
For example to buy Custom Title: "Level 7 - Lucky 7", a member will have to have 6 other Custom titles purchased, 1 through 6, to be able to purchase the Level 7 title.

6
Items / Re: Item Request : Sell my Soul
« on: January 14, 2008, 05:09:37 am »
I would also like to know if it is possible for someone to create such an item. People are becoming quite desperate for credits these days so such a feature would be great. To sell Karma for credits. Can someone please make this?

7
Items / Re: Download Item
« on: April 21, 2007, 09:59:23 am »
Any errors in your error log?

I do get an error + a link.

The link links me to a page that says:
An Error Has Occurred!
What are you doing? That ISN'T your item!!! And you even went to inv3!! Well, I thought you might try that... Stop trying to steal, SMFShop is smarter than that ;)

2: fopen(/images/banner.jpg): failed to open stream: No such file or directory
File: /home/content/E/m/p/MyUsername/html/emperium/forums/Sources/shop/items/filedownload2.php
Line: 60

8
Items / Re: Download Item
« on: April 17, 2007, 12:51:27 am »
I'm also having troubles with downloadfile2. It's added and all but when I download my file which I set its an rar that's on the server as 32 or so mb, but I only get 0 or a few bytes downloaded after I use the item after purchasing it.

Pages: [1]