600 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
designcise says

How do you set up a demo for a plug-in? Do you guys create user roles with less privileges and allow people to log on to the admin area and try out the plugin, or is there anything else out there that might help?

572 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
+6 more
radykal says

First create a user with ‘read’ capability, for the demo set also the capability of your admin page to read.

If you have buttons in your admin to save the changes, use the current_user_can and the disabled function of wordpress.

For example:
<input type="submit" value="Save Changes" <?php disabled(current_user_can('manage_options'), false ) ?> />

This will disable the button if the user can not manage the options.

600 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
designcise says

thanks radykal .. that’s the sort of thing i had in mind too, but without saving changes, you think people will really get the ‘feel’ of the plugin? isn’t there a way where you could say rollback changes each user made?

i saw sometime back i think a plugin that lets you create demos or something, any idea about this?

737 posts
  • Has referred 500+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+7 more
mordauk says

It all depends on the plugin. I have actually never setup a live demo for any of my plugins, but I do record videos and show lots of screenshots.

600 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
designcise says

i’ve had many requests for the live preview of my plugin, plus it would sell better i think if there’s a live preview

i wonder if there’s a robust solution for this

572 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
+6 more
radykal says

Yes this is also possible but I think more complicated and could take time so it runs smoothly.

You can store the IP of the user and the coresponding changes he made. I think transients could help you with that.

I made a demo logins with the top exlplained solution for my wp plugins. Check out my wp plugins, in the description you find the demo login.

365 posts
  • Member of the Envato Team
  • Has been part of the Envato Community for over 5 years
  • Has sold $10,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+8 more
Philo01 Envato team says
mordauk said
It all depends on the plugin. I have actually never setup a live demo for any of my plugins, but I do record videos and show lots of screenshots.

+1 :) Same here! I often have a live demo of the front-end and a screencast of both the front/back-end. If you want to allow users to have access to a back-end, I recommand that you setup a cronjob that reset’s all data every 30 minutes. Because users always find a way to mess up the demo. :P

1702 posts Building the Web.
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
  • Has sold $250,000+ on Envato Market
  • Had an item featured on Envato Market
+8 more
ZoomIt says
Philo01 said
Because users always find a way to mess up the demo. :P

+1 , there are always wise guys who will mess try to mess with the demo..

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by