Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2006-06-11 03:42:19

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

Yes, I have had many problems with this very issue in Dreamhost … the same restriction nullifies almost any attempt to parse an RSS feed because it uses that command to actually open the feed. Its a “security” thing. Love everything else about them, so it’s hard to complain.


Kevin
(graphicpush)

Offline

#32 2006-06-11 11:10:09

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

I have a PHP guru onto this, so I hope to have a solution at hand later this week.
Will post here when I have it.

Cheers


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#33 2006-06-11 13:07:02

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

Thanks NeilA

Offline

#34 2006-07-11 12:54:57

phred78
New Member
Registered: 2006-07-11
Posts: 2

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

Hi,

I have tried putting this code and it works, except I can’t control the location of the output. It will place itself on the top of the page no matter where I tell it to stay (doen’t work inside div’s either):

<code>
$ch = curl_init($url);
curl_exec($ch);
curl_close($ch);
</code>

I have put this inside the PunBB forum info plugin to replace the allow_url_fopen as the Dreamhost Wiki explains. It works but not as expected. Does anyone know how to force it to display where I want it to?

Last edited by phred78 (2006-07-11 12:56:31)

Offline

#35 2006-07-11 22:47:22

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

I’ve been slow in chasing this down…

Thanks for the nudge Phred78 – will explore further (I’m on Dreamhost too..)

Cheers


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#36 2006-07-12 08:19:06

phred78
New Member
Registered: 2006-07-11
Posts: 2

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

I have posed the same question to Dreamhost support who just redirected me to the PHP manual on curl

I will try a different approach when I can. Currently my PunBB and TXP installs depend on the same mySQL database, so I’ll try to develop a simple PHP script to extract the last posts of a given category from PunBB, hard-coding the parametres. I’ll let you know how it works.

Also, I have set-up phpAdsNew and the code for presenting banners is JavaScript with several document.write(). Has anyone tried this with PunBB? Would it be a viable solution?

- Frederico

Offline

#37 2006-08-28 08:55:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,375
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

Is there a way for this plugin to show the whole of the title of the punbb post?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#38 2006-08-28 09:17:14

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

Currently using this on one of my sites

bc..

<?php $ch = curl_init(“http://www.yoursitename.com/forum/extern.php?action=active&show=6”); curl_exec($ch); curl_close($ch); ?>

The URL is pointing directly to my installation of punbb.. works a treat

Offline

#39 2006-08-28 10:02:10

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,375
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] fgr_punbb_info: PunBB forum info plugin

Ace of Dubs wrote:

Currently using this on one of my sites…

Did you place that in the plugin? and where?

>Edit

By using it as pure php this is what I get (none show titles and they are not linked, they are parsed as text)

http://forum.neme.org/ The most recently active topics at NeMe forum en-us http://forum.neme.org/viewtopic.php?id=68&action=new http://forum.neme.org/viewtopic.php?id=67&action=new http://forum.neme.org/viewtopic.php?id=66&action=new http://forum.neme.org/viewtopic.php?id=64&action=new http://forum.neme.org/viewtopic.php?id=65&action=new http://forum.neme.org/viewtopic.php?id=63&action=new http://forum.neme.org/viewtopic.php?id=55&action=new http://forum.neme.org/viewtopic.php?id=54&action=new http://forum.neme.org/viewtopic.php?id=53&action=new http://forum.neme.org/viewtopic.php?id=50&action=new http://forum.neme.org/viewtopic.php?id=49&action=new http://forum.neme.org/viewtopic.php?id=44&action=new http://forum.neme.org/viewtopic.php?id=48&action=new http://forum.neme.org/viewtopic.php?id=24&action=new http://forum.neme.org/viewtopic.php?id=23&action=new

Last edited by colak (2006-08-28 10:09:49)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB