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

Pages: [1]
1
Requested additions / Re: Reward for Inviter
« on: October 16, 2009, 04:52:08 pm »
I believe that is the "Referral" mod. After installation, each forum member gets a "referral link". (www.YourForum.com/index.php?referredby=ID_MEMBER)

Anyone visiting the forum from that user's referral link gets shop credits. (Shows on forum user's profile as "referral hits".

Also, they get additional shop credits if someone registers after using the "referral link"

http://custom.simplemachines.org/mods/index.php?mod=1114

2
Modifications / Re: SMF Lottery Mod
« on: October 16, 2009, 04:13:46 pm »
This is a pretty good mod.. but no one seems to know how to explain the little cron job thing so I have no choice but to stop using it.

I think the cron job should look like this:

Command entry to run: /usr/bin/php -q  /home/YOURINFO/public_html/Sources/shop/LotteryDraw.php > /dev/null


3
General SMFShop Discussion / Shop Errors After Large Package Upgrade
« on: October 13, 2009, 08:16:31 pm »
I'm getting errors after a large package upgrade 1.1.10, which I needed to upgrade my database:

Random Money: (Still functions; just spits errors in admin error log)
8: Use of undefined constant id - assumed 'id'
File: /home/myspacea/public_html/Sources/shop/items/RandomMoney.php
Line: 78
   
http://www.myspaceappmasters.com/index.php?action=shop;do=inv3&id=505
8: Use of undefined constant user - assumed 'user'
File: /home/myspacea/public_html/Sources/shop/items/RandomMoney.php
Line: 78
Code: [Select]
WHERE ID_MEMBER = {$context[user][id]}", __FILE__, __LINE__);

Egg  Avatar: (Still functions; just spits errors in admin error log)
8: Undefined index: eggtaunt
File: /home/myspacea/public_html/Sources/shop/items/EggUserV2.php
Line: 176
Code: [Select]
if(($_POST['eggtaunt'] == "")||(!isset($_POST['eggtaunt'])))
SMF Shop Lottery (during reinstall after ugrade):
Installations actions for "SMF Shop Lottery":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/languages/Shop.english.php    Test successful
2.    Execute Modification    ./Sources/shop/Shop.php    Test successful
3.    Execute Modification    ./Themes/default/Shop.template.php    Test successful
4.    Execute Code    LotterySQL.php    
5.    Extract File    ./Sources/shop/LotteryDraw.php    
6.    Extract File    ./Sources/shop/Shop-Lottery.php    
7.    Extract File    ./Sources/shop/items/Lottery.php

BUT... I get this after attempting to install: (probably because there was a lottery & jackpot, but not a drawing, in place before the upgrade)
Duplicate entry 'lottery_pot' for key 1
File: /home/myspacea/public_html/Packages/temp/LotterySQL.php
Line: 42
Code: [Select]
// Add a place to store the jackpot. Start jackpot off at 1000 just because I want to
db_query("INSERT INTO {$db_prefix}settings (`variable`, `value`) VALUES ('lottery_pot', '1000')",__FILE__,__LINE__);

Can anyone assist with this? Please?

4
Items / Re: items file
« on: September 22, 2009, 05:02:43 pm »
I realize this is a pretty old thread, but wanted to reply how easy it is to add misc shop items for those that may not know how or think it's too hard.

Find free images in off the internet or make your own. Copy them to a folder on your hard drive. (Example: My Documents/Forum Files/Mods/Images)

FTP (upload) them from your hard drive location to your www.BlahBlahForumSite/Sources/shop/item_images folder. To add them, choose that you are adding a "A Test Item". Give it a name, description, price, etc. Select the image from your shop images folder. Make sure the box is unchecked to delete after use.

There are a lot of images already in the shop images folder. Make use of some of those too.  O0 The possibilities are pretty much endless.

I've added some of these items, trying to think of things people would want to buy:

Cocktails:
          
Beer       MaiTai       Mojito

Entertainment:
     
Dancing Stewie    Table Dancer

Gifts:
          
Roses        Balloons          Kiss

Smoke:

Popular for some users  :buck2:

Snacks:
          
7-Up     Greasy Nachos     Pizza

Toys:

Panda

Pages: [1]