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

Pages: [1] 2 3 4
1
Installation Problems / Re: How do i install?
« on: December 07, 2007, 12:11:57 am »
simplemachines.org/download/ to download SMF.

2
Coding / Re: Installing Expansion
« on: December 07, 2007, 12:11:19 am »
after you set up smf you can install shop and those other two packages via the package manager

3
Bugs / Re: Count Shop Points
« on: December 02, 2007, 02:35:49 pm »
oh, yeah, that's the problem.
use the mod parser http://modparser.dev.dansoftaustralia.net/
or you can just manually add in the changes (may take a while, like, say ten minutes)

4
Shop Button Requests / Re: Shop Button For Alak Theme
« on: December 02, 2007, 02:18:26 pm »
oops, change
Code: [Select]
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];

to:
Code: [Select]
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'shop')))
$current_action = $context['current_action'];

sorry about that. :)

5
Shop Button Requests / Re: Shop Button For Alak Theme
« on: December 02, 2007, 05:24:48 am »
here ya go :) just add that after the [calendar] button in index.template.php

Code: [Select]
        // The [shop] button
                echo '<li><a class="shop' , $current_action == 'shop' ? ' active' : '', '" href="', $scripturl, '?action=shop">' , $txt['shop'] , '</a></li>';

6
Coding / Re: [ITEM] I need help making my item work the way I want it to
« on: November 30, 2007, 04:43:39 am »
i think sendpm() will do the trick for you :)

in getUseInput(),  after setting the teddy bear's name to post, (using method="post") in the $from parameter of sendpm(), use $_POST['teddy_name'] to use the teddy's name.

am i right or am i right? :D (i'm a php beginner, sorry :P )

7
Coding / Re: Change "7.00 cedits" to "7 credits"
« on: November 29, 2007, 04:46:27 am »
i looked around in the source and i saw the function making the money a 'floating- point' value.
in Shop-Subs.php, at the top, find "// Cast to float", and the line under that, either delete the two lines or put two succeeding slashes at the beginning of the line to make it a comment. (to preserve the code for the future if needed)
i.e. delete this..
// Cast to float
$money = (float) $money;

or.. make it a comment like this

// Cast to float
// $money = (float) $money;

either one works.

8
Installation Problems / Re: Not Geting Intrest from Bank!
« on: November 27, 2007, 11:54:29 pm »
it shoulda been emailed to you

9
Coding / Re: Money on page reload
« on: November 26, 2007, 11:53:48 pm »
whoa yeah talk about a load on the server :D

10
Requested additions / Re: Buying an item more than once at a time.
« on: November 26, 2007, 11:51:41 pm »
just buy it, press alt+left arrow key, press alt+right arrow key, and repeat  ;D it goes pretty fast but nonetheless, yeah, this would be a good addition

11
Coding / Re: ? about the trade center
« on: November 26, 2007, 11:43:19 pm »
yeah on another forum it says "Item successfully purchased from [admin of site]."   when you purchase an item.  well it doesnt actually say "admin of site" but it says the admin. and that's even when someone else tries to sell an item in the trade center.

12
General SMFShop Discussion / Re: Error before install
« on: November 23, 2007, 12:11:39 pm »
go through with the installation and then edit Subs-Board.php manually. (Subs-Board.php modification failed)

13
Coding / Re: Admin of the Shop
« on: November 23, 2007, 08:12:35 am »
create a new membergroup, and copy the super admins permissions to that new Shop Admin membergroup. then go to that membergroup's permissions, and un-tick anything that you dont want for them to be able to do.

14
Coding / Re: ? about the trade center
« on: November 22, 2007, 01:52:01 pm »
no prob.
might wanna ask zenin about it if he fixed cuz he had the same problem O0

15
Items / Re: Need Help Finding This...
« on: November 21, 2007, 04:21:25 pm »
were there any errors during the mod's installation?

Pages: [1] 2 3 4