Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Mys v1.1.x Mods (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=20)
-   -   Adoptable shop new version! [UPDATED!] (http://www.mysidiaadoptables.com/forum/showthread.php?t=1360)

mapleblade 03-22-2010 03:42 PM

Adoptable shop new version! [UPDATED!]
 
1 Attachment(s)
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)

redheadturkey 03-22-2010 06:52 PM

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

Arianna 03-23-2010 12:48 AM

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. ^^

mapleblade 03-23-2010 02:10 AM

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?

mapleblade 03-23-2010 07:34 AM

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

SieghartZeke 03-23-2010 08:18 AM

RE: Adoptable shop new version!
 
Err...I cant show the Demo!! O_O"

mapleblade 03-23-2010 08:33 AM

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

SieghartZeke 03-23-2010 08:33 AM

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

mapleblade 03-23-2010 08:37 AM

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

SieghartZeke 03-23-2010 08:37 AM

RE: Adoptable shop new version! (updating)
 
Oh Okay...Thank you VwV


All times are GMT -5. The time now is 04:13 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.