classified Posted January 7, 2015 Posted January 7, 2015 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 Quote
Seker Posted January 7, 2015 Posted January 7, 2015 <a href='" . gen_url('treasurehunt', false) . "?open=1'>Okay, lets go.</a><br /> Maybe. I think. Quote
classified Posted January 7, 2015 Author Posted January 7, 2015 cool thanks ill try that out and let you know what happens :) Quote
classified Posted January 7, 2015 Author Posted January 7, 2015 ok I just tested that out and it returned a 404 error Quote
KyleMassacre Posted January 7, 2015 Posted January 7, 2015 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) Quote
classified Posted January 7, 2015 Author Posted January 7, 2015 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 :) Quote
classified Posted January 7, 2015 Author Posted January 7, 2015 so using '&' helped and I changed false to true and am getting somewhere now Quote
classified Posted January 12, 2015 Author Posted January 12, 2015 I got it to work finally. what kyle said to do worked. the problem turned out to be in my db I need to add treasure steps lol Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.