when you have time i need a little help.

Forum
Last Post
Threads / Messages

agnyz

Member
Member
Joined
Jan 11, 2009
Messages
31
Points
0
Mysidian Dollar
0
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/
 
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
 
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
 
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?
 
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

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

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

Ok I modified it with my stuff and it works perfect.

Thanks for the support!
 
www.agnyz.com said:
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.

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

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
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

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

Latest Threads

Latest Posts

Top