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.


Topics - xfollowthereaperx

Pages: [1]
1
General SMFShop Discussion / Credits for referals
« on: March 10, 2007, 09:04:36 pm »
http://www.simplemachines.org/community/index.php?topic=150169.0

Can someone expand this modification? Thanks  :D

2
This is exactly what it is, nothing more. Please help me  :D


3
Sorry but I just have to do it to get my ideas out there.

- SMF Shop report board - I have some of my items hooked up but not all
- Insurance item, along with all of the items hooked up to it (It's already been made, but I'd like to see it as a standard item)
- Name all things as credits (Some places credit is called "Money"  :idiot2: )
- Better categorizing of items
- More images for items  :smitten:



Sorry for the trouble Daniel but I love the shop  :smitten:

4
Items / Buy a Board (Idea)
« on: February 21, 2007, 05:22:44 pm »
My friend already has made this item.

I'm not sure exactly how to code it but it would be laid out like this:


Input 1: Name of the board
Input 2: Description of the board
Input 3: Placement of the board (If admin allows it)

Note: Member who buys the board, should become local mod of it as well

5
Items / Insurance (Still needs work!)
« on: February 20, 2007, 07:09:38 am »
Huge thanks to Basil Beard and TechnoDragon for making this item
The item is still in testing

With this item no one can bash your karma, steal your credits, change your member title,  or rob your bank.

Install the package
If you would like insurance from an item that isn't listed then edit one of theses two into the item.

Add this code to each item you want insurances to block (Single member affects, ie: steal your credits, bash karma)

Code: [Select]
$result = db_query("SELECT insurance from {$db_prefix}members WHERE id_member = ($_POST['target'])", __FILE__, __LINE__);
$row = mysql_fetch_assoc($result);
if ($row > 0) {
     db_query("UPDATE {$db_prefix}members SET insurance = (insurance - 1) WHERE id_member = ($_POST['target']))", __FILE__, __LINE__);

     return "That user has insurance, and wasn't affected.";
}
else {
//rest of code goes here
}


And as for multiple member affects, (ie: Rob the bank, Karmageddon)

Code: [Select]
$result = db_query("SELECT insurance from {$db_prefix}members WHERE id_member = ($_POST['target'])", __FILE__, __LINE__);
$row = mysql_fetch_assoc($result);
if ($row > 0) {
     db_query("UPDATE {$db_prefix}members SET insurance = (insurance - 1) WHERE insurance > 0)", __FILE__, __LINE__);

     return "Some users have insurance and weren't affected.";
}
else {
//rest of code goes here
}

6
Quote
What are you doing? That ISN'T your item!!! And you even went to inv3!! Well, I thought you might try that... Stop trying to steal, SMFShop is smarter than that ;)

I want to change it to an inside joke with my forums  :D

7
Items / Cookie
« on: February 19, 2007, 06:13:13 am »
It's pretty much a rock, it doesn't do anything but instead you can use it, when you use it, it just says "You eatted the cookie" and it disappears without any advantages

Why would you want this? You could tell someone "Congratulations, have a cookie  O0 "
Then give them this item




Cookie.php

Code: [Select]
<?php
/**********************************************************************************
* SMFShop item                                                                    *
***********************************************************************************
* SMFShop: Shop MOD for Simple Machines Forum                                     *
* =============================================================================== *
* Software Version:           SMFShop 3.0 (Build 12)                              *
* $Date:: 2007-01-18 19:26:55 +1100 (Thu, 18 Jan 2007)                          $ *
* $Id:: Cookie.php            79 2007-01-18 08:26:55Z daniel15                  $ *
* Software by:                DanSoft Australia (http://www.dansoftaustralia.net/)*
* Copyright 2005-2007 by:     DanSoft Australia (http://www.dansoftaustralia.net/)*
* Support, News, Updates at:  http://www.dansoftaustralia.net/                    *
*                                                                                 *
* Forum software by:          Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2007 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
**********************************************************************************/

if (!defined('SMF'))
die('Hacking attempt...');

class 
item_Cookie extends itemTemplate
{

// When this function is called, you should set all the item's
function getItemDetails()
{

// The author of the item
$this->authorName 'xfollowthereaperx';
// The author's website
$this->authorWeb '';
// And their email address
$this->authorEmail 'xfollowthereaperx@hotmail.com';


// VALUES CHANGEABLE FROM WITHIN ADMIN PANEL:
  // The name of the item
  $this->name 'Cookie';
  // The item's description
  $this->desc 'Here, have a Cookie';
  // The item's price
  $this->price 10;
  
//UNCHANGEABLE VALUES:
  // Whether the item requires input or not.
  $this->require_input false;
  // Useable?
  $this->can_use_item true;
}

// Since this item requires no input, we don't need to have a getUseInput function
// here (see the testitem2.php file if you want to make an item that needs input)

function onUse()
{
return 'You eatted the cookie';
}

}
?>


8
General SMFShop Discussion / [SOLVED] I installed Member Group Color mod
« on: February 15, 2007, 04:57:21 pm »
And I updated to the new SMF 1.1.2 from 1.1.1

And now I cannot uninstall it, and I wanted to use the Display Name CSS item

Can I still use it? I tried to uninstall it manually from the http://server.daniel15.com/smf/package.php but it errored

9
General SMFShop Discussion / Birthday Present
« on: February 12, 2007, 06:54:36 pm »
You should make something that will send an item or credit once it's a members birthday.

 O0

10
http://powerspike.ulmb.com/forums/index.php

Username: Test
Password: test123

It doesn't display them unless you're in the default template. I have no clue on how to fix it, any ideas? Thanks!

Pages: [1]