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

Pages: [1]
1
Coding / Two shops in one forum
« on: February 05, 2008, 05:58:33 pm »
Hey, im making a WWI rol game, and people use money and troops. I need it to be with SMFshop because it should be dynamic both money and troops.

I want the post profile to look like this:

Nickname
$3,000,000
20,000 troops

I was thinking in clonning some code, changing shop by shop2.

Code: [Select]
//Begin SMFShop
if ($context['current_action'] == 'shop')
$current_action = 'shop';
//END SMFShop MOD code

//Begin SMFShop
if ($context['current_action'] == 'shop2')
$current_action = 'shop2';
//END SMFShop MOD code

 And
Code: [Select]
//Begin SMFShop
//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">Shop</a>
</td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop MOD code

//Begin SMFShop
//loadLanguage("shop2");
echo ($current_action == 'shop2' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'shop2' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop2">Shop2</a>
</td>' , $current_action == 'shop2' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop MOD code

I would like to know what else should I change.

Thanks.

P.S: Sorry, Don't know how to make the size of the code bigger.

2
General SMFShop Discussion / My bank interest doesn't work.
« on: March 25, 2007, 04:04:00 am »
Im on Frihost and i have the cron job activated. I did almost everything the Shop wiki said.

I put  this on "Command": "/usr/bin/php -q /home/polis/public_html/Sources/shop/dointerest.php > /home/polis/public_html/interest_log.htm"   

"polis" is the username. I didn't put the forum name, because everything is on "public_html".

Any clue why is not working?

3
Installation Problems / Re: bank Interest and Cron job
« on: March 22, 2007, 12:58:10 pm »
maybe you should give permission 777 to interest_log.htm, but I'm not quite sure.

4
General SMFShop Discussion / Re: I dont get any bank interest
« on: March 09, 2007, 07:16:39 am »
I can't get inside the Subdomain Stats, I get the following message:

File does not exist

Details

You must wait for the stats to be computed. This will only happen *after* logs exist (domain must resolve and be used).

Info for Admins: Downloading a new webalizer binary

5
General SMFShop Discussion / I dont get any bank interest
« on: March 09, 2007, 06:31:48 am »
How can I fix this?  :-\

SMF 3.0

6
General SMFShop Discussion / Re: Quotes gives you credit?
« on: February 24, 2007, 11:10:11 am »
Oh, right I didn't think about that. Thanks.  :D

7
General SMFShop Discussion / Quotes gives you credit?
« on: February 24, 2007, 03:31:27 am »
Thats is because people is abusing of copy/paste, and my forum the money is something very important, so i told them to quote anything that is not from their own creation. So, Quotes gives you any credit?

Thanks  ;)

8
General SMFShop Discussion / Re: Hello, I have some questions
« on: February 19, 2007, 11:42:21 am »
Thanks for the info.

I have another question:

Does the quotes give you credits/money?

9
General SMFShop Discussion / Re: Hello, I have some questions
« on: February 12, 2007, 04:21:23 am »
Ok, if I can, i will make a translation, so more people can have access for this great tool.

10
General SMFShop Discussion / Re: Hello, I have some questions
« on: February 11, 2007, 01:37:50 pm »
Thank you so much.
Hey, ¿is there any spanish translation for SMFshop3.0? I've only found one for 2.3 version.

11
General SMFShop Discussion / Hello, I have some questions
« on: February 11, 2007, 10:32:26 am »
Hey, im Polis, im using SMFshop 3.0 and is great and my users love it. Nice work ; )

My questions are the following:

1.- Can I remove some money to a single user, and not the whole membergroup?
2.- Can I disable some forums so my users don't get money from them?

Best regards.

Pages: [1]