![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
|
wp plugin developers
What does a pretty simple plugin cost, I've had an idea and can't find any plugins that do what I want.
Basically collating numerous pieces of info likes/tweets/comments and displaying posts according to the sum of the result. Like a ranking plugin. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Like a popular posts widget that ranks according to social networking feedback?
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
would need a detail list of what you want in it , then a proper quote can be given
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
|
yes but so the whole site is displayed that way like a chart top 50 magic join links that sort of thing.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
|
Quote:
say a post had 50 different social media likes/retweets/diggs etc plus logged in comments, say a total of 60. that post would appear above a post with 55 in total but below a post with 75. exactly like a top 40 chart. posts can move up and down accordingly. Could be done with just social media if the collation of socialmedia/comments adds a lot to the programming. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
you could just sort them by social votes, not really a plugin is needed, more of a custom query order by votes
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
How do you get the social metrics without a plugin? Facebook Likes, Twitter Mentions, etc...
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
|
Quote:
So a custom query off an existing plugin? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Quote:
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
Quote:
i would need to know all the social systems you want other than twitter and facebook.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
|
Quite a nice tutorial giving you a good start.
http://tutorialzine.com/2010/05/show...ts-jquery-yql/ or using the Addthis api http://www.addthis.com/developers to get all the social media in, then just add in comments. Sort by custom query, add code to the loop and functions to get the chart effect in the posts 1-50 countdown sort of thing. People like to vote on stuff and if you're getting se exposure on it lovely. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Facebook and Twitter have really easy APIs to use. Facebook's is significantly easier to work with. Then a custom query and you're all set. I wasn't aware AddThis does too, that could be useful. Thanks for that one. I knew about YQL, that's not a bad option either.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
Quote:
Code:
<?php // retweets for url function tweetCount($url) { $content = file_get_contents("http://api.tweetmeme.com/url_info?url=" . $url); $element = new SimpleXmlElement($content); $retweets = $element->story->url_count; if ($retweets) { return $retweets; } else { return 0; } } // facebook likes for url function likeCount($url) { $data = json_decode(file_get_contents("http://api.facebook.com/method/fql.query?query=select%20like_count%20from%20link_stat%20where%20url='$url'&format=json")); if ($data) { return $data[0]->like_count; } else { return 0; } } // declicious posts for url function deliciousCount($url) { $data = json_decode(file_get_contents("http://feeds.delicious.com/v2/json/urlinfo/data?url=$url")); if ($data) { return $data[0]->total_posts; } else { return 0; } } // digg count for url function diggCount($url) { $data = json_decode(file_get_contents("http://services.digg.com/1.0/endpoint?method=story.getAll&link=$url&type=json")); if ($data) { return $data->stories[0]->diggs; } else { return 0; } } // reddit score for url function redditCount($url) { $data = json_decode(file_get_contents("http://www.reddit.com/api/info.json?url=$url")); if ($data) { return $data->data->children[0]->data->score; } else { return 0; } } // stumbles for url function stumbleCount($url) { $data = json_decode(file_get_contents("http://www.stumbleupon.com/services/1.01/badge.getinfo?url=$url")); if ($data) { return $data->result->views; } else { return 0; } } // bit.ly clicks for url function bitlyCount($url,$login,$apikey) { $data = json_decode(file_get_contents("http://api.bit.ly/stats?version=3&shortUrl=$url&login=$login&apiKey=$apikey&format=json", true)); if ($data) { return $data->results->clicks; } else { return 0; } } ?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
I see what you mean. Functions to throw into your functions.php file. I still consider that plugin-ish
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |