Results 1 to 9 of 9

Thread: wp admin demo site

Hybrid View

  1. #1

    wp admin demo site

    guy anyone know how to create a demo site to allow user login and try run ? and everything will be reset in certain time frame ??
    thanks

  2. #2
    There is a reply here that might help
    WordPress › Support Admin demo mode?

    I wouldn't provide a live demo, it would take a lot of extra coding to block anyone from being able to edit files or get a shell in there, be very careful what you do & if you don't fully understand security don't do it, unless you find a full plugin to do it for you

  3. #3
    meh edit post doesn't work & when clicking submit post a popup box asked if I wanted to leave the page , enter key wont work in IE either check here WordPress › Role Scoper WordPress Plugins

  4. #4
    It sounds like what he is looking for is a plugin that resets any changes the temporary admin makes to a site.

    SonnyCool, I think the only way you can do that is to make a copy of the database prior to the demo and restore that database after.
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


  5. #5
    I think that for security reasons, you would have to set it up in a virtual machine, disable the sending of email, and reload a mirrored copy of the drive on each reset. In any case, you would need an IT expert to set it up.

  6. #6
    A simplified way to accomplish this could be to set up two databases and simply change the wp-config file to point to the appropriate database.

    Database #1 would be the normal version of the site where you do not allow other to access the admin area.

    Database #2 would be your demo database that you do allow others to access and they can change admin settings. When you are done with a demo, copy Database #1 over Database #2 to reset it for the next demo.

    Each database can contain different logins and configurations for demo purposes.

    We are talking about perhpas 5 minutes of time to reset the database.
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


  7. #7
    But, in WordPress you can edit the code of the plugins to do whatever crazy stuff you like on the server

  8. #8
    That's a good point, but I don't think you can edit the plugin code unless you give the plugins folder the proper permissions. At least you cannot on my sites.

    You can disable the editors with a simple line of code in the wp-config.php file

    How to Disable Theme and Plugin Editors from WordPress Admin Panel

    Code:
    define( 'DISALLOW_FILE_EDIT', true );
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


  9. #9
    actually i found a way of doing it
    1. Setup WPMS.
    2. Create a sub site. (blog ID1)
    3. Use domain mapping for domain or just leave it play around with subdomain.
    4. Set user roles as administrator. (only sub site, not network)
    5. Use wp reset db. (i use cron job to reset it) [/QUOTE]

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •