Installed another YouTube embedding plugin, Viper’s Video QuickTags, to see which one is better…
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jun | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
Posting tweet...
Powered by Twitter Tools.
Installed another YouTube embedding plugin, Viper’s Video QuickTags, to see which one is better…
Recently I have integrated my blog with Twitter. Then started to use the Shareaholic plugin for my Firefox to post URLs to Twitter as I surf.
I noticed that though Twitter converts the plain text URLs to clickable links while displaying on Twitter, links were not coming up as links but as plain text URLs in my WordPress posts.
So I installed the Linked WordPress plugin, but unfortunately it was not handling links correctly - only the domain part of each URL was converted to a link. (Now with each URL pointing tohttp://tinyurl.comdoes not look too pro, does it?
)
After spending some time by checking the plugin’s code, I have found a solution that works for me.
I changed linked/linked.php on line 200, from
$content = preg_replace(’((>|\s)(http:\/\/[a-zA-Z0-9]+(\.[a-zA-Z_]+)+))’, ‘<a href=”$2″>$2</a>’, $content);
to
$content = preg_replace(’((>|\s|\(|\n|\r)(http:\/\/[a-zA-Z0-9]+(\.[a-zA-Z_]+)+([a-zA-Z0-9\/]+))
(\s|\)|\n|<))’ , ‘<a href=”$2″ target=”_blank”>$2</a>’, $content);
This did the trick for me, and now the complete URL is converted to a clickable link…
Experiment & enjoy!
(Download the source file from here: Linked WordPress plugins linked.php zipped)
Installed the Video Warrior plugin into my WP blog…
Now giving it a try, let’s have fun!
Watch this video directly at Youtube
I have twitter and del.icio.us plugins installed on this WordPress blog. Now I am kind of experimenting with the interactions…
:]
Installed plugins:
By the way, I started to sync/add some bookmarks on del.icio.us…
Another WordPress based website I maintain, happened to have some password protected posts. Once the password protection was enabled on the post, I visited the page to see if everything works properly. Surprisingly every time I submitted the password, I have found myself on the same page, demanding the password on and on.
I have spent quite a few minutes meditating on this, then checked the form in the source. It is redirecting to wp-pass.php, which verifies the password submitted, and sets a cookie called post_password (default expiry: 864000 seconds /=10 days/, if anyone cares to change it, it can be done by editing this file /I could not leave this as reply to this post, or this one due to that both topics are closed) then redirects to the referrer (that will check the password from the cookie, I suppose). This seemed alright to me.
Browsing through my settings, I found that for some reason the website had different URL’s entered for WordPress address (URL) and Blog address (URL) under the General Settings. The two URL’s were in different domains (so imagine not www.somedomain.com and admin.somedomain.com, but www.somedomain.com and admin.anotherdomain.com) Thinking about the cookie and the redirect in wp-pass.php I have changed the WordPress address (URL) to be the same as the Blog address (URL), and all of the sudden the password protection started working as expected, requesting password only once (if the proper code is entered, of course
).
Asking me why?
Cookies store the host’s domain name and apparently this is is the WordPress address, not the Blog address for the post passwords… I was not looking into it deeper than this (for me it was ok to change the domain names in the settings), probably there is a way around this by changing some of the WordPress code, but I will likely leave that for the project developers…
I have been googling on this for some time, but found no traces of this problem and workaround… Is anyone out there? Enjoy! ![]()
Being lazy and impatient (as few clicks as little to wait for a page to load - as possible), I created a Twitter account to manage short updates to the blog. How it is integrated? Using the Wordpress Plugins below:
Now just gonna check out how it works in details, looks good so far…