Jump to content
MakeWebGames

Recommended Posts

Posted

I have a mod for v2 that ive converted to redux... for the most part... there are just a few lines in the code I cant figure out what to change to here is what I have changed the code to.

<a href='" . gen_url('treasurehunt', true) . "'>Okay, lets go.</a><br />

<a href='" . gen_url('explore', true) . "'>No thanks.</a>";

}

?>

 

and this is what the original code was

<a href='treasurehunt.php?open=1'>Okay, lets go.</a><br />

<a href='explore.php'>No thanks.</a>";

}

$h->endpage();

?>

so what I need help to figure out is what to change the open=1 to or how to work that in to the redux conversion... ive been using the conversion tutorial

@ http://makewebgames.io/showthread.php/39502-Tutorial-v2-0-3-v2-5-convertion?highlight=redux+convert

 

any help would be awesome thanks in advance

Posted

I would try &open=1 instead of the ? For the query string since in redux it adds the ?page=whatever to it. And do you have the treasure hunt page in your directory and the url added to the array in the index file(I believe)

Posted

ok I will give that a shot and thanks for your advice kyle. to answers your question the mod works other than that one line of code lol

 

[ATTACH=CONFIG]1784[/ATTACH]

- - - Updated - - -

here is a pic of the mod doing nothing :)

Capture.thumb.PNG.5902f723f153aff5dae572a622c6ca33.PNG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...