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)
-   -   pages won't work. (http://www.mysidiaadoptables.com/forum/showthread.php?t=2013)

AlexC 03-17-2011 01:27 PM

pages won't work.
 
alas, two help threads in one day. xD At least the other one was a stupid question, but this one is a little harder;

Whenever I make a page, such as http://ratties.x10.mx/pages.php?page=cage it returns an error.

It says this;

Fatal error: Call to undefined function bbconvert() in /home/gloometh/public_html/pages.php on line 21

Line in pages is;

$article_content = bbconvert($article_content); // BBCODE conversion

So I'm guessing the bbc isn't working. o.e anyone know how to fix that?

Hall of Famer 03-17-2011 01:35 PM

A quick fix: Add this code right below the other include() lines:

PHP Code:

include("inc/bbcode.php"); 

This is a glitch that was not discovered from the beta test stage, sorry about that. The coders on Mysidia's dev staff team do not create custom pages in acp(instead we simply create new script files), so we did not expect an error like that. It will be officially fixed in next minor release.

AlexC 03-17-2011 01:43 PM

ummm, where exactly do I add it? ;^.^ I'm horrible today, I've been up since 7 working on the computer...

EDIT: Nevermind, I figured it out. xD Moon above, I need sleep/food.

Thank you very much!

Hall of Famer 03-17-2011 01:46 PM

You are very welcome. I tried my best, but still couldnt eliminate all glitches from Mys v1.2.0. I am sorry about that. ^^

AlexC 03-17-2011 01:47 PM

Oh, there was one other glitch I found actually, I only just discovered it...

When I adopt a rat from the myadopts page, I get two - one of each gender. o.O Not sure if that's a glitch in the gender mod or not?

Hall of Famer 03-17-2011 01:54 PM

umm this is strange. It never happened to me before, nor did it happen to anyone using this script already. Did you modify your adopt.php yourself? Or did you click backward button from your browser after adopting one pet?

AlexC 03-17-2011 01:55 PM

I only just installed the script, I'm still testing it out.

I shall adopt it again and see. I don't think I hit the back button.

EDIT: wait, just realized I DID hit the back button. Moon Above, I feel stupid again. *shakes head* Maybe I should get off the computer... sorry for troubling you, I'm normally smarter. xD

Hall of Famer 03-17-2011 01:59 PM

I see. Well I'd like to thank you for bringing this up though. I will have to find a way to resolve this problem since it gives your members a way to cheat. XD

AlexC 03-17-2011 02:01 PM

I thought you could just refresh the original naming page and that gave you extra pets, but I thought since the extra stage was removed it was fine. I hope you find a way to fix it. D: Maybe put a time limit or something, so an immediate back/refresh won't adopt the pet?

Hall of Famer 03-18-2011 01:08 AM

I think I have an idea now. I may end up posting a tutorial on how to do this later, depending on how much free time I have for the weekend. Its actually quite simple though, just set the adoptables id to 0 or an empty string after the user adopts his/her pets for the first time. This way they will receive an ID Nonexistent error when clicking backward button, and they are forced to visit the adopt.php page again if they want new adoptables.


All times are GMT -5. The time now is 10:17 PM.

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