Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.1.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #41  
Old 02-09-2010, 04:37 PM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 10,340
redheadturkey is on a distinguished road
Default RE: Item Shop - Working Again!

ah fantastic!!

thanks SO much!! :D :D
Reply With Quote
  #42  
Old 02-09-2010, 09:08 PM
Fireballchad Fireballchad is offline
Member
 
Join Date: Aug 2009
Posts: 49
Credits: 8,329
Fireballchad
Default RE: Item Shop - Working Again!

Quote:
Originally Posted by redheadturkey
ah fantastic!!

thanks SO much!! :D :D
Please let me know if you get it installed :D
Reply With Quote
  #43  
Old 02-09-2010, 11:17 PM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 10,340
redheadturkey is on a distinguished road
Default RE: Item Shop - Working Again!

I did, and it works great!!

I am sure there is a lot we can do with a shop ! -- I have it where I can buy pets, and so far so good -- -ONE question -- no matter what I do, it says all pets are 1 dollar, LOL.

I tried to figure out how to change that, and so far, no luck. I'd like to make different prices --- is there a place to insert that in code I am missing?

( I did put the price when I made a new pet, where it says to, but it isn't 'taking' )
Reply With Quote
  #44  
Old 02-10-2010, 01:40 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 375,010
Hall of Famer is on a distinguished road
Default RE: Item Shop - Working Again!

Thank you for fixing the link.
Reply With Quote
  #45  
Old 02-10-2010, 04:23 PM
Fireballchad Fireballchad is offline
Member
 
Join Date: Aug 2009
Posts: 49
Credits: 8,329
Fireballchad
Default RE: Item Shop - Working Again!

Quote:
Originally Posted by redheadturkey
I did, and it works great!!

I am sure there is a lot we can do with a shop ! -- I have it where I can buy pets, and so far so good -- -ONE question -- no matter what I do, it says all pets are 1 dollar, LOL.

I tried to figure out how to change that, and so far, no luck. I'd like to make different prices --- is there a place to insert that in code I am missing?

( I did put the price when I made a new pet, where it says to, but it isn't 'taking' )
hmmm there is a few spots i think you could of gone wrong, firstly check what order you put your $shop2 and $price vars into this chunk of code.
mine are at the end.

PHP Code:
mysql_query("INSERT INTO ".$prefix."adoptables VALUES ('', '$name', '$description','$eggimage','$cba','$promocode', '$freqcond', '$number','$datecond','$date','$adoptscond','$maxnumcond','$morethannum','$usergroupcond','$usergroups','$alternates','$altoutlevel','$altchance','$shop2','$price')"); 
Then check your database to see if you put the shop insert Before the price insert. These need to be in the same order that they are in the chunk of code above. Because the var $shop2 is set to 1 to single that is a shop item, but any number will work in fact thats why you didnt see anything goofy my setting the price if you crossed them
example price = 1000 is the same as shop = 1 the way i wrote the code
Reply With Quote
  #46  
Old 02-11-2010, 09:51 AM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 10,340
redheadturkey is on a distinguished road
Default RE: Item Shop - Working Again!

I had the price and the shop fields backwards in the SQL tables, got it, it's working!!

thanks so much for this script, it's wonderful!!

One question:

Any ideas on how this might be used to say, have an owner place an adoptable IN the shop, and carry out sales that way?

I apologize if this has been asked before! It likely has, lol, but I cannot locate the thread ....
Reply With Quote
  #47  
Old 02-11-2010, 10:46 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,489
Arianna will become famous soon enough
Default RE: Item Shop - Working Again!

Shops like that would be a totally different system, I think. :/
Reply With Quote
  #48  
Old 02-11-2010, 01:07 PM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 15,720
Seapyramid
Default RE: Item Shop - Working Again!

It would take creating a new shop with a number of features to get something like that to work. Plus you would also be giving others the ability to upload to your server & input a lot into your database which could leave you open to security issues.
Reply With Quote
  #49  
Old 02-11-2010, 01:20 PM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,489
Arianna will become famous soon enough
Default RE: Item Shop - Working Again!

I think she means an already adopted adoptable, not an actual adopt kind... correct me if I'm wrong. :)
I don't think I wanna code that - it's cool in principle, but I have other stuff to work on.
Reply With Quote
  #50  
Old 02-11-2010, 03:32 PM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 10,340
redheadturkey is on a distinguished road
Default RE: Item Shop - Working Again!

Quote:
Originally Posted by Arianna
I think she means an already adopted adoptable, not an actual adopt kind... correct me if I'm wrong. :)
I don't think I wanna code that - it's cool in principle, but I have other stuff to work on.

yep exactly! :D

Like let's say I have Rover and Dingdong, and I own them, but I'd like to sell them in the shop too.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
images on adoptables not working. Mortain Questions and Supports 7 11-14-2015 09:39 AM
Choosing Adoptables Type [EASY ADOPTABLES SCRIPT ONLY] Ashje Addons/Mods Graveyard 2 05-24-2009 03:17 AM
Help adoptables site isn't working!!! GamingMotion Questions and Supports 7 05-17-2009 05:02 AM
Shop and... 12345 Questions and Supports 1 03-05-2009 07:59 AM
Shop? trollis76 Questions and Supports 6 02-20-2009 12:46 AM


All times are GMT -5. The time now is 10:12 AM.

Currently Active Users: 10242 (0 members and 10242 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636