Bugs » Linkex and MKPortal help

added on Dec 24, 2007 by Your-xxx-for-free.com
Hello i am running mkportal on my site and i would like the links in the footer but i cant get them to show here is the
code i have tried


<tr>
<td><div align="center"><?php include( "linkex/data/output/1001" );
?></div></td>
</tr>

i have also tried <?php include( "linkex/data/output/1001" ); ?>

i cant get the links to show any help will be appreciated
Thanks
Trevor
added on Dec 26, 2007 by Your-xxx-for-free.com
Any advice Void ? i really need to get this working asap all my links are being suspended !

thanks
added on Dec 26, 2007 by v0id
why is it not working?

Have you tried the complete path to the output file?

Does anything happen, any errors? I need a little more info :)

- v0id
added on Dec 26, 2007 by Your-xxx-for-free.com
hello , thank you for your reply

i dont get any errors on linkex or mkportal the links just dont show i have also tried

<?php include( "http://mysite.com/linkex/data/output/1001" );

but that did not work so i am out of ideas i, trawling the mkportal forum for ideas but i haven't found a solution as of
yet.

here is the whole code from my footer if that helps

function view_footer($block) {
global $mklib;
return <<<EOF

<!-- begin footer -->
<!-- you can add your credits here -->


<table width="33%" border="0" align="center" cellpadding="0"
cellspacing="0" bgcolor="#590100">
<tr>
<td><div align="center"><a href="http://www.your-xxx-for-free.com/linkex"
target="new" title="WEBMASTER LINK EXCHANGE">WEBMASTERS LINK
EXCHANGE</a></div></td>
</tr>
<tr>
<tr>
<td><?php include('/linkex/links.dat'); ?></td>
</tr>
<tr>
<td><div align="center">hto_red theme made for MKPortal by <a
href="http://www.hardtoown.us" target="new" title="Hard To Own
community">[HTO]</a></div></td>
</tr>
<tr>
<td><div align="center">Theme brought to you by <a
href="http://www.hardtoown.us/">HTO_F=King</a></div></td>
</tr>
<tr>
<td><div align="center">{$block}</div></td>
</tr>
</table>
<!--
<p align="center">{$block}</p>
--><br /><br />
</body>
</html>

<!-- end footer -->



thanks Trevor

added on Dec 26, 2007 by Your-xxx-for-free.com
it seems the coding for mkportal is a little different to normal

this is what is needed to create a new php page within the portal script,

<?php


$content = implode('', file
('URL" ); '));

?>

dont know if this helps but thought id share it anyway

added on Dec 26, 2007 by Your-xxx-for-free.com
Hello we have progress at last

i created a new php page from within mkportal with this code
<?php

$mklib->loadcolumnright = 0; // Close the right side blocks

$mklib->loadcolumnleft = 1; // set to 0 if you want to close the left blocks

$content = '<div align="center">';

$content .= '<iframe src="http://www.your-xxx-for-free.com/linkex/data/output/1001" style="border:0px
#FFFFFF none;" name="whateveryouwant" scrolling="auto" frameborder="0" align=aus
marginheight="0px" marginwidth="0px" height="800"
width="100%"></iframe> <noframes>';

$content .= 'Sorry! Your Browser dont support inline frames.</noframes></div>';

?>

this is the outcome of that page

http://www.your-xxx-for-free.com/index.php?pid=5

added on Dec 26, 2007 by v0id
hi,

sorry for the late reply.

Looks good from here, I thought you used some iframe, but when I checked out your site there was no iframe

iframes are not good for link exchanges, so you should stay clear of them.

- v0id

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.