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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-14-2011, 08:19 AM   #1
v4 media
Confirmed User
 
v4 media's Avatar
 
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.
v4 media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 08:25 AM   #2
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Like a popular posts widget that ranks according to social networking feedback?
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 08:39 AM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
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
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 08:40 AM   #4
v4 media
Confirmed User
 
v4 media's Avatar
 
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.
v4 media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 09:01 AM   #5
v4 media
Confirmed User
 
v4 media's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
Quote:
Originally Posted by fris View Post
would need a detail list of what you want in it , then a proper quote can be given
Because of social media getting bumped up in the seo. Just an Idea I had.

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.
v4 media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 09:03 AM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
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
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 09:09 AM   #7
v4 media
Confirmed User
 
v4 media's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
Quote:
Originally Posted by fris View Post
you could just sort them by social votes, not really a plugin is needed, more of a custom query order by votes
Yep, time to get the wp for dummies book out. thanks will have a dig around.
v4 media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 09:20 AM   #8
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by fris View Post
you could just sort them by social votes, not really a plugin is needed, more of a custom query order by votes
How do you get the social metrics without a plugin? Facebook Likes, Twitter Mentions, etc...
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 09:30 AM   #9
v4 media
Confirmed User
 
v4 media's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
Quote:
Originally Posted by Brujah View Post
How do you get the social metrics without a plugin? Facebook Likes, Twitter Mentions, etc...
Pulling the info off something like this http://secure.sharethis.com/publishers/new-share-widget ?

So a custom query off an existing plugin?

Last edited by v4 media; 04-14-2011 at 09:31 AM..
v4 media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 09:34 AM   #10
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by v4 media View Post
Pulling the info off something like this http://secure.sharethis.com/publishers/new-share-widget ?

So a custom query off an existing plugin?
Yes, if you already have the info from another plugin then you can query it.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 12:06 PM   #11
v4 media
Confirmed User
 
v4 media's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Spain
Posts: 2,934
Quote:
Originally Posted by Brujah View Post
Yes, if you already have the info from another plugin then you can query it.
Yep I've 1/2 solved it. The easy 1/2 though, the hard 1/2 is still to come
v4 media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 12:09 PM   #12
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by Brujah View Post
How do you get the social metrics without a plugin? Facebook Likes, Twitter Mentions, etc...
i would do it via their api, maybe i will do something like this in the next couple weeks. good experiment.

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
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 12:30 PM   #13
v4 media
Confirmed User
 
v4 media's Avatar
 
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.
v4 media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-14-2011, 02:51 PM   #14
Brujah
Beer Money Baron
 
Brujah's Avatar
 
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.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2011, 10:51 PM   #15
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by Brujah View Post
How do you get the social metrics without a plugin? Facebook Likes, Twitter Mentions, etc...
here is something to get you started.

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
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-17-2011, 08:53 AM   #16
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by fris View Post
here is something to get you started.
I see what you mean. Functions to throw into your functions.php file. I still consider that plugin-ish
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.