Wii-volution  /   Guild Wars Realm  : CRGN logo
close
Welcome, Guest. Please login or register.
December 04, 2008, 06:11:35 PM
Username: Password:
Login with username, password and session length

Forgot your password?
Top Panel
Login / Logout
Top Panel

Interested in helping me add shop items?
*
Home
Help
Search
Shop
Login
Register
Recent Posts can be viewed at the bottom of this page.
Search:     Advanced search
38857 Posts in 3909 Topics by 2592 Members Latest Member: - CleosMM Most online today: 18 - most online ever: 85 (March 25, 2008, 02:01:55 PM)
Pages: [1]
Print
Author Topic: Interested in helping me add shop items?  (Read 255 times)
0 Members and 1 Guest are viewing this topic.
meridianblade
Administrator
Wii Overlord
*****
Posts: 2423
261.20 Dollars

View Inventory
Send Money to meridianblade


View Profile
« on: February 16, 2007, 11:06:57 AM »

If anyone would like to, i'll provide directions on how to create shop items (it's real easy, just time consuming) and you guys can submit them to me and i can add them in real quick. This would help me out alot, anyone interested?  :-)


edit//


Alright here you go:
First, the image needs to have a white background (if possible) and 100x100 in size. eg:

here's the .php file template:
Just follow the //comments and you'll get it in no time!
UPDATE in: class item_ITEMNAME extends itemTemplate; ITEMNAME must be the same as the filename, so ITEMNAME would be ITEMNAME.php with no spaces or underscores.
Code:
<?php

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

// Change ITEMNAME to whatever, e.g. wii, this must be done.
class item_ITEMNAME extends itemTemplate
{
function getItemDetails()
{

// The author of the item
$this->authorName 'Your Name';
// The author's website
$this->authorWeb 'http://www.wii-volution.com/';
// Email address
$this->authorEmail 'email@example.com';


// Change these to match the item your creating:
  // The name of the item
  $this->name 'Example Item';
  // The item's description
  $this->desc 'Example Description';
  // The item's price
  $this->price 19.99;
  
//UNCHANGEABLE VALUES, no need to mess with these:
  $this->require_input false;
  $this->can_use_item false;
}
}
?>


Save this file with the same name you used in "class item_ITEMNAME extends itemTemplate" so if you used wii save the file as wii.php

Lemme know if anyone has any questions! Thanks!
Logged

Administrator

360 Gamer Tag: Phatwila
iimawii™
Wii Overlord
*****
Posts: 921
0.00 Dollars

View Inventory
Send Money to iimawii™

View Profile Email
« Reply #1 on: February 16, 2007, 11:08:05 AM »

ME!!!!!!!!!!!!!!!!!!!!!!!!!!
I'm at the disposal of your needs.
Logged
MysticGohan
Wii Overlord
*****
Posts: 5593
144.80 Dollars

View Inventory
Send Money to MysticGohan

View Profile Email
« Reply #2 on: February 16, 2007, 02:49:25 PM »

i can help i just need someone to tell me what to do....
Logged

<br /><br /> <br /><br />
Elecom
Regular
***
Posts: 192
0.00 Dollars

View Inventory
Send Money to Elecom

View Profile Email
« Reply #3 on: February 17, 2007, 01:16:09 PM »

When we're done how do you want us to send it to you?
Logged
meridianblade
Administrator
Wii Overlord
*****
Posts: 2423
261.20 Dollars

View Inventory
Send Money to meridianblade


View Profile
« Reply #4 on: February 17, 2007, 01:49:19 PM »

You can either email it to me at admin@wii-volution.com or send me a pm through the forums. If you have multiple items, zipping them up would help greatly.

Thanks!
Logged

Administrator

360 Gamer Tag: Phatwila
Elecom
Regular
***
Posts: 192
0.00 Dollars

View Inventory
Send Money to Elecom

View Profile Email
« Reply #5 on: February 17, 2007, 02:12:51 PM »

Ok I sent you a PM.
Logged
meridianblade
Administrator
Wii Overlord
*****
Posts: 2423
261.20 Dollars

View Inventory
Send Money to meridianblade


View Profile
« Reply #6 on: February 17, 2007, 02:19:43 PM »

looks good, just a few things that I took care of: just make sure to resize the images to 100x100px if you can, and under "class item_" don't place spaces between words as it wont work. and for money, just put the exact price, you wont need a # or $ before it. Thanks and great work! i'll be adding it soon!
Logged

Administrator

360 Gamer Tag: Phatwila
Elecom
Regular
***
Posts: 192
0.00 Dollars

View Inventory
Send Money to Elecom

View Profile Email
« Reply #7 on: February 17, 2007, 02:26:54 PM »

No Problem and I'll keep that stuff in mind. I could be the official person to Do this stuff. And to resize it do you use a program or what?
Logged
meridianblade
Administrator
Wii Overlord
*****
Posts: 2423
261.20 Dollars

View Inventory
Send Money to meridianblade


View Profile
« Reply #8 on: February 17, 2007, 02:37:06 PM »

I updated the initial post here.

You can use any type of image editing program. photoshop works good for it.
in a nutshell I do the following.

If the image is even like 500x500 or 800x800, changing the image size to 100x100 works fine. if its something like 500x394 then I change the width to 100 (making sure size constraints are turned on so the height scales accordingly) then I change the canvas height to 100px and fill the background in with white. You could use a program like easy thumbnails to do most the work for you. you'd just have to use something else for images that aren't perfect squares to fill in the white. Hopefully that makes some sense, lemme know as I can always help with image resizing.
Logged

Administrator

360 Gamer Tag: Phatwila
Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Oxygen design by Bloc
Valid XHTML 1.0! Valid CSS!


© 2007 Charged Networks
All Characters, Comments, Articles, Logos, and Images are property of their respective owners.


Get hosted on the same powerful servers as Wii-volution