42 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+2 more
phppoet says

Great work man …... really appreciate it .

3325 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

But what if the same person purchased a few of your items, how would this script manage it? Will the user be forced to register again, or he/she can actually just add more purchase codes under the same account? Good work by the way!

the purchase codes are stored in user_meta so adding it array shouldn’t be too hard to add extra, and Ill look into adding it

Most support forums Ive seen don’t block users on a per forum(theme) basis and I didnt plan on doing it to mine….

so everyone knows here my little “roadmap”

  1. rewrite the marketplace class, theres nothing wrong with it but Im going to convert it to be more WordPress http://codex.wordpress.org/HTTP_API
  2. function(or shortcode) to display which theme the user purchased, right now the purchase code is just stored in the db)
  3. add a redirect option for the shortcode after a user has registered

you can follow development on Github though dont use the version on github for a live site.

also have anyone ran into any errors? someone left a bad review because of an error and I cannot duplicate it for the life of me. Thank you all

3325 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

Great work man :)
Please correct the typo on the WorPress plugin page description: “A plugin to validate purcahses using the Envato API”

oops fixed and thank you

333 posts
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
vtimbuc says

Awesome man, I’m really looking forward for the new features you’re working on. It would be great if we could limit forum access depending on the item that user purchased. Thanks

3325 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

Awesome man, I’m really looking forward for the new features you’re working on. It would be great if we could limit forum access depending on the item that user purchased. Thanks

Thanks, I think Ill have time to dig into bbpress to see what it takes to limit forum access on per purchase basis this weekend

submitted it to http://extras.envato.com

3325 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

updated to, 0.2 when a user registers from now on it pull all the data from the api and stores it as a n array

<?php 

$userinfo = get_user_meta( $user_id, '_cw_purchase_code', true );

print($userinfo['purchase_code']);
print($userinfo['item_name']);
print($userinfo['item_id']);
print($userinfo['created_at']);
print($userinfo['buyer']);
print($userinfo['licence']);

?>

obviously youd have to set the user id still

636 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

This is awesome! Very nice @OrganicBeeMedia

707 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+2 more
ChillThemes says

Nice little plugin, I’m currently using it here for those who want a real world demo. http://perusethemes.com/forums

3325 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

Nice little plugin, I’m currently using it here for those who want a real world demo. http://perusethemes.com/forums

nice! are you using do_shortcode? I noticed that the thick box isn’t loading


add_action('wp_enqueue_scripts', 'prefix_load_scripts');

function prefix_load_scripts(){

    if( is_bbpress()){

        wp_enqueue_script('jquery');

        wp_enqueue_script('thickbox', null,  array('jquery'));

        wp_enqueue_style('thickbox.css', '/'.WPINC.'/js/thickbox/thickbox.css', null, '1.0');
    }

}

That should fix it, though Im presuming you’re using bbpress and the register is only present on bbpress pages

also noticed your header/footer cut off on the iPad ;-)

707 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+2 more
ChillThemes says


Nice little plugin, I’m currently using it here for those who want a real world demo. http://perusethemes.com/forums
nice! are you using do_shortcode? I noticed that the thick box isn’t loading also noticed your header/footer cut off on the iPad ;-)

No I’m not using the shortcode, just the forms provided by bbPress. Thanks for the snippet, saved me some time. :)

Yeah, I’m aware of the mobile display issues and will be working on a fix shortly, thanks for the heads up.

by
by
by
by
by
by