Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-24 13:47:40

urbanclearway
New Member
Registered: 2006-07-05
Posts: 4

developer documentation

I’ve been using TXP for sometime now to look after an ordinary website, so I have a good knowledge of the front end. However I am now working on a project which requires the full power of TXP’s blogging abilities. Actually it requires somethings that TXP doesn’t have, these are:

1) An even more restricted user role for adding articles
2) The ability to post and retrieve articles through Flash via AMFPHP

Therefore I need to hack TXP to allow this functionality. I’ve been looking through the database and the PHP and I am gradually picking up a feel for what does what, but without any documentation it’s hard to get a full picture of what is happening. For example, I haven’t figured out what the ‘nonce’ fields in some tables are for. So my question is this:

Is there any documentation for TXP’s source code/database?

Any help with this would be much appreciated.

Thanks

Barry

Offline

#2 2007-10-24 14:34:27

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

Re: developer documentation

  1. Designer and Developer Interests
  2. Browser
  3. TXP Defined Functions
  4. User Roles and Permissions
  5. Modifying User Account Roles and Privileges
  6. Plugin resources

And afterall: You should do it as a plugin, not by hackking the files, because with plugins you can do the same, as I see it. And changing user-roles quite small hack, it takes couple of seconds (and it could be done with a plugin as well if we are presise).

Note: don’t re-invent the wheel…

Cheers!

Last edited by Gocom (2007-10-24 14:40:13)

Offline

#3 2007-10-24 14:49:27

urbanclearway
New Member
Registered: 2006-07-05
Posts: 4

Re: developer documentation

Thanks for the links Gocom, I hadn’t realised that textbook covered backend issues so much. D’oh! They’ve already given me some ideas.

Gocom wrote:

  1. And afterall: You should do it as a plugin, not by hackking the files, because with plugins you can do the same, as I see it. And changing user-roles quite small hack, it takes couple of seconds (and it could be done with a plugin as well if we are presise).

I hear what you are saying and I understand why. However later on in the project I’m considering removing the passwords from TXP user accounts and integrating the login with our existing systems. I can do this because the servers we will be working with won’t be publicly accessible, a network challenge will block those without an internal account from our system.
This is one of the reasons why I’m looking to really get under the hood of TXP.

Many thanks for taking time out to help, it’s appreciated.

Barry

Offline

Board footer

Powered by FluxBB