Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-19 08:13:10

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Compiling (or, de-compiling) a .txt plugin to .php?

How can one do this? I need to install a plugin that isn’t working through the textpattern admin interface, so I’m gonna stick in a plugins folder like I was developing it. Anyone how the process on how to take a .txt plugin file and put it back into .php?

Thanks in advance

Offline

#2 2006-02-19 15:00:44

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Compiling (or, de-compiling) a .txt plugin to .php?

Hi darrenemo,

i’m not sure, but maybe this is what you are looking for: http://makcoder.sourceforge.net/demo/base64.php

Last edited by maniqui (2006-02-19 15:01:05)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2006-02-19 21:36:31

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Compiling (or, de-compiling) a .txt plugin to .php?

That would be part of it. What you’d get back is the serialized array, you’d need to run unserialize() on it to get the original array back.

Offline

#4 2006-02-19 22:24:36

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Compiling (or, de-compiling) a .txt plugin to .php?

Or just click on the “edit” link on the plugins page.


Alex

Offline

#5 2006-02-20 00:18:31

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: Compiling (or, de-compiling) a .txt plugin to .php?

the reason i need the .php code of a .txt plugin, is on some plugins i can’t install them through the admin page. it does this weird thing where after i click on ‘upload’ or whatever the button is, i get sent to my root/textpattern/index.php page, but its really showing the front of my blog.

anyways, some plugins I can install, so it might be cuz i have the newest version of TXP. the way i got to work around with Mary’s image popper plugin, is i put it in a plugins development folder. thus, I need the .php version of the plugin.

by the way, that base64 thing didn’t work. I got a lot of weird code, and some numbers and semi-colons where the <?php tags should be. any other ideas? I’ve emailed the author of the plugin, so he might be sending me a copy of it soon. But I’d like it asap.

Offline

#6 2006-02-20 00:50:32

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Compiling (or, de-compiling) a .txt plugin to .php?

You might have a corrupt copy of the plugin.


Alex

Offline

#7 2006-02-20 23:37:35

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: Compiling (or, de-compiling) a .txt plugin to .php?

i dont think thats what it is—this weird plugin install thing has happened with two different plugins now

Offline

#8 2006-02-21 00:11:34

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Compiling (or, de-compiling) a .txt plugin to .php?

You’d be better off posting a troubleshooting request about your Upload problem. There was an old thread with a similar problem, perhaps you’ll find something helpful there.


Alex

Offline

#9 2006-02-21 01:57:54

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Compiling (or, de-compiling) a .txt plugin to .php?

“…I got a lot of weird code, and some numbers and semi-colons…”

As I said: what you’d get back is the serialized array, you’d need to run unserialize() on it to get the original array back.

Offline

Board footer

Powered by FluxBB