Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2008-09-16 20:28:40

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Textpattern Forms outside of Textpattern

Are you including that code in a punBB page?

Offline

#26 2008-09-16 20:29:23

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Textpattern Forms outside of Textpattern

the code is in the top of a PunBB template file


~ Cameron

Offline

#27 2008-09-16 20:32:54

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Textpattern Forms outside of Textpattern

Try using it in a test PHP document. I’m not sure how this might cause TXP and punBB to interact.
That might be the problem (in which case this is out of my league).


T

Offline

#28 2008-09-16 20:35:30

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Textpattern Forms outside of Textpattern

Looks like a function in a Textpattern conflicts with a function bearing the same name in the forum software.

Offline

#29 2008-09-16 20:41:18

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Textpattern Forms outside of Textpattern

Okies good news and bad news, the good is http://www.simplecandy.com/test.php proves the code works and is NOW correct!
the bad news being ruud is probably and most likely correct in thinking that their is conflicting functions, the big question is how do i fix this? x

EDIT: I’ve posted over at the forum support forums to see if I can safely change the name of that function, to stop it conflicting

Last edited by driz (2008-09-16 20:47:04)


~ Cameron

Offline

#30 2008-09-16 20:50:39

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Textpattern Forms outside of Textpattern

ruud wrote:

Looks like a function in a Textpattern conflicts with a function bearing the same name in the forum software.

Is it possible to change the name of this function in Textpattern?


~ Cameron

Offline

#31 2008-09-16 21:06:48

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Textpattern Forms outside of Textpattern

I’m afraid this is my stop…you’re talking about much bigger issues than I’m capable of helping with.

Good luck.

Offline

#32 2008-09-16 22:28:45

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Textpattern Forms outside of Textpattern

There is one way that would never cause any conflicts; getting output contents not the php code.

See more at #28296

Last edited by Gocom (2008-09-16 22:29:11)

Offline

#33 2008-09-17 00:07:26

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Textpattern Forms outside of Textpattern

Gocom,

Nice – thanks for the heads up – I’ll give that a shot with a calendar app I’ve been using.

Offline

#34 2008-09-17 15:31:33

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Textpattern Forms outside of Textpattern

Anything is possible, but you’d have to change it in all places where that function is called within textpattern as well. If you’re asking us to change the name of the function in a future textpattern version, the answer is of course “no”.

Offline

#35 2008-09-18 16:04:12

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Textpattern Forms outside of Textpattern

ruud wrote:

Anything is possible, but you’d have to change it in all places where that function is called within textpattern as well. If you’re asking us to change the name of the function in a future textpattern version, the answer is of course “no”.

haha :), obviously I wouldn’t expect you to do that on the account of ME being able to use Txp with PunBB!

Anyhow I didn’t like that output method, I think it’s bad karma to create bogus sections like that, I mean say someone stumbled upon them from a search engine or just generally, it’s just messy and tacky. For now I’m just going to hardcode the header and footer into my forum. x


~ Cameron

Offline

#36 2008-09-18 16:13:20

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Textpattern Forms outside of Textpattern

For now I’m just going to hardcode the header and footer into my forum

Good call.

)

Offline

Board footer

Powered by FluxBB