Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   when you have time i need a little help. (http://www.mysidiaadoptables.com/forum/showthread.php?t=291)

agnyz 01-17-2009 02:22 PM

when you have time i need a little help.
 
I moved this because I realized I posted it in the wrong place, sorry.

i have the adoptable script installed and working fine except the amount needed for the next level isn't showing right it says 0 max level when it isn't.


Clothing removed so far for from Sexy Momma: 3
Dollars earned so far Sexy Momma: $80
Dollars needed for Sexy Momma to strip next: $0 (Max Level)

www.agnyz.com/adoptables/

BMR777 01-17-2009 02:26 PM

RE: when you have time i need a little help.
 
Are you running the Beta 2 release of the script? Some level glitches were fixed in the latest release.

Also, have you made any modifications to the script? I see you've changed it a bit from the text you have.

Brandon

agnyz 01-17-2009 02:36 PM

RE: when you have time i need a little help.
 
lol yeah I did a little mod work on it but i didn't change any of the coding that calls from the database.


i just changed the text parts of the codes.
and i am using beta 2

BMR777 01-17-2009 02:38 PM

RE: when you have time i need a little help.
 
I am assuming you have more than 3 levels defined for your site then?

Also, at what number of clicks is each level reached? If you could post that here it will help me try and figure out why this is happening.

Also, is the dollar sign on the text just something you added in the files or are clicks being stored in the database with the dollar sign added to the actual value?

agnyz 01-17-2009 02:44 PM

RE: when you have time i need a little help.
 
the dollar sign is just in as text and not coding, the script is still the orginal script, i modify scripts all the time and am very carful about these things.

here are the levels.

Level 1: 10

Level 2: 20

Level 3: 50

Level 4: 100

Level 5: 250

Level 6: 500

Level 7: 750

Level 8: 1000[hr]
Here is the origanl code and my modified version

//Begin our content output...
$article_content=$article_content."<p align='center'><b><u>".$name.":</u></b></p>
<p align='center'><img src='".$imageurl."' border='0'></p>
<b>Current level of ".$name.": ".$currentlevel."<br></b><b>Total clicks on ".$name.": ".$totalclicks."<br></b>
<b>Clicks needed until LevelUP ".$name.": ".$neededclicks."<br></b><br>


//Begin our content output...
$article_content=$article_content."<p align='center'><b><u>".$name.":</u></b></p>
<p align='center'><img src='".$imageurl."' border='0'></p>
<b>Clothing removed so far for from ".$name.": ".$currentlevel."<br></b><b>Dollars earned so far ".$name.": $".$totalclicks."<br></b>
<b>Dollars needed for ".$name." to strip next: $".$neededclicks."<br></b><br>

BMR777 01-17-2009 02:54 PM

RE: when you have time i need a little help.
 
Ok, thought it might be something as simple as the dollar sign, but I guess not.

Is this happening with each adoptable you have on the site, only adoptables of a specific type or only the adoptable of one specific user?

Does the rankimages table in the database contain an image for the adoptable for each level? If an image path is missing this would cause it to give a false max level.

Also, I may have found a bug in the script relating to this. If the above info does not work then try replacing your myadoptables.php file with the attached one and see if that works better.

Brandon

agnyz 01-17-2009 02:58 PM

RE: when you have time i need a little help.
 
it is with all the adpotable.

the image links are right, the strippers keep on stripper for each level even with it saying 0 needed.

i will try the new php now.[hr]
Ok that is working fine. good job and thanks.

I am going to mod that now to put it back like I had it and if it doesn't work then it is my fault and not yours.

Do you need to know if it works[hr]
Ok I modified it with my stuff and it works perfect.

Thanks for the support!

BMR777 01-17-2009 03:12 PM

RE: when you have time i need a little help.
 
Quote:

Originally Posted by www.agnyz.com
it is with all the adpotable.

the image links are right, the strippers keep on stripper for each level even with it saying 0 needed.

i will try the new php now.[hr]
Ok that is working fine. good job and thanks.

I am going to mod that now to put it back like I had it and if it doesn't work then it is my fault and not yours.

Do you need to know if it works[hr]
Ok I modified it with my stuff and it works perfect.

Thanks for the support!

Glad it's working for you now.

Also, check your PMs. Did you want the Premium for the MyBB Multiforums or for the Adoptables Script?

BMR777


All times are GMT -5. The time now is 07:33 PM.

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