-
Notifications
You must be signed in to change notification settings - Fork 1
Social stats module for Drupal -- https://drupal.org/sandbox/ajgit/2080003
qed42/social_stats
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
------------------------ SOCIAL STATS MODULE README ------------------------ This is a statistics module. It provides data from various social media sites. The data which is saved per node includes data from: 1. Facebook : likes count, shares count, comments count & total count. 2. Twitter : tweets count. 3. LinkedIn : share count. 4. Google Plus : plus one count ------------------------ MODULE STRUCTURE ------------------------ 1. social_stats : This module is responsible to collect data from the social sites and store it in the database. 2. social_stats_views : Views integration of social_stats module. 3. social_stats_panels : Panels integration of social_stats module. ------------------------ REQUIREMENTS ------------------------ 1. Social Stats : This module requires a supported version of Drupal and cron to be running. 2. Social Stats Views : requires social stats and views (http://drupal.org/project/views) 3. Social Stats Panels : requires social stats and ctools (http://drupal.org/project/ctools) ------------------------ INSTALLATION ------------------------ 1. Clone the git repo into directory where you keep contributed modules (e.g. sites/all/modules/). 2. Enable the Social Stats module on the Modules list page. The database tables will be created automagically for you at this point. 3. Modify permissions on the People >> Permissions page. 4. Go to admin/config/social-stats/settings, and select the social sites per content type. 5. Run cron. This will fetch the statistics per node and store it in database. 6. Enable the Social Stats Views module and/or Social Stats Panels (can do it at step 2 itself). ------------------------ USAGE ------------------------ The administrative interface is at: Administer >> Configuration >> Social Stats >> Social Stats settings. Social Stats Views module will enable you to have the following additional features to views. 1. Field : Add social statictics of node as field. Under "Add field", click on the category "Social Stats", and select the data. 2. Filter : Filter the content on the stats. For example, you can have a filter like "only show nodes which have Facebook likes > 200". 3. Sort : Sort the content on the basis of the stats, ascending or descending. Social Stats Panels module will enable you to have the following additional content types to panels panels. 1. Facebook likes : Number of Facebook likes of the node. 2. Facebook shares : Number of times the node has been shared on Facebook. 3. Facebook comments : Number of Facebook comments on the node. 4. Facebook total : likes + shares + comments 5. Twitter : Number of times the node has been tweeted. 6. LinkedIn : Number of times the node has been shared. 7. Google Plus : Number of times the node has been plus oned. 8. Total virality : Facebook total + Twitter + LinkedIn + Google Plus. This content types will be visible under "Social Stats" category under "Add content" area on the node view by default. If you wish to add this content types in mini panels you have to set the required context of node.
About
Social stats module for Drupal -- https://drupal.org/sandbox/ajgit/2080003
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published