Posts by dtbaker

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

I’ve made the following system for Brandon in the last few days :) It asks forum members to verify there products in order to get access to the corresponding forum.

wow that’s some awesome work there :)

any plans to sell something like that on here?

(installed vanilla last night : http://dtbaker.com.au/support-forum/ : will try to work on a verification plugin today or tomorrow)

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

but since there’s only one 2010 and one 12 it should be grouped, how can I group this?

like in http://themeforest.net/forums/thread/question-to-php-devs/36723?page=1#346775 they are grouped as array keys, so no duplicates. alternatively you could play around with the http://php.net/array_unique function

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

Here’s their uploading guidelines: http://vimeo.com/guidelines#uploading_guidelines (point #2 about commercial use)

Does that mean we should not use vimeo to upload screencasts of our items? eg: a walkthrough on how to use the item, or a walkthrough on the items features?

I would be linking to the vimeo videos from the item description page.

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

try not putting html into a php string if possible. just write the html and use php where it’s needed.

edit: sorry about the bogus code, this forum doesn’t like certain code.

some options:


<!-- your other html here -->
<a href="javascript:void(0);" onclick="return remove_sidebar_link('<?php echo $name;?>' , <?php echo $count;?>);">Remove link</a>
<!-- your other html here -->

<?php ob_start();
?>
<!-- your other html here -->
<a href="javascript:void(0);" onclick="return remove_sidebar_link('<?php echo $name;?>' , <?php echo $count;?>);">Remove link</a>
<!-- your other html here -->
<?php $output = ob_get_clean();
?>

<?php $output .= 'a href="javascript:void(0);" onclick="return remove_link(\'' . $name . '\',' . $count . ');?>Remove link /a>';
?>

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

EDIT : Also, I don’t think limiting the installations to 1 would be a good thing. Most people like freedom. I think only if the code has been used more then 5-10 times it should restrict the user.

even if they’ve only purchased a single use license? and install the item for 5 of their customers (charging their customers for it)? yep it gets tricky, won’t be putting any hard limits in place to start with, just a notification saying they’ve already used it and to go purchase it again with a link or something.

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

How would you do the verification ? Is the request pinged back to your site and if the code is correct it returns some vital data or something like that ?

Yep, vital data (unique to their purchase code) is returned which allows the plugin to function.

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

haven’t tested this code, hopefully it works, but it should get you started:

the `date` column has a type of DATE

// insert a date
$sql = "INSERT INTO `your_table` SET `date` = '2010-10-02'";
mysql_query($sql);
// insert another date
$sql = "INSERT INTO `your_table` SET `date` = '2010-12-10'";
mysql_query($sql);

// pull the dates out of `your_table` ready for drop down boxes
$years = $months = $days = array();
$sql = "SELECT `date` FROM `your_table` ORDER BY `date` ASC";
$res = mysql_query($sql);
while($row = mysql_fetch_assoc($res)){
   $date_parts = explode('-',$row['date']);
   $years[$date_parts[0]] = true;
   $months[$date_parts[1]] = true;
   $days[$date_parts[2]] = true;
}

// now we have our data structure set, print out the html select boxes:
?>

<select name="years">
<?php foreach($years as $year ?> $tf){ ?>
<option value="<?php echo $year;?>"><?php echo $year;?></option>
<?php } ?>
</select>

<select name="months">
<?php foreach($months as $month ?> $tf){ ?>
<option value="<?php echo $month;?>"><?php echo date("F",strtotime("2010-$month-01"));?></option>
<?php } ?>
</select>

<select name="days">
<?php foreach($days as $day ?> $tf){ ?>
<option value="<?php echo $day;?>"><?php echo $day; echo date("S",strtotime("2010-01-$day"));?></option>
<?php } ?>
</select>

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

A lot of authors are using VanillaForums. PS: Hey DT a tutorial for NetTuts+ will be great mate :)

might do that if this proves a success: http://codecanyon.net/forums/thread/authors-envato-api-thoughts-on-using-verifypurchase/36751

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

I’m after some feedback from other Authors (or any big time buyers) about asking for a purchase verification code when installing a program or plugin. This is intended as an extra level of protection against people sharing/selling my items elsewhere (certainly not bulletproof), but also keeping the process simple (1 step) for the 90% of people who use items as per the purchased license.

Here is a video of my new installation process (using a fake verification code) which I am planning on rolling out with my next item:

Please avoid all the “this is pointless because someone can remove the activation process” comments :)

Cheers heaps
Dave

2954 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

I’ll let you know how I go with my support forum and the author code. Working on a bbpress plugin to allow registration with an envato purchase code.

What forum software do you use?

by
by
by
by
by
by