Support » Plugins » User account and access managament system?

  • Hello,

    I am working on a website that would have some highly interactive online content unavailabe to public viewing. In order to see it, a viewer would have to register an account and get the appropriate permissions for the content. This system would require quite a bit of PHP scripting (both for the user/access/content managament as well as the interactivity of the content itself) but I can take care of that.

    I was thinking about using WordPress as a framework for my site, but as I quickly found out, due to inability to use PHP witihn my pages I cannot implement much of the functionality. Even some of the PHP plugins (like PHP exec) do not allow for full feautures (for instance, I was unable to start/destroy a session or store session variables, a key component of any user login system).

    My question is if there is any way to get around this limitation. One idea is to use the template files and put some of my key-scripts there, but that is not a very elegant solution. I was wondering about writing a custom plugin to achieve that, but whenever I tried to do anything with sessions (even as simple as isset($_SERVER[‘var’]), trying to activate the plugin would give me a Fatal Error (but no description). Hence I am a bit in a pickle.

    Any guidance highly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Those limitations are good for the rest of world. Probably sucks for you.

    Thanks for the incredably helpful reply.

    So, looking at the fact there are some Cart plugins, it leads me to a believe there HAS to be a way to make this work. Unfortunately I could not test them because the carts I tried would give me constant errors.

    So it turns out I can check session variables in a plugin. Bu t if I try session_start() in it, I get this warning:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-includes\l10n.php:36) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-content\plugins\session_tester.php on line 49

    Any idea why? Is there any documentation on what wordpress does with sessions (I don’t wont to interfere with WordPress using my own code).

    WordPress is a bit short of documentation for those details but the code chain isn’t that long so you can dig it out. By the time your scriplet is called the headers have been sent to the client. If your invoking session management behind the back of what WordPress does, you have to expect some “issues”.

    Not to mention any versioning problems between WP and the Carts.

    Sorry, I started a new topic on this with a more to-the-point question.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘User account and access managament system?’ is closed to new replies.