MakeUseOf

Tuesday, November 13, 2012

Google loses patent ruling | The Journal Gazette

Google loses patent ruling | The Journal Gazette: "Google successfully argued that the patent owners had waited too long to file the infringement suit. Google said Vringo and its predecessors knew of Google’s publicly disclosed method of filtering ads as early as July 2005 yet didn’t file the lawsuit for more than six years.

Lycos, a pioneer in search engines that once rivaled Yahoo as most popular search site, is now owned by India’s Ybrant Digital,"

'via Blog this'

Thursday, November 8, 2012

Yesware: Get Notified When Your Sent Emails Have Been Viewed

Yesware: Get Notified When Your Sent Emails Have Been Viewed: "Have you ever impatiently waited for a response to one of your emails? What makes the wait worse is that you do not know whether or not the recipient has checked your original email. Here to help with that by tracking your email and letting you know if the recipient has seen it, is a service called Yesware."

'via Blog this'

Wordpress – Retrieve author/user details from Post ID

Wordpress – Retrieve author/user details from Post ID: "It can be accomplished by the_author_meta() function or get_the_author_meta() function.You will need call this function in your theme or plugin, through a hook
the_author_meta() –> Outputs the data, just like echo
get_the_author_meta() -> holds the value in value.
The below function, retreives user details like…
?
CODE
1
2
3
4
5
6
7
function author_details($post_ID)  {
$auth = get_post($post_ID); // gets author from post
$authid = $auth->post_author; // gets author id for the post
$user_email = get_the_author_meta('user_email',$authid); // retrieve user email
$user_firstname = get_the_author_meta('user_firstname',$authid); // retrieve firstname
$user_nickname = get_the_author_meta('nickname,$authid); // retrieve user nickname
}
The following list of user fields you can retrieve using this function."

'via Blog this'

10 Useful Wordpress User Interface / Dashboard Hacks!

10 Useful Wordpress User Interface / Dashboard Hacks!: "Further wordpress shows total counts of all posts (pending, published, all, drafts) present in the entire blog. This is totally unacceptable and it may present a security risk. You dont want to reveal entire list of blog posts to your users. The solution is to show posts, submitted by the user who is currently logged in and remove all post counts etc.. This is the key to design a best user interface.
Note: I have designated the default user role as “contributor” when they register. You may want to change this, depending on what user role you set, for example author.
This code will only show posts submitted by author/user, who is currently logged in:
?
CODE
01
02
03
04
05
06
07
08
09
10
11
//user specific posts in admin area
function posts_for_current_author($query) {

if(current_user_can('contributor') && is_admin()) {

global $user_ID;
$query->set('author',  $user_ID);
}
return $query;
}
add_filter('pre_get_posts', 'posts_for_current_author');
This post will hide the number counts in brackets:"

'via Blog this'