594 posts
  • Author had a File in an Envato Bundle
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 10 000 and 50 000 dollars
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?

558 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 4-5 years
+1 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
  • Author had a File in an Envato Bundle
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 10 000 and 50 000 dollars
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?

730 posts
  • Elite Author
  • Attended a Community Meetup
  • Has been a member for 4-5 years
  • Sold between 100 000 and 250 000 dollars
  • Bought between 50 and 99 items
  • Exclusive Author
  • Most Wanted Bounty Winner
+2 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
  • Author had a File in an Envato Bundle
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 10 000 and 50 000 dollars
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

558 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Exclusive Author
  • Germany
  • Has been a member for 4-5 years
+1 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.

358 posts
  • Envato Staff
  • Reviewer
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Contributed a Tutorial to a Tuts+ Site
  • Beta Tester
+4 more
Philo01 Reviewer 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

1572 posts Building the Web.
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
+2 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