Comments for Thripp Photography http://richardxthripp.thripp.com and miscellaneous Sun, 05 Sep 2010 18:45:38 +0000 http://wordpress.org/?v=2.7 hourly 1 Comment on Maternity Portraits of Jacquelyn and Shoughn by The Big List < Austin Couples Photographyhttp://richardxthripp.thripp.com/2009/10/maternity-portraits-of-jacquelyn-and-shoughn/#comment-80220 The Big List < Austin Couples Photography Sun, 05 Sep 2010 01:42:48 +0000 http://richardxthripp.thripp.com/?p=909#comment-80220 [...] Maternity Portraits of Jacquelyn and Shoughn [...] [...] Maternity Portraits of Jacquelyn and Shoughn [...]

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Richard X. Thripphttp://richardxthripp.thripp.com/tweet-this/#comment-80210 Richard X. Thripp Sat, 04 Sep 2010 22:27:02 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80210 Curl and PHP 5. Try saving your OAuth details anyway and publishing a new post with "Send to Twitter" checked. It might work fine. The "Test Twitter OAuth" button does not work if some other Twitter plugins are enabled (TweetPost is one). Curl and PHP 5. Try saving your OAuth details anyway and publishing a new post with “Send to Twitter” checked. It might work fine. The “Test Twitter OAuth” button does not work if some other Twitter plugins are enabled (TweetPost is one).

]]>
Comment on My Comments 3 by Richard X. Thripphttp://richardxthripp.thripp.com/my-comments-3/#comment-80208 Richard X. Thripp Sat, 04 Sep 2010 22:23:08 +0000 http://richardxthripp.thripp.com/?page_id=998#comment-80208 http://regexadvice.com/forums/thread/71623.aspxI am using the <a href="http://www.phpclasses.org/package/6114-PHP-Convert-URLs-in-text-to-links-using-Bit-ly.html" rel="nofollow">Shorten URL in a text using Bit.ly</a> PHP class by Muhammad Arfeen and I would like to replace his code with <a href="http://blog.activa.be/index.php/2008/10/extracting-urls-not-perfect-but-quotgood-enoughquot/" rel="nofollow">Philippe Leybaert's code</a>. The original PHP code is below:preg_match_all(’(((f|ht){1}(tp://|tps://))[-a-zA-Z0-9@:%_+.~#?&//=]+)’, $text, $hyperlinksArray);Here is the same code with Philippe Laybaert's regular expression:preg_match_all(’\b(https|http)://([a-zA-Z-:@.0-9]+)(/((\([-;:@&=a-zA-Z0-9$_.+!*\',]*?\))|[-;:@&=?a-zA-Z0-9$_.+!*\',]|%\d\d)+)?(?< ![,.;])', $text, $hyperlinksArray);Since he did not enclose his code in quotes, I used single quotes like in the original code and escaped the two single quotes in the regex with backslashes.My problem is every time this code is parsed it returns “Warning: preg_match_all() [function.preg-match-all]: Delimiter must not be alphanumeric or backslash in [file] on [line]” and no replacements are made. Is this an issue with the regex itself, escaping, or something with PHP? I am using PHP 5. An example of $text would be "Check out this cool Wikipedia page: http://en.wikipedia.org/wiki/Textile_(disambiguation)" and the last string is defined as `$hyperlinksArray = array();`.The problem with the original regex is that it does not work with parentheses and it includes periods, commas, semicolons, and close parenthesis at the end of a URL in the URL itself, which, in all cases except semicolons, is NOT what Twitter does. Since I am shortening URLs with Bit.ly, using the original code on my example will produce a Bit.ly short URL for the long URL http://en.wikipedia.org/wiki/Textile_ instead of http://en.wikipedia.org/wiki/Textile_(disambiguation) as it should. Philippe's code would solve these problems and several others if I could get it to work. http://regexadvice.com/forums/thread/71623.aspx

I am using the Shorten URL in a text using Bit.ly PHP class by Muhammad Arfeen and I would like to replace his code with Philippe Leybaert’s code. The original PHP code is below:

preg_match_all(’(((f|ht){1}(tp://|tps://))[-a-zA-Z0-9@:%_+.~#?&//=]+)’, $text, $hyperlinksArray);

Here is the same code with Philippe Laybaert’s regular expression:

preg_match_all(’\b(https|http)://([a-zA-Z-:@.0-9]+)(/((\([-;:@&=a-zA-Z0-9$_.+!*\',]*?\))|[-;:@&=?a-zA-Z0-9$_.+!*\',]|%\d\d)+)?(?< ![,.;])', $text, $hyperlinksArray);

Since he did not enclose his code in quotes, I used single quotes like in the original code and escaped the two single quotes in the regex with backslashes.

My problem is every time this code is parsed it returns “Warning: preg_match_all() [function.preg-match-all]: Delimiter must not be alphanumeric or backslash in [file] on [line]” and no replacements are made. Is this an issue with the regex itself, escaping, or something with PHP? I am using PHP 5. An example of $text would be “Check out this cool Wikipedia page: http://en.wikipedia.org/wiki/Textile_(disambiguation)” and the last string is defined as `$hyperlinksArray = array();`.

The problem with the original regex is that it does not work with parentheses and it includes periods, commas, semicolons, and close parenthesis at the end of a URL in the URL itself, which, in all cases except semicolons, is NOT what Twitter does. Since I am shortening URLs with Bit.ly, using the original code on my example will produce a Bit.ly short URL for the long URL http://en.wikipedia.org/wiki/Textile_ instead of http://en.wikipedia.org/wiki/Textile_(disambiguation) as it should. Philippe’s code would solve these problems and several others if I could get it to work.

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by seandidkhttp://richardxthripp.thripp.com/tweet-this/#comment-80205 seandidk Sat, 04 Sep 2010 21:59:56 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80205 I entered everything correctly, but it never connects to twitter. What apache mods are needed for this? I entered everything correctly, but it never connects to twitter. What apache mods are needed for this?

]]>
Comment on My Comments 3 by Richard X. Thripphttp://richardxthripp.thripp.com/my-comments-3/#comment-80204 Richard X. Thripp Sat, 04 Sep 2010 21:59:17 +0000 http://richardxthripp.thripp.com/?page_id=998#comment-80204 http://blog.activa.be/index.php/2008/10/extracting-urls-not-perfect-but-quotgood-enoughquot/I am using the <a href="http://www.phpclasses.org/package/6114-PHP-Convert-URLs-in-text-to-links-using-Bit-ly.html" rel="nofollow">Shorten URL in a text using Bit.ly</a> PHP class by Muhammad Arfeen and I would like to replace this code with yours:preg_match_all('(((f|ht){1}(tp://|tps://))[-a-zA-Z0-9@:%_+.~#?&//=]+)', $text, $hyperlinksArray);I tried copying and pasting your code between the single quotes and escaping the two single quotes in your final regex:preg_match_all('\b(https|http)://([a-zA-Z-:@.0-9]+)(/((\([-;:@&=a-zA-Z0-9$_.+!*\',]*?\))|[-;:@&=?a-zA-Z0-9$_.+!*\',]|%\d\d)+)?(?<![,.;])', $text, $hyperlinksArray);However, every time this code is parsed it returns "Warning: preg_match_all() [function.preg-match-all]: Delimiter must not be alphanumeric or backslash in [file] on [line]."I am not an expert on regular expressions so I don't know how to fix this. Do you have any advice? I've been looking for hours for regex code like yours and was really hoping it would work. http://blog.activa.be/index.php/2008/10/extracting-urls-not-perfect-but-quotgood-enoughquot/

I am using the Shorten URL in a text using Bit.ly PHP class by Muhammad Arfeen and I would like to replace this code with yours:

preg_match_all(’(((f|ht){1}(tp://|tps://))[-a-zA-Z0-9@:%_+.~#?&//=]+)’, $text, $hyperlinksArray);

I tried copying and pasting your code between the single quotes and escaping the two single quotes in your final regex:

preg_match_all(’\b(https|http)://([a-zA-Z-:@.0-9]+)(/((\([-;:@&=a-zA-Z0-9$_.+!*\',]*?\))|[-;:@&=?a-zA-Z0-9$_.+!*\',]|%\d\d)+)?(?< ![,.;])', $text, $hyperlinksArray);

However, every time this code is parsed it returns “Warning: preg_match_all() [function.preg-match-all]: Delimiter must not be alphanumeric or backslash in [file] on [line].”

I am not an expert on regular expressions so I don’t know how to fix this. Do you have any advice? I’ve been looking for hours for regex code like yours and was really hoping it would work.

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Richard X. Thripphttp://richardxthripp.thripp.com/tweet-this/#comment-80154 Richard X. Thripp Sat, 04 Sep 2010 02:23:11 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80154 You're welcome, and thank you for the recommendations! Many others have had the same problem you had using Twitter Tools, WP to Twitter, TweetPost, etc., as they all use twitteroauth.php which requires PHP 5. I will add a note in Tweet This 1.7.3 about this. You’re welcome, and thank you for the recommendations! Many others have had the same problem you had using Twitter Tools, WP to Twitter, TweetPost, etc., as they all use twitteroauth.php which requires PHP 5. I will add a note in Tweet This 1.7.3 about this.

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Cesar A Vanegashttp://richardxthripp.thripp.com/tweet-this/#comment-80146 Cesar A Vanegas Fri, 03 Sep 2010 23:50:37 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80146 Richard,Thank you so much for helping me resolve this issue.Your Plugin is wonderful and easy to use I will recommend it to all my friends.Once again thank you so much for your help.Cesar Richard,

Thank you so much for helping me resolve this issue.

Your Plugin is wonderful and easy to use I will recommend it to all my friends.

Once again thank you so much for your help.

Cesar

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Richard X. Thripphttp://richardxthripp.thripp.com/tweet-this/#comment-80141 Richard X. Thripp Fri, 03 Sep 2010 23:07:15 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80141 This is definitely due to your server being in PHP 4 mode. The twitteroauth.php file connects to Twitter and requires PHP 5.It appears you are using 1&1 hosting which used <a href="http://faq.1and1.com/scripting_languages_supported/php/5.html" rel="nofollow">PHP 4 by default until recently</a>. Try adding this line to the top of your .htaccess file at /htdocs/wordpress-2.9.2/wordpress/.htaccess :AddType x-mapp-php5 .php This is definitely due to your server being in PHP 4 mode. The twitteroauth.php file connects to Twitter and requires PHP 5.

It appears you are using 1&1 hosting which used PHP 4 by default until recently. Try adding this line to the top of your .htaccess file at /htdocs/wordpress-2.9.2/wordpress/.htaccess :

AddType x-mapp-php5 .php

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Cesar A Vanegashttp://richardxthripp.thripp.com/tweet-this/#comment-80139 Cesar A Vanegas Fri, 03 Sep 2010 22:01:30 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80139 Richard,I disabled all the plugins and it still doesn't work. The Error occurs after I click on the publish to publish a new or update a posting.Thank you Richard,

I disabled all the plugins and it still doesn’t work. The Error occurs after I click on the publish to publish a new or update a posting.

Thank you

]]>
Comment on Photo: Blue Flowers by Richard X. Thripphttp://richardxthripp.thripp.com/2010/09/photo-blue-flowers/#comment-80136 Richard X. Thripp Fri, 03 Sep 2010 21:16:13 +0000 http://richardxthripp.thripp.com/2010/09/photo-blue-flowers/#comment-80136 Thanks. Thanks.

]]>
Comment on Photo: Moonlit Ocean by Richard X. Thripphttp://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80135 Richard X. Thripp Fri, 03 Sep 2010 21:15:50 +0000 http://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80135 I am not in the habit of adding noise to photos. I am not in the habit of adding noise to photos.

]]>
Comment on How to Break into Stock Photography by Richard X. Thripphttp://richardxthripp.thripp.com/2008/06/how-to-break-into-stock-photography/#comment-80134 Richard X. Thripp Fri, 03 Sep 2010 21:14:43 +0000 http://richardxthripp.thripp.com/?p=481#comment-80134 I don't know, probably. I haven't submitted a stock photo in over a year. I don’t know, probably. I haven’t submitted a stock photo in over a year.

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Richard X. Thripphttp://richardxthripp.thripp.com/tweet-this/#comment-80122 Richard X. Thripp Fri, 03 Sep 2010 19:24:59 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80122 Are you using another Twitter plugin such as TweetPost or Twitter Tools? Try disabling it if so and let me know if that fixes the error messages. Where does the parse error appear? On your home page or in the WordPress admin pages? Make sure your server is using PHP 5 and not PHP 4. Are you using another Twitter plugin such as TweetPost or Twitter Tools? Try disabling it if so and let me know if that fixes the error messages. Where does the parse error appear? On your home page or in the WordPress admin pages? Make sure your server is using PHP 5 and not PHP 4.

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Cesar A Vanegashttp://richardxthripp.thripp.com/tweet-this/#comment-80113 Cesar A Vanegas Fri, 03 Sep 2010 15:07:42 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80113 Richard,I also forgot to mention that once I Click Test Twitter OAuth it never displays "Authentication succeeded" it only says testing... but nothing seams to be happening.Thank you very much for your help. Richard,

I also forgot to mention that once I Click Test Twitter OAuth it never displays “Authentication succeeded” it only says testing… but nothing seams to be happening.

Thank you very much for your help.

]]>
Comment on Tweet This, a WordPress Plugin for Twitter [1.7.2] by Cesar A Vanegashttp://richardxthripp.thripp.com/tweet-this/#comment-80110 Cesar A Vanegas Fri, 03 Sep 2010 14:46:25 +0000 http://richardxthripp.thripp.com/?page_id=646#comment-80110 Richard,I have been using you plugin with some month now and let me tell you it's a great one. I just recently upgraded to your new version 1.7.1. I have followed all the direction and haven't being able to make it work. I am getting this errorParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/41/d276329632/htdocs/wordpress-2.9.2/wordpress/wp-content/plugins/tweet-this/lib/twitteroauth.php on line 19Can you please guide me on the best way to fixing this error. I am running wordpress 3.0.1.Best Regards,Cesar Richard,

I have been using you plugin with some month now and let me tell you it’s a great one. I just recently upgraded to your new version 1.7.1. I have followed all the direction and haven’t being able to make it work. I am getting this error

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homepages/41/d276329632/htdocs/wordpress-2.9.2/wordpress/wp-content/plugins/tweet-this/lib/twitteroauth.php on line 19

Can you please guide me on the best way to fixing this error. I am running wordpress 3.0.1.

Best Regards,

Cesar

]]>
Comment on How to Break into Stock Photography by andrihttp://richardxthripp.thripp.com/2008/06/how-to-break-into-stock-photography/#comment-80087 andri Fri, 03 Sep 2010 03:45:17 +0000 http://richardxthripp.thripp.com/?p=481#comment-80087 is there keyword tool for stock photography analysis ? i would love to try one .. i think your point no.5 is spot on.. is there keyword tool for stock photography analysis ? i would love to try one .. i think your point no.5 is spot on..

]]>
Comment on Photo: Moonlit Ocean by andrihttp://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80085 andri Fri, 03 Sep 2010 03:40:12 +0000 http://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80085 i think you could push more noise to it.. make it more moody for viewer.. thx for share :D i think you could push more noise to it.. make it more moody for viewer.. thx for share :D

]]>
Comment on Photo: Blue Flowers by andrihttp://richardxthripp.thripp.com/2010/09/photo-blue-flowers/#comment-80084 andri Fri, 03 Sep 2010 03:38:35 +0000 http://richardxthripp.thripp.com/2010/09/photo-blue-flowers/#comment-80084 hi, nice color combination there.. green,blue and black.. i think it really works hi, nice color combination there.. green,blue and black.. i think it really works

]]>
Comment on Thripp 2010 by Thripp 2010: Results for Augusthttp://richardxthripp.thripp.com/2010/08/thripp-2010/#comment-80072 Thripp 2010: Results for August Fri, 03 Sep 2010 01:05:32 +0000 http://richardxthripp.thripp.com/?p=1001#comment-80072 [...] been three weeks since I started my Thripp 2010 project. I’ve posted one photo weekday from before 2010 here, one photo per weekday from 2010 [...] [...] been three weeks since I started my Thripp 2010 project. I’ve posted one photo weekday from before 2010 here, one photo per weekday from 2010 [...]

]]>
Comment on Dofollow Blogs by Richard X. Thripphttp://richardxthripp.thripp.com/dofollow-blogs/#comment-80060 Richard X. Thripp Thu, 02 Sep 2010 21:06:21 +0000 http://richardxthripp.thripp.com/index.php/cart/confirmation#comment-80060 Yeah, that used to be a lot higher... like 50,000. Yeah, that used to be a lot higher… like 50,000.

]]>
Comment on Dofollow Blogs by Panda Marketerhttp://richardxthripp.thripp.com/dofollow-blogs/#comment-80055 Panda Marketer Thu, 02 Sep 2010 19:05:34 +0000 http://richardxthripp.thripp.com/index.php/cart/confirmation#comment-80055 Well, you're under 65,000 in Alexa, so that's something. :cool: Well, you’re under 65,000 in Alexa, so that’s something. :cool:

]]>
Comment on Photo: Moonlit Ocean by Richard X. Thripphttp://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80046 Richard X. Thripp Thu, 02 Sep 2010 15:46:49 +0000 http://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80046 Thank you. Thank you.

]]>
Comment on Dofollow Blogs by Richard X. Thripphttp://richardxthripp.thripp.com/dofollow-blogs/#comment-80045 Richard X. Thripp Thu, 02 Sep 2010 15:46:43 +0000 http://richardxthripp.thripp.com/index.php/cart/confirmation#comment-80045 Thanks. Maybe this page will move up... currently it has no PageRank even though my homepage is 5/10. Thanks. Maybe this page will move up… currently it has no PageRank even though my homepage is 5/10.

]]>
Comment on Dofollow Blogs by Stainless Steel Giftshttp://richardxthripp.thripp.com/dofollow-blogs/#comment-80044 Stainless Steel Gifts Thu, 02 Sep 2010 15:34:32 +0000 http://richardxthripp.thripp.com/index.php/cart/confirmation#comment-80044 Thanks for providing such a massive list! The first four results on google lead to some sh¡tty lists :silly:~Dave Thanks for providing such a massive list! The first four results on google lead to some sh¡tty lists :silly:

~Dave

]]>
Comment on Photo: Moonlit Ocean by spanienhttp://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80036 spanien Thu, 02 Sep 2010 14:13:26 +0000 http://richardxthripp.thripp.com/2010/09/photo-moonlit-ocean/#comment-80036 Nice! Nice!

]]>