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-27-2010 06:20 AM

RE: Adoptable shop new version! [UPDATED!]
 
is this from your new register.php?

if so youst add ,'' so ti would be:
PHP Code:

mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1','$email','3','1', '$date', '0','','','','','','')"); 


SieghartZeke 03-27-2010 07:47 AM

RE: Adoptable shop new version! [UPDATED!]
 
Yay!!!!! Now Work!!!
Ehm a other question, for show the total monay on the Sidebar??Like this:

Manage Character
"Your Money 450"[hr]
Ahh...and how change the money when you register?
"Like: You regesiter in the site and receive 1500 Coins"

mapleblade 03-27-2010 07:56 AM

RE: Adoptable shop new version! [UPDATED!]
 
where you did put ,'' change that to ,'1500' then, it puts 1500 coins ni then.[hr]
Oh and ill make an code dto msee your coins

SieghartZeke 03-27-2010 08:06 AM

RE: Adoptable shop new version! [UPDATED!]
 
Uhm...I Dont want touch the register code...or i make a disaster!!!

mapleblade 03-27-2010 08:15 AM

RE: Adoptable shop new version! [UPDATED!]
 
Okay

Find:
PHP Code:

$sidebar "<b><u>".$loggedinname."'s Links:</u></b><br><br> 

And put this ABOVE that
PHP Code:

$query222 "SELECT * FROM ".$prefix."users WHERE username = '$loggedinname'";
$result222 = @mysql_query($query222);
$num222 = @mysql_numrows($result222);

//Loop out code
$i=0;
while (
$i 1) {

$coins=@mysql_result($result222,$i,"coins");

$i++;


Then at last you add the line that really shows it.

Somewhere you want it in the text of your sidebar put this:

PHP Code:

You currenty have $coins Coins.<br

[hr]
lol, ill make it again for you
PHP Code:

mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1','$email','3','1', '$date', '0','','','','','','1500')"); 


SieghartZeke 03-27-2010 08:22 AM

RE: Adoptable shop new version! [UPDATED!]
 
Awwww...I have a other error!!!
Parse error: syntax error, unexpected T_STRING in /home/a2394530/public_html/inc/functions.php on line 239[hr]
Oh and this error came only when i put the "You currenty have $coins Coins.<br> "
What the problem??? =_=""[hr]
And sorry if i bother you---But how i can put an image of the coin when you level up a pet?

mapleblade 03-27-2010 08:44 AM

RE: Adoptable shop new version! [UPDATED!]
 
oh change $coins to ".$coins."
if that shows errror
'.$coins.'[hr]
BTW for the image, just find Price: in the adopt.php and put <img src="img link"> before it.

SieghartZeke 03-27-2010 11:34 AM

RE: Adoptable shop new version! [UPDATED!]
 
Ok...All work....the only last problem is...when i go to create i pet, it doesnt create this!!

mapleblade 03-27-2010 11:48 AM

RE: Adoptable shop new version! [UPDATED!]
 
it only creates in your own shop heh?

so usershop.php?user=yourname

SieghartZeke 03-27-2010 12:14 PM

RE: Adoptable shop new version! [UPDATED!]
 
Ops... Wrong places....i Was talking of the "Adoptable Shop"[hr]
Oh Wait...
When i go to the admin.php, i make all thing for create adoptable, and when say that i have succesfull created pet, and i click "Add a new level" Say that the adoptable id doesn't exist!""


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

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