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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-22-2010, 03:42 PM
mapleblade mapleblade is offline
Epicness sausage
 
Join Date: May 2009
Posts: 180
Gender: Male
Credits: 6,598
mapleblade
Default Adoptable shop new version! [UPDATED!]

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 Code:


CREATE TABLE 
IF NOT EXISTS `adopts_adoptables` (
  `
idint(11NOT NULL AUTO_INCREMENT,
  `
typevarchar(40) DEFAULT NULL,
  `
descriptionvarchar(300) DEFAULT NULL,
  `
eggimagevarchar(120) DEFAULT NULL,
  `
whenisavailvarchar(50) DEFAULT NULL,
  `
promocodevarchar(50) DEFAULT NULL,
  `
freqcondvarchar(50) DEFAULT NULL,
  `
numberint(11) DEFAULT NULL,
  `
datecondvarchar(50) DEFAULT NULL,
  `
datevarchar(20) DEFAULT NULL,
  `
adoptscondvarchar(20) DEFAULT NULL,
  `
morelessvarchar(20) DEFAULT NULL,
  `
morelessnumint(11) DEFAULT NULL,
  `
levelgrlevarchar(25) DEFAULT NULL,
  `
grlelevelint(11) DEFAULT NULL,
  `
alternatesvarchar(10) DEFAULT NULL,
  `
altoutlevelint(11) DEFAULT NULL,
  `
altchanceint(11) DEFAULT NULL,
  `
priceint(11NOT NULL DEFAULT '0',
  
PRIMARY KEY (`id`)
ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=;


CREATE TABLE IF NOT EXISTS `adopts_users` (
  `
uidint(11NOT NULL AUTO_INCREMENT,
  `
usernamevarchar(20) DEFAULT NULL,
  `
passwordvarchar(100) DEFAULT NULL,
  `
emailvarchar(60) DEFAULT NULL,
  `
usergroupint(11) DEFAULT NULL,
  `
newmessagenotifyvarchar(10) DEFAULT NULL,
  `
membersincevarchar(20) DEFAULT NULL,
  `
isbannedint(11) DEFAULT NULL,
  `
websitevarchar(80) DEFAULT NULL,
  `
profilepicvarchar(80) DEFAULT NULL,
  `
aimvarchar(80) DEFAULT NULL,
  `
yahoovarchar(80) DEFAULT NULL,
  `
msnvarchar(80) DEFAULT NULL,
  `
coinsint(11NOT NULL DEFAULT '0',
  
PRIMARY KEY (`uid`),
  
UNIQUE KEY `username` (`username`)
ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=
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)
Attached Files
File Type: zip Fixed.zip (26.2 KB, 14 views)
 

Thread Tools
Display Modes

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
I need urgent help adoptable the first version of script audition Questions and Supports 5 02-09-2014 12:57 PM
Shop to buy an adoptable? SilverDragonTears Questions and Supports 8 08-16-2011 02:17 PM
Updated banlist Hall of Famer Other Chat 23 01-15-2011 10:37 PM
Currency for leveling up / Adoptable shop (Fixed again) kisazeky Addons/Mods Graveyard 118 02-22-2010 09:13 AM


All times are GMT -5. The time now is 06:58 AM.

Currently Active Users: 219 (1 members and 218 guests)
Threads: 3,951, Posts: 31,454, Members: 15,543
Welcome to our newest members, Holy.
BER





What's New?

What's Hot?

What's Popular?


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