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

Pages: 1 ... 3 4 [5] 6 7 ... 72
61
Bugs / Re: Double Usernames?
« on: January 11, 2008, 04:07:27 pm »
Hi,
 Indeed, this looks like a bug. I thought that updateMemberData checked things like this, but clearly it doesn't. I'll need to look into how to fix this, this is a pretty serious bug.

Thanks for reporting it.

62
Installation Problems / Re: Download file v2
« on: January 11, 2008, 03:59:39 pm »
Sounds like PHP might be timing out.
In Sources/shop/items/filedownload2.php (I think that's what it's called), right below the <?php, add:
set_time_limit(0);

See if that fixes it. Alternatively, you might want to store your files in a web-accessible location (perhaps a directory with a random name and indexing turned off), and then just use the Display Message item to show a link to the file? This might work better.

63
Coding / Re: Change "7.00 cedits" to "7 credits"
« on: January 11, 2008, 03:09:01 pm »
Vincent Volmer, are you sure you updated the file correctly?
DarkAxi0m, perhaps make a new function called "formatMoneyBank" in Shop-Subs.php? Edit the normal function as mentioned above, and then add something like:
Code: [Select]
function formatMoneyBank($money)
{
global $modSettings;

// Cast to float
$money = (float) $money;
// Return amount with prefix and suffix added
return $modSettings['shopCurrencyPrefix'] . $money . $modSettings['shopCurrencySuffix'];
}
(this is the original code, except it's a function called formatMoneyBank instead of formatMoney)
Then, go through the code, and whenever you want something to appear with the decimal places, change formatMoney( to formatMoneyBank( (probably in Shop-Bank.php and Shop.template.php, among others)

Hope this helps you :)

64
Requested additions / Re: Decreasing money when deleting posts
« on: January 05, 2008, 01:24:17 pm »
I'm not too sure, I'll have to take a look into this.

65
Requested additions / Re: Buying an item more than once at a time.
« on: January 05, 2008, 01:23:40 pm »
Quote
(Why is my post count 1 here? I've posted more than once.)
Looks like the post counts broke again and I'll have to resynchronise them
(I'm running a beta version of SMF 2.0, so bugs are expected :P)

Quote
someone make this, i know theres someone out there who can
One day, I will :P
Anyone else want to do this for now? ;D

66
General SMFShop Discussion / Re: "Hacking attempt..."
« on: January 05, 2008, 01:22:18 pm »
Hmmm... Looks like it has to do with apostrophes and stuff. The fix I did to solve the problems with that item were only a quick fix, I'll need to implement a proper one. Sorry about that. :(

67
Coding / Re: [ITEM] I need help making my item work the way I want it to
« on: January 05, 2008, 01:20:50 pm »
Ohhh, I'm stupid :P
Find:
Code: [Select]
function onUse()
{
Add after:
Code: [Select]
global $context;
That should fix it :)

68
Shop Button Requests / MOVED: Shop button for ApolloBB
« on: January 05, 2008, 01:17:39 pm »

69
Completed Requests / Re: Shop button for ApolloBB
« on: January 05, 2008, 01:17:31 pm »

70
In that case, it should be working fine. What if you go directly to index.php?action=shop_cat?

71
General SMFShop Discussion / Re: Shop and Dynamic Avatar
« on: January 05, 2008, 01:15:53 pm »
I think someone was working on something similar, but never finished it. I'm not too sure though, I can't remember.

72
Installation Problems / MOVED: Messed Up My Forum
« on: January 05, 2008, 01:13:22 pm »

73
Firstly, please do not post your username and password to a public forum that's not your own!

Also, what's this actually do? Is this to buy credits via PayPal or something?

74
Installation Problems / Re: Shop misreading CHMODS
« on: January 05, 2008, 01:10:40 pm »
SMFShop doesn't read the CHMODs, SMF's package manager does. Like the error says, did you CHMOD the Packages directory to 0777?
Does it prompt for FTP info?

75
Requested additions / Re: Notify Admin When Item Is Purchased
« on: January 05, 2008, 01:05:38 pm »
Notification how? By PM? Email? Some other way?

Pages: 1 ... 3 4 [5] 6 7 ... 72