Quote:
Originally Posted by Wallie987
This looks amazing! Do you know if it's compatible with v1.3.3?
|
It should be! This is how it works for v1.3.4 in
view/hiloview.php:
PHP Code:
$mysidia = Registry::get("mysidia");
$document = $this->document;
$document->setTitle('Higher or Lower');
$document->add(new Comment('<p>Guess if the second number will be higher or lower. The highest possible number is 16.</p>
<iframe id="game" style="width: 100%; min-height: 500px;" src="../../games/hilo/hilo.php?username='.$mysidia->user->username.'" frameborder="0" scrolling="yes"></iframe>'));
To make it work with v1.3.3, the most important thing is to make sure that an iframe is made that links to hilo.php with the username as a parameter. Can you see how that works above? I'm not familiar with how pages are constructed in v1.3.3 but if you are, just add in an iframe and it
should take care of itself.