• (This is a cross post to one in the Plugins/Hacks forum. Hope this is not too obnoxious. I don’t really know where to post it.)

    I am new to WordPress and want to build a site that has normal blog features plus the ability to log in users who will then have access to posts under their own accounts. This is not a big issue given plugins such as Role Manager and others.

    The issue is that these “posts” are, at the moment, prepared by separate scripts outside of WP. These “posts” are, at this point, actually HTML files, and they come in sets consisting of one index.html per user that contains links to a number of other HTML files. Each one contains a fairly large table or set of tables. The whole set is to be accessed only by a given user.

    I am struggling with whether to implement this as accesses to this file structure outside of WP, and use WP for login and authorization, or whether to upload the whole group of files as WP posts. Each method has complexities, AFAIK:

    1) Going outside WP for access requires somehow sharing session info from WP to an external PHP authorization script. This doesn’t seem easy, at least I haven’t found a ready-made plugin to do this either through cookies or session variables (which WP doesn’t set, but I suppose could be done through actions/filters).

    2) Keeping it all internal to WP requires uploading the full set of files into WP, then building a set of links from each user’s newly uploaded “index.html” to the other posts uploaded as part of the same operation. I’d also be concerned about the reliability of this method, as uploads could fail and leave the posts in some unknown state.

    Any ideas appreciated, including saying that this is not something WP can do. I currently have a web site running with this implemented but without blog features — just static pages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Mike,

    What I really want to know is what is this for? Is this for your investing site https://invest.kleinnet.com/ ? I think your investment site looks good. Certainly it could improve on appearance and navigation but the content looks really great.

    Personally I would upload everything to wordpress. It depends on how many pages you’ve got, how many users you’ve got and how often the pages are updated. You could consider WordPress Mu.

    The other issue is how easy things are to edit using the wordpress edit tools.

    Thread Starter mklein9

    (@mklein9)

    @tomontoast — looks like you did a little digging! Actually it is for https://www.napaliresearch.com. What’s there now is the non-blogging part. I’d like to add material of my own in a blogging format so users can search, see new content organized, etc. Is there a plugin for uploading files into WP without going through the text entry area? I.e. direct access into the DB?

    @mklein9
    I don’t believe such a plugin exists. After all how would it know what the title and hierarchy should be for the pages you create. You can however copy all your existing HTMl into the visual editor and it will keep all the same styling etc. Alternatively you can add WordPress in a subdirectory and only use it for the blogging part of your site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do authorized access to external HTML?’ is closed to new replies.