594 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+5 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?

566 posts
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 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.

594 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+5 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?

731 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.

594 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+5 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

566 posts
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 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.

360 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+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

1634 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
+7 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..

by
by
by
by
by
by