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

Pages: [1]
1
It should add interest on a daily basis? Because its been a month that I fixed (finally) the file by creating my own empty interest_log.htm... and so far... nothing...

This is what my screen looks like:



And this is the... http://www.khaotikdezirez.com/interest_log.htm

2
Coding / Re: Code to put stuff for sale?
« on: October 15, 2006, 01:23:42 pm »
Hmmmm thank you! worked wonders :)

3
Coding / Re: Need a code to modify many inventories at once...
« on: October 15, 2006, 01:11:32 pm »
OMG....
o.O
You spoke greek to me... and I have a hell of a huge ammount of members... 314 or something like that... that is why I asked... they play board games... not like Arcade or something... so we count points... (many moderators for that) and then add to their Shop accounts... mannually.... one by one... using a fiction member to "Send Money"  to them... meh

4
Coding / Re: Need a code to modify many inventories at once...
« on: September 09, 2006, 01:10:30 am »
We give them points monthly... but they are like 240 people :)
So I have been going one per one cause the values are different too. It is according to how many games they play etc.

Uh, Daniel, I am having CronJobs problem too... it is not creating the file it was supposed to. Check this out:

/bin/sh: /home/khaotikd/public_html/www/interest_log.htm: No such file or directory

5
Coding / Code to put stuff for sale?
« on: September 07, 2006, 05:44:45 am »
Is it possible?
Like... let's say I make a nice mega (icon) and want to sell it... can I upload it? Can other members upload their own stuff?

6
Coding / Need a code to modify many inventories at once...
« on: September 05, 2006, 03:02:05 am »
Can that be created? We give monthly points to members and is hellish to alter one by one, account by account.

7
General SMFShop Discussion / Re: RC 3?
« on: September 03, 2006, 12:11:53 am »
Nope...
I did change that and it gives me:

Quote
Fatal error: Failed opening required '/www/cgi/boards/Sources/shop/items/AddToPostCount' (include_path='.:/usr/share/pear') in /www/cgi/boards/Sources/shop/ShopAdmin.php on line 168

Oh yeah... how do people add items for trade on their own? I do not see how... :)

8
General SMFShop Discussion / Re: RC 3?
« on: September 02, 2006, 01:41:36 pm »
Nothing was recorded in the error log about the shop other than this, which has nothing to do with the add items thing:

Quote
Syndel   Today at 11:39:41 PM 
      fc9c2376c5a8c50b18c73bb0000f31e1 
 http://roleplaycentral.com/cgi/boards/index.php?action=shop;do=viewall 
Unable to load the 'InstantMessage.english' language file.

And after I made the substitution you asked me to, the error changed to:

Quote
Fatal error: Failed opening required '/www/cgi/boards/Sources/shop/items/AddToPostCount' (include_path='.:/usr/share/pear') in /www/cgi/boards/Sources/shop/ShopAdmin.php on line 168

9
General SMFShop Discussion / Re: RC 3?
« on: September 02, 2006, 10:11:18 am »
And this is the AddToPostCount.php

Quote
<?php
/**********************************************\
| SMFSHOP (Shop MOD for Simple Machines Forum) |
|         (c) 2005 DanSoft Australia           |
|      http://www.dansoftaustralia.com/        |
\**********************************************/

//File: AddToPostCount.php
//      Item (takes additional fields when adding to Admin panel)

//VERSION: New Version
//DATE: 10th April 2005
// $Id: AddToPostCount.php 3 2006-07-08 10:01:21Z daniel15 $

class item_AddToPostCount extends itemTemplate {
    function getItemDetails() {
        $this->name = "Add xxx to Post Count";
        $this->desc = "Increase your Post Count by xxx!";
        $this->price = 50;
       
        $this->require_input = false;
        $this->can_use_item = true;
    }
   
    //this is the best bit of this item. When you add the item into the admin panel, you
    //can set additional variables (up to 4). Make sure to call them info1, info2, info3
    //and info4.
    function getAddInput() {
        return "Amount to change post count by: <input type='text' name='info1' value='100'>";
    }

    //the additional parameters (see 'getAddInput' above) are in the '$item_info array.
    //make sure to make it global (like shown here) otherwise you won't be able to access
    //it's contents. THE ARRAY IS 1-BASED (eg. 1 IS THE FIRST ITEM) NOT 0-BASED!
    function onUse() {
        global $db_prefix, $ID_MEMBER, $item_info;

        $result = db_query("UPDATE {$db_prefix}members
                            SET posts = posts + {$item_info[1]}
                            WHERE ID_MEMBER = {$ID_MEMBER}",
                            __FILE__, __LINE__);
        return "Successfully added {$item_info[1]} to post count!";
    }

}

?>

10
General SMFShop Discussion / Re: RC 3?
« on: September 02, 2006, 10:04:59 am »
This is what my ShopAdmin.php looks like:

<snipped by Daniel15, too long>

11
General SMFShop Discussion / Re: RC 3?
« on: September 02, 2006, 09:42:41 am »
And yep... addtopostcount is inside /www/cgi/boards/Sources/shop/items/

12
General SMFShop Discussion / Re: RC 3?
« on: September 02, 2006, 08:48:52 am »
I fixed the non-existant user by changing his username... then it accepted it... go figure....
I don't understand what code could be missing or what should be added.
I am really lost.

13
General SMFShop Discussion / Re: RC 3?
« on: September 01, 2006, 12:31:00 am »
What is the proper place in the store for the addtopostcount.php? I dunno much about codes....
And yep... was using the real name, not the display.

14
General SMFShop Discussion / Re: RC 3?
« on: August 30, 2006, 09:04:14 am »
Hi!
I opened a ticket of support, but not sure if that worked. I am sorry, my first language is not English!
I installed the newest version for RC3 and I am having 2 issues:

1) Cannot add items

Quote
Fatal error: Cannot instantiate non-existent class: item_addtopostcount in /www/cgi/boards/Sources/shop/ShopAdmin.php(174) : eval()'d code on line 1

2) Cannot edit member's inventory of a member that exists cause say it doesn't! Even when I find it in the search members tool :/

Help please?

Pages: [1]