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’m thinking about including my wordpress plugin bundled in my next wordpress theme. All styled nicely etc..

Is that a good idea?

Alternatively I could just advertise my wordpress plugin within the item description, but having it bundled could create more of an incentive to buy.

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 useto be a zend studio 5.5 fan boy, but over the past 6 months I’ve completely converted to PhpStorm from JetBrains.

Here’s the website: http://www.jetbrains.com/phpstorm/index.html but I strongly recommend you head over here and download the PhpStorm 2 preview: http://confluence.jetbrains.net/display/WI/Web+IDE+EAP

I use the PhpStorm 2 preview every single day for every single project. Great FTP and SVN support, the refactoring tools give me goosebumps, and the “intellisense” is wicked ! Biggest bonus, it doesn’t run sluggish like any of those recent horrible eclipse/zend ide’s.

(they release a new free phpstorm 2 preview every few weeks with more features and bug fixes too)

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 the big guys take shortcuts to save bandwidth. eg: use <script> instead of <script type="text/javascript" language="javascript">.

I wouldn’t say you “need” to be valid. But it’s certainly something to aim towards. Taking a shortcut or using old html tags could cause a page to display wrong on some of the newer browsers or mobile devices.

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

haha!!

i’ve just done it: http://gokcayon.blogspot.com.au/2012/05/wordpress-email-newsletter-plugin.html lol win.

code if other’s want to play:

put a .htaccess file in your image directory with this in it:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ imagehack.php [L,QSA]
create a file called imagehack.php with this in it:
<?php
$ref = trim($_SERVER['HTTP_REFERER']);
$safe = array(
    'codecanyon.net',
    'dtbaker.com.au',
    'hayleycrook.com',
    'themeforest.net',
);
if($ref){
    $has_safe_host = false;
    foreach($safe as $s){
        if(preg_match('#'.preg_quote($s,'#').'#i',$ref)){
            $has_safe_host = true;
            break;
        }
    }
    if(!$has_safe_host){
        mail('david@blueteddy.com.au','ref: '.$ref,'ref');
        header('Content-type: image/gif');
        readfile('warning.gif');
        exit;
    }
}
$file = basename($_SERVER['REQUEST_URI']);
if(is_file('renamed_'.$file)){
    $data = getimagesize('renamed_'.$file);
    header("Content-type: {$data['mime']}");
    readfile('renamed_'.$file);
    exit;
}
?>
rename any images with a “rename_” prefix and away you go :P

note: i know some “internet security” suites and proxies like to mess with http referrer data, so use this at ur own risk :)

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

Sweet. Might play around porting my wp plugin to joomla.

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

Just have a question. This happened before? How common it is?

1974 was I think the last time. Exactly the same water level I believe. It could have been much worse, since 1974 they’ve put in a huge dam up stream, that’s kept most of the water back.

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

just saw this doing some googling http://gokcayon.blogspot.com.au/2012/05/wordpress-email-newsletter-plugin.html (nothing illegal about this one, just a scrape of the item description, of which there are many)

had a fun idea. place a 1×1 pixel hidden image in the item description. once all these websites scrape a copy of the item description, change the image (hosted on my server) to a php script so I can check the referral url.

if the referral url exists, and it isn’t codecanyon.net – output a HUGE flashing animated gif.

lol

wonder what the image could say…

http://dtbaker.com.au/webimages/flashing.gif
(edit: removed img tag – it was hurting my eyes)

i don’t know if a lot of these scrapers copy a href links, but including a link around the 1×1 image which bounces through a url shortner to include your own ref link would be handy too.

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

Quick firebug hack:

<div class="reply "> 
    <div class="ul-pointer"><!-- --></div> 
  <div class="shadowed">
    <div class="text ">
          <div class="comment_reply_content">
           <a href="/comment/new_reply/852754" class="fancy-comment">Please click here to reply to this comment.</a>
          </div>
         </div>
    </div>
  </div>

not easy to add?

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

You know when you press refresh after doing something on a website and it asks you to confirm posting the data again? Or when you press a back button and it asks?

I don’t think it’s possible, but does anyone know a http header you can set letting the browser know it’s ok to re-post certain data from certain pages?

by
by
by
by
by
by