1

Topic: WordPress and PunBB - problem with extern.php

I did read the extern.php file but simply, it doesn't show the posts.

I'm using this code on my WP Sidebar:

<?php include('http://*/forums/extern.php?action=new&show=6'); ?>

... and nothing is displayed.

This info might help, I'm running on PHP 4.3.2 with Safe Mode and allow_url_fopen to Off.

2

Re: WordPress and PunBB - problem with extern.php

Why not give it the full url path: http://mysite.com/forums/...

3 (edited by Stahn 2006-05-22 22:35)

Re: WordPress and PunBB - problem with extern.php

It's obviously written in my sidebar code, I won't put the address to my site unless it's absolutely necessary.

Re: WordPress and PunBB - problem with extern.php

allow_url_fopen to Off.

Which means you can't include via a URL smile

Re: WordPress and PunBB - problem with extern.php

u have to get the wp mod that allows php inside of it.
wordpress doesnt allow php inside it.
u have to do html only.
so !
just do a iframes to the locations...

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

6

Re: WordPress and PunBB - problem with extern.php

Smartys wrote:

Which means you can't include via a URL smile

So... I can't do it any other way? I insist with the fact that don't know PHP or SQL.

quaker wrote:

u have to get the wp mod that allows php inside of it.
wordpress doesnt allow php inside it.

The code in the sidebar is outside the WP Loop. If use other PHP functions, they work fine. Iframes is out of the question, I absolutely hate them.

Re: WordPress and PunBB - problem with extern.php

link?

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!