Changeset 8402
- Timestamp:
- 03/17/2007 11:19:47 AM (19 years ago)
- Location:
- gregarious/trunk
- Files:
-
- 2 edited
-
Readme.txt (modified) (4 diffs)
-
modules/feed-flare.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gregarious/trunk/Readme.txt
r8400 r8402 11 11 == Description == 12 12 13 *Gregarious* is a **social bookmarking** plugin that integrates the new Digg API and Alex King's Share This plugin, as well as the Reddit button and Feedburner's Feedflare into one powerful, easy to use package. The AJAXinterface makes customization a breeze, and the options put you in control. Gregarious works on a module based system, which means that it can have as many or as little features as you like. Modules available include:14 * Digg button15 * Digg stats (w/ LiveSearch)16 * Share This17 * Reddit button18 * Feedburner FeedFlare19 * Update checking20 * PostBadge21 * AJAX updating13 *Gregarious* is a **social bookmarking** plugin that integrates the new interface makes customization a breeze, and the options put you in control. Gregarious works on a module based system, which means that it can have as many or as little features as you like. Modules available include: 14 * Digg button 15 * Digg stats (w/ LiveSearch) 16 * Share This 17 * Reddit button 18 * Feedburner FeedFlare 19 * Update checking 20 * PostBadge 21 * AJAX updating 22 22 23 23 Everything can be configured from the options page. There are absolutely **zero template edits** required. … … 42 42 In most cases, installing Gregarious should be painless. However occasionally problems do occur. If you do get an error, perform the following: 43 43 44 * Make sure all the files have been uploaded correctly45 * Ensure that the uploaded folder is named `gregarious`46 * Check that you have activated some of the modules in the options page and reset the Gregarious' options44 * Make sure all the files have been uploaded correctly 45 * Ensure that the uploaded folder is named `gregarious` 46 * Check that you have activated some of the modules in the options page and reset the Gregarious' options 47 47 48 48 If gone through the preceding points to no avail, contact the developer for assistance by posting a comment at (http://dev.lipidity.com/feature/wp-plugin-gregarious "the official website"). … … 53 53 54 54 If you notice the following, make sure you have correctly uploaded all the files. 55 * Your browser shows javascript errors56 * Clicking on the options or tabs does nothing57 * Nothing works when clicked on55 * Your browser shows javascript errors 56 * Clicking on the options or tabs does nothing 57 * Nothing works when clicked on 58 58 59 59 If nothing helps, contact the developer for assistance by posting a comment at (http://dev.lipidity.com/feature/wp-plugin-gregarious "the official website"). … … 80 80 81 81 **Digg button** 82 * `digg_button()` - displays a dynamic Digg-style button with the number of Diggs.83 * `get_digg_button()`82 * `digg_button()` - displays a dynamic Digg-style button with the number of Diggs. 83 * `get_digg_button()` 84 84 **Digg stats** 85 * `dugg_posts()` - displays a HTML list of the most recent Dugg posts86 * `get_dugg_posts()`87 * `dugg_posts_count()` - displays the number of posts in total that have been Dugg85 * `dugg_posts()` - displays a HTML list of the most recent Dugg posts 86 * `get_dugg_posts()` 87 * `dugg_posts_count()` - displays the number of posts in total that have been Dugg 88 88 **Reddit button** 89 * `reddit_button()` - displays a dynamic Reddit button90 * `get_reddit_button()`89 * `reddit_button()` - displays a dynamic Reddit button 90 * `get_reddit_button()` 91 91 **Share This** 92 * `share_this()` - displays a Share This link to submit post to social sites93 * `get_share_this()`92 * `share_this()` - displays a Share This link to submit post to social sites 93 * `get_share_this()` 94 94 **Feedburner FeedFlare** 95 * `feed_flare()` displays the FeedFlare as defined in the Feedburner settings96 * `get_feed_flare()`95 * `feed_flare()` displays the FeedFlare as defined in the Feedburner settings 96 * `get_feed_flare()` 97 97 **PostBadge** 98 * `post_badge()` - displays content as defined in the PostBadge section of the Gregarious options page (appended to the post by default)99 * `get_post_badge()`98 * `post_badge()` - displays content as defined in the PostBadge section of the Gregarious options page (appended to the post by default) 99 * `get_post_badge()` 100 100 101 101 All the template tags are extremely customisable and take a whole range of parameters, but for brevity, they are omitted from this guide. A full documentation can be found at (http://dev.lipidity.com/docs/ "the official site"). -
gregarious/trunk/modules/feed-flare.php
r8391 r8402 2 2 3 3 class module_feedflare { 4 /*function init(){4 function init(){ 5 5 global $gregarious; 6 $gregarious->add_settings ( array ( 'feed_flare' => 1 ) ); 7 }*/ 6 $gregarious->add_settings ( array ( 'feedburner_url' => '' ) ); 7 $gregarious->add_page ( 'FeedFlare', 'Flare.png', 'page_feedflare();' ); 8 } 8 9 9 10 function postbadge_tags(){ … … 14 15 } 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 16 52 function get_feed_flare($settings = ''){ 17 53 global $wp_query; … … 21 57 $sets = extract_settings($settings, $sets); 22 58 23 $feedburner_settings = get_option('feedburner_settings'); 24 59 /* $feedburner_settings = get_option('feedburner_settings'); 25 60 if( !is_array($feedburner_settings) || !($path = $feedburner_settings['feedburner_url']) ) 61 62 26 63 return ''; 27 64
Note: See TracChangeset
for help on using the changeset viewer.