Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-22 16:12:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Make a TXP Extranet

Has anyone any experience in doing something along the lines of an Extranet with TXP? If so, any tips or guidance on an approach would be most welcome so I can think about it. Even if those tips are “don’t use TXP, whatever you do” :-)

I think it would be fairly simple to begin with, though how complex it goes is anyone’s guess. Currently I would think:

  • A means of allowing clients to log in (on the public side, NOT admin side per se)
  • Be redirected upon successful login to “their” content page (I guess a section named after the client?)
  • To be able to view and download content from their section
  • To not be able to view and download content that is not in their section, nor be able to guess file names/paths and thus see stuff

From my prespective I’d like to grant permission to various clients to access particular content. Content in this case could be articles, images and files. For example, if we have 5 game shows and client X has bought the first 3 I’d like to be able to (fairly simply) “add” or link all the pages about those shows to their section. So it acts a bit like a subscription model; client X is subscribed to shows 1, 2 and 3; client Y is subscribed to shows 2, 4 and 5. A bit like johnstephens is considering

For their part, the pages about the shows contain pertinent information for those subscribers, such as the production guidelines, budget spreadsheets, downloadable content, promotional material, overlay graphics, etc.

I could also approach it vice versa so the game show pages “subscribe” to the clients that are allowed to see them but that may be more work.

I suppose a euphemism for “subscribe” could be “is in the same category as” if I employed a multi-cat plugin like rss_unlimited_categories or my new plugin for unlimited cats across content types. Or “has its custom field set” of course.

The idea is not for ultimate security here, though I would like to stop casual users or rival TV companies from downloading production guides or seeing statistical spreadsheets on the chances of winning a game! It is mainly for simplifying pages so that an exec can get at the documentation he or she needs about one of our productions without having to wade through everything else; i.e. to make the site seem “personal” to them but without me having to duplicate content (incidentally, some content probably will be specific to some clients if they have particular budgetary restrictions for a show, but I’ll cross that bridge later by having “overrides” or something).

Is it possible in TXP (if so, how?) or should I look elsewhere? If so, where?

Last edited by Bloke (2008-08-22 16:15:53)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB