Merv Posted September 19, 2018 Report Share Posted September 19, 2018 Hi All, I am having difficulty upgrading my user pages. They come up blank. This may have something to do with most my pages being on the top level rather than in a folder but I think I have that part of the code sorted. If anyone has a working V12 user page, could you please post the file here so I could dissect where I may be going wrong? I just need the top part of the file before the body part. Much thanks, Merv This is my edited historytemplate file thus far... historytemplateV12.php Quote Link to comment Share on other sites More sharing options...
Merv Posted September 19, 2018 Author Report Share Posted September 19, 2018 With help from Randal, we came up with this... <?php //Delete or comment out the following line if your page requires login to view - ie. is NOT a public page $nologin = 1; $cms['tngpath'] = ""; include("tng_begin.php"); //Replace "Your Title Here" in the next line with the title of your page. Keep it surrounded with double quotes. $yourtitle = "Your Title Here"; //Replace "/newuserpage.php" in the next line with the path and file name of your new page. $yourlink = "/newuserpage.php"; $logstring = "<a href=\"$yourlink\">$yourtitle</a>"; writelog($logstring); preparebookmark($logstring); tng_header( $yourtitle, $flags ); ?> Your body text and coding goes here <?php tng_footer( "" ); ?> Works fine except that my birthday lists don't display when logged out. They do display when logged it though. Quote Link to comment Share on other sites More sharing options...
boonie67 Posted September 19, 2018 Report Share Posted September 19, 2018 Merv, Looks like you have it. Quote Link to comment Share on other sites More sharing options...
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.