Not Solved [Page Manager] Share your custom pages
Not Solved
Thanks for the reply.
I'm going to test it out now.

I tried this one

<?php 
global $db;
$data = $db->simple_select('userfields, '*');

while($info = mysql_fetch_array( $data )) 
{
$var .= " " . $info['fid6'] . " ";
}
?>
But this gives me an white screen

I also tried this one
<?php
global $db;
$data = $db->simple_select('userfields', '*');

global $headerinclude, $header, $footer;

$var = '';

while($info = mysql_fetch_array( $data )) 
{
$var .= " " . $info['fid6'] . " ";
}

$templates->cache['page'] = '<html>
    <head>
        <title>{$pages[\'name\']} - {$settings[\'bbname\']}</title>
        {$headerinclude}
    </head>
    <body>
        {$header}
        {$pages[\'template\']}
        {$footer}
    </body>
</html>';

eval("\$page= \"".$templates->get("page")."\";");
output_page($page);
exit; 
?>
But also a white screen.

Am I doing something wrong?

Thanks for the replys

I'm using mybb 1.6*
Reply


Messages In This Thread
Sorting URLs - by Leefish - 2011-02-15, 09:23 PM
A suggestion (A simple Wiki) - by Rtlprmft - 2011-09-09, 11:46 AM
RE: A suggestion (A simple Wiki) - by Jayfore - 2011-09-09, 12:56 PM
RE: [Page Manager] Share your custom pages - by MrGinos - 2014-06-01, 04:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)