![]() |
RE: Currency for leveling up and adoptable shop [Beta]
Im getting the same error as well, It has to be because of the 'egg' part.
|
RE: Currency for leveling up and adoptable shop [Beta]
i think a "kind" and "cost" row has to be added to the adoptables table......
|
RE: Currency for leveling up and adoptable shop [Beta]
yeah, i'll try it.
EDIT: YES! I did it! you have to add a 'kind' column to the table 'adoptables'. then when you add the adoptable, you use this query: Code:
INSERT INTO adoptables VALUES ('', 'name','level 0 image','shop','cost','kind') Code:
$query = "SELECT * FROM adoptables WHERE kind = 'egg' LIMIT 0,5"; The adoptable still appears in the adoption page, but i will look and try to fix this. NEW EDIT: Fixed that too! in the database, go to the 'adoptables' table, and in the adoptables you want in the offcial adoption place, set their kind to something like, 'adoptable'. then, in adopt.php, find this line: Code:
$query = "SELECT * FROM adoptables" Code:
$query = "SELECT * FROM adoptables WHERE kind = 'adoptable'"; :) |
RE: Currency for leveling up and adoptable shop [Beta]
Thats what i did too, and changed the "egg" to "shop" and the "full" to "shop2"
The creator of this mod must have forgotten to post the bit about adding the new rows to the adoptables table as well.... |
RE: Currency for leveling up and adoptable shop [Beta]
Erm... How exactly do you add the column?
|
RE: Currency for leveling up and adoptable shop [Beta]
@ rosepose:
Click here: http://i172.photobucket.com/albums/w...hoto/kind1.jpg Then fill it in like this: http://i172.photobucket.com/albums/w...hoto/kind2.png And click Save. Thanks mattalien, everything works perfectly now. =) |
RE: Currency for leveling up and adoptable shop [Updated] [Beta]
Ok, with the update, there is now no need to add new columns. It adds "shop" to the "memberlevel" column and the cost to the "description" table.
Also this is a more secure buying method so people cannot get them for free. |
RE: Currency for leveling up and adoptable shop [Updated] [Beta]
I still don't get how to add a pet to the shop :P Heh, i've looked over the files..but I'm not sure what to change or add...
|
RE: Currency for leveling up and adoptable shop [Updated] [Beta]
we now have the shop.. thanks
visit : fresbopet.netau.net to see |
RE: Currency for leveling up and adoptable shop [Updated] [Beta]
Quote:
Quote:
EDIT: buyconfirm doesn't work, the new shop file doesn't work (it screws up the template and when you buy something, nothing appears on the page... |
All times are GMT -5. The time now is 10:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.