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

Pages: [1] 2
1
Modifications / Re: SMF Lottery Mod
« on: July 30, 2008, 08:34:59 am »
why does it matter, the person will still win.... its something that should not matter...



Umm... because it's not going in the order that they pick them in.. nor is it going in the order it is drawn in = not like a lottery at all..

2
Modifications / Re: SMF Lottery Mod
« on: July 27, 2008, 06:26:37 am »
lottery drawing balls are going in numeric order.. if someone picks balls 5,3,6,2 it will take it as 2,3,5,6.  Same thing for the winning balls.. if it was actually 8,5,9,2 it would set the winning balls as 2,5,8,9... any way to fix this?

3
Installation Problems / Re: Shop Won't Show Up / Work
« on: July 26, 2008, 05:47:02 am »


The Shop Administration options won't show up.  One more thing, my forum doesn't use the default theme.  Is that the problem?  I also use 1.1.5.

If you're not using a default theme you need do the necessary modifications to that themes file seeing as the mod package installer only does it to the default theme.

Go here: http://custom.simplemachines.org/mods/index.php?mod=65
On the top right select 1.1.5 from the dropdown & click submit.  That will give you what the mod does to install it.  Things that say

./Themes/default/xxxx.php

You need to do for your theme where it would be ./Themes/THEME NAME/xxxx.php





4
Installation Problems / Re: No acp, all there is are credits :(
« on: July 25, 2008, 12:06:53 am »
did you make the necessary modifications for your theme?
http://custom.simplemachines.org/mods/index.php?mod=65
go there, go to Manual Install Instructions for SMF on the right side, select your SMF Version
Make sure you've done the mods for your theme, some won't call to the default theme folder where the mod thinks it will be.. for this problem..

Move the included file "Shop.english.php" to "./Themes/default/languages".
Move the included file "ShopAdmin.template.php" to "./Themes/default".
Move the included file "Shop.template.php" to "./Themes/default".

Make sure you move those to that theme's folder (re-download the zip and manually put them there)

so
Move the included directory "shop" to "./Sources".
Move the included file "Shop.english.php" to "./Themes/YOURTHEMENAME/languages".
Move the included file "ShopAdmin.template.php" to "./YOURTHEMENAME/default".
Move the included file "Shop.template.php" to "./YOURTHEMENAME/default".

Seeing as yours is basically missing the text... you're probably missing Shop.english.php in your theme's languages folder.


Oh and btw, you spelled Computers wrong on your forum. (No New Posts       Conputers and Hardware)

5
Requested additions / Money Logs
« on: July 22, 2008, 01:40:06 am »
Not sure how hard this would be.. would help a lot and be an amazing addition if there were logs for where the money goes with the shop.  Could be member accessible or admin only accessible to see who sent who waht, where someone's money went for buying something, etc.

6
General SMFShop Discussion / Re: Help Creating Menu (Not Buttons)
« on: July 21, 2008, 03:27:45 am »
not that experienced with php but to me.. for that error looks like you missed a ' in your code you added after the echo:

Yours:
Code: [Select]
//Begin SMFShop code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ?
<li><a href="', $scripturl, '?action=shop">' , $txt['Shop'] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';

With the non-missing:
Code: [Select]
//Begin SMFShop code
//loadLanguage("shop");
echo ' ($current_action == 'shop' || $context['browser']['is_ie4']) ?
<li><a href="', $scripturl, '?action=shop">' , $txt['Shop'] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';

try that :)

7
Items / SMF Pets -> Pet Toy
« on: July 21, 2008, 03:24:14 am »
This item will increase the happiness of the pet by X amount set by you.

Basically modded pet food to make it happiness only for those who want it, all credit goes to basil beard for that :P

All you need to do is download the file
change the extension from .txt to .php (can't upload .php files on this site >.< )
and upload the file to your /sources/shop/items/ directory on your site.
Then add the item in through your admin panel under smf shop and it should work!

Post here if any problems!

8
Bugs / Re: Not getting Intrests
« on: July 21, 2008, 03:22:46 am »
Well then, may I ask how to do this cron job?

not hard to find m8.. there is a search for such things.. been asked and answered many times.

http://www.dansoftaustralia.net/smfshop_wiki/Bank_Interest

9
Items / SMF Pets -> Super Treat
« on: July 21, 2008, 02:57:40 am »
This item will increase the total skill points of whichever pet the user picks by X amount (you can define this yourself in the admin panel when adding the item in)

All you need to do is download the file
change the extension from .txt to .php (can't upload .php files on this site >.< )
and upload the file to your /sources/shop/items/ directory on your site.
Then add the item in through your admin panel under smf shop and it should work!

Post here if any problems!

10
Bugs / Re: Not getting Intrests
« on: July 19, 2008, 07:35:13 am »
It seems as if on all of the SMFshops installed, all the banks don't work in interest.  I haven't screwed with the code yet, but I want to know how to get the bank interest to start working.

Because a cron job needs to be set up first to make the interest work.. can't work without it.

11
Coding / Re: need help w/ mainnav link
« on: July 19, 2008, 07:33:29 am »
// Show the [shop] button.
   echo '
            <td valign="middle" class="mainnav' , $current_action == 'shop' ? '_active' : '' , '">
               <a href="', $scripturl, '?action=shop">' , $txt['shop'] , '</a>
            </td>';

is the code i got in there.. but all my others show $txt['103_a'] and so on...
im running the warzone theme from m3talc0re if anyone can help me get the shop link up and running .. thanks in advance... btw its working only when im in admin panel.. if i click home its not showing.. thanks again


You can either define shop in languages/english.index.php
by doing this:
Code: [Select]
$txt['shop'] = 'Shop';

or simply in that code change it to this:
Code: [Select]
// Show the [shop] button.
   echo '
            <td valign="middle" class="mainnav' , $current_action == 'shop' ? '_active' : '' , '">
               <a href="', $scripturl, '?action=shop">' , Shop , '</a>
            </td>';

Either will work most likely.. but the first way is the real way to do it.

12
Would be awesome I think if people received extra points for getting a new post rank.  Like 10 for first one, 25 for second, 50 for third, etc. going up and customizable.

13
Coding / Lottery - Possible to do w/o cron job?
« on: July 14, 2008, 03:58:11 am »
Just wondering if there was any possible way to do the lottery w/ out a cron job.. My host doesn't support cron jobs w/ my package and it would be a extra $5 a month just to add that.. not worth it for just a lottery & bank interest :(

14
Coding / Re: SMF Pets - Code link wrong
« on: July 12, 2008, 08:21:33 pm »
Just remove the phrase "http://sandbox.nomicville.com/index.php" from Shop-Pets.php wherever it appears. probably should actually use some $url setting built into SMF, but I think that'll work.

:P did, found it couple days ago after searching for a while, thanks though! :)

15
Modifications / Re: SMFPets Version 0.2
« on: July 12, 2008, 01:01:49 am »
Just wondering if anyone has written any new pet breeds codes or new pet skills.  I'll be trying to write some over the next few days that I'll share here if they actually work.  Would love to see anyone's new pet skills or complete pets if anyone has made some!

Pages: [1] 2