Adoptable shop new version! [UPDATED!]

Forum
Last Post
Threads / Messages
Status
Not open for further replies.

mapleblade

Epicness sausage
Premium Member
Joined
May 4, 2009
Messages
180
Points
0
Age
27
Mysidian Dollar
12,231
Hey!

here were some bugs, i fixed em, and now the shop will be the normal adopt.php :D


the fixed version can be seen at: http://miromotel.0fees.net/adoptables/adopt.php

Im to lazy to explain all code so ill just put the files in a zip and show the SQL


NOTE: YOUR CURRENCY MUST BE NAMED "coins" OR IT WONT WORK!

SQL including users:
PHP:
CREATE TABLE IF NOT EXISTS `adopts_adoptables` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(40) DEFAULT NULL,
  `description` varchar(300) DEFAULT NULL,
  `eggimage` varchar(120) DEFAULT NULL,
  `whenisavail` varchar(50) DEFAULT NULL,
  `promocode` varchar(50) DEFAULT NULL,
  `freqcond` varchar(50) DEFAULT NULL,
  `number` int(11) DEFAULT NULL,
  `datecond` varchar(50) DEFAULT NULL,
  `date` varchar(20) DEFAULT NULL,
  `adoptscond` varchar(20) DEFAULT NULL,
  `moreless` varchar(20) DEFAULT NULL,
  `morelessnum` int(11) DEFAULT NULL,
  `levelgrle` varchar(25) DEFAULT NULL,
  `grlelevel` int(11) DEFAULT NULL,
  `alternates` varchar(10) DEFAULT NULL,
  `altoutlevel` int(11) DEFAULT NULL,
  `altchance` int(11) DEFAULT NULL,
  `price` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;


CREATE TABLE IF NOT EXISTS `adopts_users` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(20) DEFAULT NULL,
  `password` varchar(100) DEFAULT NULL,
  `email` varchar(60) DEFAULT NULL,
  `usergroup` int(11) DEFAULT NULL,
  `newmessagenotify` varchar(10) DEFAULT NULL,
  `membersince` varchar(20) DEFAULT NULL,
  `isbanned` int(11) DEFAULT NULL,
  `website` varchar(80) DEFAULT NULL,
  `profilepic` varchar(80) DEFAULT NULL,
  `aim` varchar(80) DEFAULT NULL,
  `yahoo` varchar(80) DEFAULT NULL,
  `msn` varchar(80) DEFAULT NULL,
  `coins` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`uid`),
  UNIQUE KEY `username` (`username`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
Okay now the files:

ATTACHED FILES IN ZIP:
adopt.php
doadopt.php
admin.php
nadopt.php
levelup.php (gives at levelup random between 100 and 200 coins)


Hope u guys like it :D

(for admin.php, only changed function is new (new adopt) for ppl who have other stuff in it)
 

Attachments

  • Fixed.zip
    26.2 KB · Views: 14
RE: Adoptable shop new version!

wow you're the best!! thanks so much for this, gonna try it all out! ^__________^
 
RE: Adoptable shop new version!

While I appreciate your effort, I don't see why there's a third mod for this. Mine works just fine without a separate page. :p Either way, good job. ^^
 
RE: Adoptable shop new version!

well, i can just make it the normal adopts page, and make free adopts price 0, i thought ppl maybe wanted it seperate, and isnt this the first one thats released in forums, for the new version?
 
RE: Adoptable shop new version!

IF YOU GUYS WANT A ADOPT.PHP, BUT THEN TRANSFORMED TO SHOP, ILL MAKE IT WHEN 10PPL WANT IT, LOL
 
RE: Adoptable shop new version! (updating)

bequz the shop.php is gone now, irs adopt.php now
 
RE: Adoptable shop new version! (updating)

Oh...Now i have seen the demo...fantastic...=_="
 
RE: Adoptable shop new version! (updating)

whats wrong? lol..., im now on pc, so ill post the new files within an hour.
 
RE: Adoptable shop new version!

mapleblade said:
well, i can just make it the normal adopts page, and make free adopts price 0, i thought ppl maybe wanted it seperate, and isnt this the first one thats released in forums, for the new version?

Oh; mine's a donator mod. Oh well. xD
 
lol, now its for everyone bcuz i made one lol....

but it IS nice huh? xD
 
Something I really need is a good working item shop, but I might be able to get this to work for that somehow ---

but yes, it's really very nice, and thank you for sharing it! :D :D
 
u can maybe make an new table shop_items or such, and change the php of the shop to the items.
 
I coded an inventory script; I thought I offered it to you, redheadturkey/Annatar. :)
 
I never got it hun .. <3 I think you were going to send it? ... or maybe I didn't get that message or something, I'd LOVE to have it though! You can send it here or Annatar either one <3 thanks!!
 
I've been super-busy lately and I hardly have enough time to work on my own stuff; should be in your PMs this weekend. I hope.
 
thanks Arianna, I really appreciate it! Just whenever you can send it is great... no worries! <3
 
Ehm...But is strange...when i go to lvl up...I have the total money ugual to the money received! HELP!"
 
Status
Not open for further replies.

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top