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 ... 69 70 [71] 72
1051
General SMFShop Discussion / Re: download xxx file
« on: January 29, 2006, 01:06:07 pm »
Make sure you're using the proper file path (where it says 'File Path (INCLUDING FILE NAME)'). Your directory layout should be something like this:

/home/[username]/public_html/ -- Public HTML folder
/home/[username]/public_html/forum/ -- Forum folder
/home/[username]/files/ -- The folder you store your files in.
[username] = cPanel username

If you're using cPanel, then the layout will be pretty similar. Make a 'files' folder OUTSIDE of the public_html folder, otherwise, if someone knows the name of the folder, they can download anything from it without paying!

If it still doesn't work, use the absolute path in the 'File Path' field (for example, "/home/[username]/files/test.jpg"). It should work for you

1052
General SMFShop Discussion / Re: I got nothing much
« on: January 29, 2006, 12:53:23 pm »
For some reason, your shop installation doesn't have a shop button. Your shop is at http://gamesocket.gamekiwi.com/forum/index.php?action=shop

To fix:
Open Themes/default/Index.template.php
Find:

<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];

Add after:

    
//BEGIN Shop MOD 0.2 Code
	
//BEGIN SMFShop 2.0 (Build 8) MOD Code
	
	
loadLanguage('Shop');
	
//END SMFShop MOD code
    
echo "<a href='{$scripturl}?action=shop'>", ($settings['use_image_buttons'] ? "<img src='{$settings['images_url']}/{$context['user']['language']}/shop.gif' alt='{$txt['shop']}' style='margin: 2px 0;' border='0' />" $txt['shop']), "</a>{$context['menu_separator']}";
    
//END SHOP MOD



1053
General SMFShop Discussion / Re: V. 2.0 for 1.1 RC2
« on: January 28, 2006, 08:29:15 pm »
Why doesn't the PHP file work for you? What error do you get?

Otherwise, all the SQL queries are run from inside the PHP file. I'm sure you'd be able to grab the SQL queries from it (and obviously replace {$db_prefix} with the prefix). If not, I'll get all the queries tommorow (it's getting late here now).

1054
General SMFShop Discussion / Re: Buy credits with PayPal
« on: January 28, 2006, 07:25:32 pm »
(just curious: what school  are you goin?)
I go to Northcote High School in Melbourne, Australia.
http://www.nhs.vic.edu.au/

1055
Note: This was for an OLD version of SMFShop (1.31). The contents of this post no longer apply to versions 1.31 and higher.

If you are getting an error when clicking on a 'View Inventory' link (something like 'ERROR: The member you typed ('1') doesn't exist!'), then you need to change  some code in your Display.template.php file.

Open Display.template.php
Find the old Inventory link. It will probably look something like this:
Code: [Select]
            //BEGIN SMFShop MOD 1.1 (Build 4) CODE
            echo "<a href='$scripturl?action=shop;do=invother2;membertype=id;member={$message['member']['id']}'>View Inventory</a><br>";
            //END SMFShop MOD 1.1 code

Replace it with the new code. This code is used since SMFShop 1.31 and looks something like this:
Code: [Select]
//BEGIN SMFShop MOD 1.31 (Build 7) CODE
echo "<a href='$scripturl?action=shop;do=invother2;member={$message['member']['username']}'>View Inventory</a><br>";
//END SMFShop MOD 1.31 code
This is due to a change in how the member name is passed to the View Inventory page (it used to be passed by ID, but is now passed by name).

1056
General SMFShop Discussion / Re: Shop Ideas
« on: January 26, 2006, 12:45:04 pm »
Hi,
 Sorry, but I might not be able to work on it at the moment. School is starting again for me next Monday, so I'll be focusing mainly on school. Unfortunately, that means I don't get much time to work on SMFShop.

 --daniel15

1057
General SMFShop Discussion / Re: Item suggestion
« on: January 26, 2006, 12:43:48 pm »
Hi,
 What items are in IPB Store? Just tell me and I'll see what I can do. Unfortunatly, school is starting again for me soon, so I won't have much free time.

Just tell me the items, and I'll see what I can do.
 --daniel15

1058
General SMFShop Discussion / Re: Buy credits with PayPal
« on: January 26, 2006, 12:42:42 pm »
Yeah, I'm still around ;)

I was thinking about PayPal integration, but unfortunately, I don't have much time at the moment. School is starting for me next Monday, and I'm sure that you'd agree that school is more important.

Having said that, I'll see if I can work on something. It probably won't be started for a while, so don't quote me on anything.

Sorry about this, but there's really not much I can do
 --daniel15

1059
Thanks for this. Will this problem happen again int eh next version? Because if not, will i ahve to applyt his fix manually every single time I upgrade SMFshop?
The only reason you'd have to do it again is if the code for the shop button changes (highly unlikely). So, no, you won't have to manually change it again

1060
General SMFShop Discussion / Re: Shop Ideas
« on: January 20, 2006, 07:48:50 am »
daniel i was wondering something that i asked over at SMF (username: Lostprophecy)

is it possible to have an email or PM send to either one person (myself) or all admins everytime someone buys something from the shop (i'm not talking about trade centre emails)

either that or is it possible to have a purchase log set up somewhere in admin where i can access it...

i really wouldlike this so i can keep track of what everyone is buying... having >250 members makes it hard if you can't keep a track of it

~Jessi

I'll see what I can do about that. It's probably just a simple code edit (I don't have access to the SMFShop code at the moment, so I'll see tonight).

1061
Completed Shop Buttons / Shop button for Cerberus theme by Bloc
« on: January 14, 2006, 02:38:56 pm »
This is a shop button for the 'Ceberus' theme by Bloc. It was made using the Bloc Zone Button Generator.

The file for the button is attached to this post. Please save this to Themes/cerberus/images/english/shop.gif

Code modifications:
Open Themes/cerberus/Index.template.php
Find:
Code: [Select]
        if ($context['allow_calendar'])
                echo '
                                <a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];

Add after:
Code: [Select]
                echo '
                                <a href="', $scripturl, '?action=shop">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif" alt="Shop" style="margin: 2px 0;" border="0" />' : "Shop"), '</a>', $context['menu_separator'];

Then, your shop button should be working :D
Quote

1062
Hi,
 You need to edit the template's files to show the shop button, and the credits information.
See http://www.daniel15.com/forum/index.php?topic=15.0 for the Cerberus shop button.

1063
General SMFShop Discussion / Re: User`s and the trade center
« on: January 12, 2006, 07:34:22 pm »
The code for the test items is in Sources/shop/items/testitem.php and Sources/shop/items/testitem2.php. It's best to look at all the items to see how they work, the test items are highly commented so they'll help you there.


1064
Completed Shop Buttons / Shop button for 'Apollo' theme by Bloc
« on: January 06, 2006, 09:25:07 am »
This is a shop button for the 'Apollo' theme by Bloc. It was made using the Bloc Zone Button Generator.

The file for the button is attached to this post. Please save this to Themes/apollo/images/english/shop.gif

Code modifications:
Open Themes/apollo/Index.template.php
Find:
Code: [Select]
        // The [calendar]!
        if ($context['allow_calendar'])
                echo '
                                <a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];

Add after:
Code: [Select]
                echo '
                                <a href="', $scripturl, '?action=shop">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.gif" alt="Shop" style="margin: 2px 0;" border="0" />' : 'Shop'), '</a>', $context['menu_separator'];

Then, your shop button should be working :D

1065
If you're having the problem that the shop button is dissapearing on SMF 1.1 RC2, then please try this:

Open Themes/default/Index.template.php
Find this:
Code: [Select]
//Begin SMFShop 2.0 (Build 8) MOD code
loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop">' , $txt['shop'] , '</a>
</td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop MOD code

Change to:
Code: [Select]
//Begin SMFShop 2.0 (Build 8) MOD code
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop">Shop</a>
</td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop MOD code

Tell me if that works for you

Pages: 1 ... 69 70 [71] 72