WP Plugin: Gregarious


Social bookmarking allows users to submit, comment on, and “promote” websites. The Gregarious plugin supersedes the Digg This Reloaded Plugin and allows for seamless integration between your Wordpress Blog and social bookmarking sites such as Digg.com, Del.icio.us, Reddit and more. Requiring no editing of templates, and a simple point and click interface, Gregarious is the ultimate social bookmarking plugin for Wordpress.

Due to time constraints, I cannot guarantee support for this plugin.
Not compatible with WP 2.5.

Dynamic Buttons

I’m Diggin’ it

Digg iframe button

Gregarious uses the brand new Digg APIs to generate a dynamic ‘Digg It’ button on your post that shows the number of Diggs and allows the user to Digg post. No manual work is needed - the plugin knows when a post has been ‘dugg’ and sticks the button onto your post with no effort, leaving you free to write quality content. That’s right. Just activate it, and watch your traffic shoot through the roof.

Have you reddit?

Another great social bookmarking site that features dynamic buttons is Reddit. Again, integration is no hassle. Just turn on the Reddit button from the Gregarious options page, and you’re laughing. No manual labor, no long and complicated PHP scripts, and no coding. One click and you’re away!

More Features

Wow, could Gregarious possibly have more features? You betcha! As well as merely adding Digg and Reddit buttons, Gregarious has the following nifty additions:

General Features

  • Complete admin interface with options regarding all configurable aspects of plugin including styles, display options (show on post, page, home, etc.) Digg link style (button, image or text link), and more.
  • Check for updates automatically so you’re never out of date.
  • No template customizations or coding knowledge necessary as the plugin handles everything for you, and then some.
  • Choose the position of the buttons. Do you want them before or after your post content?

Digg related features

  • Uses the brand new Digg API to generate dynamic buttons.
  • Gregarious automatically knows if your post has been “Dugg” using DiggDetect™.
  • You decide what to show for posts which have been Dugg or those which are yet to be Dugg. You can customize the links, show a dynamic or compact badge, an image - or choose not show anything.Digg Icon
  • Configurable “What’s this?” link, so your users know exactly what they’re up against.
  • Ease up on the bandwidth by using a text link instead of an image or Digg button if you need to.

Reddit integration

  • Choose between three styles of buttons, from the eye-candy laden to the minimalistic.
  • Customize the position of the button easily from the options page.
  • Easy to use with no work required.

Other social bookmarking sites

  • Submit your post to heaps of bookmarking sites with Alex Kings’s Share This plugin built right into Gregarious (it comes integrated - no further installation needed).
  • Take advantage of further customization with options for Share This in the Gregarious admin panel.
  • Add, remove, edit or rearrange social sites for the Share This plugin - an indispensable feature.

Download

Version 1.9.xx

Gregarious can be downloaded from the WordPress.org Gregarious page. (The link below points to the download from that page)

Direct Download

Installation and Usage

How do you install Gregarious, the ultimate social bookmarking plugin for Wordpress? It couldn’t be easier. After downloading the package, Unzip. Upload. Activate.

The options menu should show up in your administration under Options -> Gregarious. Here’s a screenshot:

Gregarious options screenshot

If you wish to add social sites for Share This, you’ll need to CHMOD the akst.js and akst.css files to 777. Don’t worry if you don’t know what this means or can’t do this - Gregarious has alternative methods to cope.

Configuration

The plugin will work fine immediately after activation, but you may want to change some options to customize it. Gregarious can be configured from the Options tab of the administration panel in Wordpress. Just click on the Gregarious Options link. As mentioned earlier, there are a plethora of options and choices available, so feel free to tweak it to your needs.

Frequently Asked Questions

I installed and activated Gregarious, but the Digg button / Share link isn’t showing on my posts.

Gregarious uses different modules to provide all the features for your site. The PostBadge module is the one that appends content to your posts. If there isn’t anything showing on your posts, make sure that the PostBadge module is turned on, as well as the modules for whatever features you want. (For example, the Share This module shows the Share link, and the Digg button module shows the Digg button or link). Activating a module will also add options to the Gregarious options page so you can configure it.

The Share This link takes me to a separate page. How do I get the popup dialog to show?

To show the Share This popup on your site rather than linking to a Share This page, you need to ensure:

  1. That there is a <?php wp_footer(); ?> call somewhere in the footer.php file of your template.
  2. That there are no javascript errors on your site (due to your template or theme).
  3. That there is a <?php wp_head(); ?> call somewhere in the header.php file of your template.
  4. And that you’re either running WordPress 2.1 or above or have prototype.js referenced in the <head> section of the page.Gregarious no longer requires prototype.js

Generally, it’s the lack or misplacement of the <?php wp_footer(); ?> call that causes the popup not to show. If you still can’t get it working, ask me.

Template Integration

Currently, Gregarious’ feature-set includes various template tags that have been set up to be easy to use and integrate into any theme. Whether you’re a WordPress theme developer, or interested in more precise integration of social bookmarking to your blog, ask me about it.

Copyright © 2006-07 Ankur Kothari. All rights reserved.


Back to Top ↑

1258 Comments so far

Leave a comment
  1. 1

    The plugin looks really cool, so I tried installing it. After I activated it on the admin page, my site stopped working, and began returning a incomplete page. I looked at the apache2 logs and this is what I found:

    [Mon Dec 04 23:14:01 2006] [error] [client 74.136.192.200] PHP Parse error: syntax error, unexpected $end in /var/www/theronge.com/docs/wp-content/plugins/gregarious/gregarious.php on line 531
    [Mon Dec 04 23:14:03 2006] [error] [client 66.249.72.44] PHP Parse error: syntax error, unexpected $end in /var/www/theronge.com/docs/wp-content/plugins/gregarious/gregarious.php on line 531

    Any thoughts? I’m guessing my setup is b0rked, any suggestions on where to start?

    Thanks,

    Matt

  2. 2

    What’s weird is that there is no variable $end in the script. Could there be any other plugins interfering with Gregarious, especially other social bookmarking plugins?

  3. 3

    Hey man I’m having trouble with your plugin I was hoping you could help me.

    See I run Fatadam.com and was wondering how do I position the before digg this item and the digg number button after where I want.

    Ya see on my site I want the Digg This story near the other digg this story which I plan to remove later because I’ve been using notable (another plugin)

    Thanks for your help if any.
    -Adam

  4. 4

    Adam, to position the plugin manually in your template, go the options page for Gregarious. Under Auto-append, uncheck “Enable automatic append of links to posts.” Then you can position the plugin somewhere in your template using the following php code:

    <?php show_digg_button(); ?>
    and the button will show up. Most settings from the options page will still be applied.

    To change the image of the Digg button you can go to the “Undugg posts” section of the Digg.com settings and change the URL for “Button to use (if Digg option is button)”.

    Hope that helps.

    (btw, you need to upgrade to version 1.5.1 for this. Download by clicking check for updates through your options page or from the above download link).

  5. 5

    Do you anticipate adding the fine tuning (auto-append) for the “Share this” component of the plugin. It would be good if I could easily keep both off of pages with a click of a box.

    Darrell

  6. 6

    Hi Darrell,

    If you want to stop the links showing on your pages, simply find this section in the options page:
    Screenshot
    You can uncheck “Individual Wordpress pages” and you’re set.

  7. 7

    Ankur,

    I have that checkbox unchecked already. When it’s enabled I see both Digg button and the “Share This Story” link…when I uncheck it, the Digg button goes away but the sharing link still appears.

  8. 8

    Ankur,

    I see you have, starting on line 52, a commented out section that appears to handle some of the controls for the sharing link…would it make sense to just include that within the digg_button_hook so that wherever digg button goes…either before or after the content, so goes the share link? You wouldn’t need to re-use the same code twice.

    Darrell

  9. 9

    I’m slowly adding Share This into the Gregarious plugin, so they act as one. When that happens, there will only be one content hook. There is the problem of updates to Share This though, and how they’ll be integrated into the plugin at a later date.

  10. 10

    I get exactly the same error as the first comment. It cant be any other plugins causing the problem because I dont have any others installed.
    As soon as I activate the plugin everything stops.

    Did he get it working ?

  11. 11

    I get the same error with all previous versions of Digg-this reloaded as well
    I am using Php5.2.0 and the WP 2.0.5

  12. 12

    Jon, it can’t be the plugin, as it’s being used all over the net, and on my own server. Which theme are you using? I’m very curious about this error, since there is no $end on line 531, let alone anywhere in the script.

  13. 13

    Great plug in. But why is the digg butoon in three pieces with not text? Ex: cspencerbeggs.com/clips/

    Screencap here: cspencerbeggs.com/diggbroken.jpg

  14. 14

    When I use Gregarious, only the digg button shows up with no What’s this link, or a reddit link.

    Also, if my story has been dugg, a red ERROR: Not Found message shows up in place of the badge.

    It seems like Gregarious is a promising plugin!

  15. 15

    Great plugin! Just one small problem. For some reason I’m not getting the dynamic button showing the total number of diggs for my stories. The reddit button’s working fine, but I always see the default ‘digg this’ button.

  16. 16

    I am using the tiga theme, and the Share This box isn’t showing up, though the other ones are. Any thoughts?

    http://www.derekperkins.com

  17. 17

    default theme, no plugins. as soon as its activated, everything stops working.

  18. 18

    Jon, Digg has been updated recently. The new digg doesn’t work with Gregarious (I had the same problem). For that matter, I don’t think any digg plugin still worked after the update.

  19. 19

    Seoxys this was prior to the recent digg website update, but thanks anyway.

  20. 20

    2 things….

    I see the above post about nothing working on Digg was dated yesterday…does that mean theres no use in even playing with this Plugin until dude comes back from India and can maybe tweak his code? Or does it still work?

    Also, I tried installing this a few days ago and it works great, but the options section will not save…it just takes me back to the general options page and the values are all at default…
    any idears???

    James

  21. 21

    How does this function with previously Dugg posts?

  22. 22

    Dude awesome plugin (too bad it doesn’t work though)!
    Any chance on encorporating the new digg/podcast features?
    Keep the good stuff coming!

  23. 23

    I’m having the same problem mentioned by Kirk (a couple of comments up). I only ever see the Digg This button, the total number of digs doesn’t show up. I am not using the auto-append, because I have included the tag as part of my theme, could this be the problem. Has anyone found a solution?

  24. 24

    I keep getting an error when I try to activate the plugin:
    Parse error: syntax error, unexpected $end in /home/xavisys/www/blog/wp-content/plugins/gregarious/gregarious.php on line 618

    You can view my phpinfo if it helps: http://xavisys.com/temp/phpinfo.php

  25. 25

    I switched back to diggclick. If you get it worked out, I’m interested!

  26. 26

    I found the error that was causing the $end problem that has been reported on here a few times. The script uses short open tags (a practice that is discouraged by pretty much everyone, including Wordpress). Replace

  27. 27

    Hi an dthanks for the plugin. Few teething problems I am having with it though, first when I save any changes in the admin panel I get:

    Fatal error: Call to undefined function curl_init() in g:..mysite\wp-content\plugins\gregarious\gregarious.php on line 29

    Also I cannot fathom how to get delicious etc as a link, cannot get anything to show when I click share this? What should I put in the share this link txt box? Cheers

  28. 28

    oh, a followup - one thing of note is that the first story was dugg after i had installed gregarious. the other story was dugg before i’d installed it. not sure if that has any bearing on it.

  29. 29

    heh. i figured it out. the only way the icon gets toggled is if you go to digg, then follow the digg link back to the article. since it had been something like a week since the article had been submitted to digg - and it wasn’t terribly popular - nobody had followed the link on digg.com back to it. once i did so, the link changed. now it makes sense. so…..never mind! ;^)

  30. 30

    I’m having the same problem: i never see the number of diggs, i alwaus see the ‘digg this button’! Could anyone help me?

  31. 31

    Hi,

    Getting Fatal error: Call to undefined function: curl_init() in htdocs/wp-content/plugins/gregarious/gregarious.php on line 29
    after saving the options in Admin. Also, the plugins text or image link disappears after the page has been submitted to Digg.

    Please advise. Thank you!
    Chris

  32. 32

    Nice work, easy enough to set up. The Share this link doesn´t appear (theme Blix 0.9.1) and the Reddit buttons don´t aling well. Turned off the div wrap styling, that´s a task for another day.

    I do understand this correctly, Share this is integrated, I don´t need to install it separetely, right?

    http://www.sealandblog.com

  33. 33

    I’m having the same problem as Derek above: The Digg button shows up, but not the Share This button. I’m using the Sea theme. This theme has no single.php file, only index.php; could that be causing problems?

  34. 34

    Ok, I’m back.

    Just to make it clear, I’m using Gregarious on this site with just the Digg button turned on and it’s working 100%. If my Digg button works, there’s a serious problem with the plugin. If you’re not getting it to work, tell me what’s happening, and if you’ve done that, please wait till I sort through all the comments that have been posted while I was gone.

    For all the people who are getting the submit to Digg link perpetually displayed (ie. The button with the number of Diggs is not showing up), there are two things that could be wrong. Number 1 is that no one has clicked the link from the Digg page for your site. For example, this page is Dugg http://digg.com/tech_news/WP_Plugin_Gregarious_the_ultimate_SMO_plugin so unless someone goes to that page and clicks the big link at the top, Gregarious can’t pick it up. (It just has to happen once, mind you. After a visitor from Digg is detected, the link is stored and further referrals are ignored).

    If you’re certain that the plugin is not picking up the referral, post up the link to your site and to the Digg page and I’ll try to see what’s going on. Most likely reason is something like Digg Defender or Digg This Reloaded being active which interfere with Gregarious.

    Also, please note that Gregarious needs to be under wp-content/plugins/ with the ‘gregarious’ folder name remaining unchanged.

    Sorry for all the confusion, I’ll be clearing everything up shortly.

  35. 35

    Spencer, your site’s Digg buttons seem to be fine now: http://cspencerbeggs.com/clips/
    It may have been the changes at Digg that messed up the graphics for a short while, but everything looks fine now.

    Matthew Willis, only the Digg button will show up unless you tick the options to display the other links in the admin options page. The red “ERROR: Not Found” message to my knowledge was only during the period when Digg was upgrading. As I said before, if the Digg button on this page is showing, it should show on yours too.

    Kirk, the default Digg button will keep showing until there is a click from the Digg page to your post. When this happens, the plugin will detect the referrer as Digg and show the badge from then on.

  36. 36

    John, you asked

    How does this function with previously Dugg posts?

    Well, once someone clicks on the link from Digg to your post, the referrer is detected and the badge is shown from then on (the referrer detection is only needed once before the badge is shown at all times.)

  37. 37

    hey, great plugin. this is a future improvement suggestion: when you uncheck “When post hasn’t been dugg, show submit to Digg option” the digg button only appears once the story has been linked (this is good!) BUT the reddit button appears either way. can you add the ability to hide the reddit button unless the story is submitted? this is the one thing preventing us from displaying this plugin on the front page (we only have it turned on for individual posts right now). thanks!

  38. 38

    Andy, as far as I’m aware, Reddit does not provide the API required to do this. This may be possible in the future once the developers at Reddit expand their service.

    Currently all that’s available is http://reddit.com/buttons

  39. 39

    what if you add an option to hide the reddit icon if the score is 0 points for the item? that would cover hiding unsubmitted and old reddits in one fell swoop! :) we don’t want to clutter up the front page with even more icons, but at the same time having the digg/reddit buttons appear when the post is active on one or both of those services would be great.

  40. 40

    I switched back to diggclick. If you get it worked out, I’m interested!

  41. 41

    Got the ERRO not found thing..

    http://www.newschoolphoto.com/blogme/2007/01/17/fun-with-remotes/

    it exists on digg: http://digg.com/videos/comedy/Fun_With_Remotes/

    But people can’t digg it from my site! Any help is appreciated, since it’s actually gaining some momentum on digg…

    k

  42. 42

    Does this work okay with WP-Cache installed?

    And, do we know if it works with WP2.1 please?

    Cheers,

  43. 43

    Kevin Swan, I think the Digg button breaks when the article is in more than one category. It’s an error in Digg’s API itself so there’s nothing we can do unfortunately.

    Rob, this works with WP 2.1 but I think it wont work with any caching plugin. (Referral detection is not static code. It needs to run on the backend which caching stops). If you want me to write another plugin which does work with caching, I can, but it will require manually filling in the Digg link for each post.

  44. 44

    Ankur,

    It’d be nice if we could disable it for a single post so I at least don’t have the error message on that one.. :(

  45. 45

    Kevin,
    A feature to enable / disable the Digg badge on your posts is coming in version 2. Until then, setting display:none for the diggWrap class just for that post should do it.

  46. 46

    I really like this plugin, and have modified it a bit for my own use. My blog is not yet running, I am just getting everything working smoothly. The reddit button was working fine at first, but now it doesn’t. I think it might be because of another plugin I am using, but don’t know what it is. Could somebody help me out.
    I am currnently using the following plugins:
    Anarchy Media Player
    Feedburner Feed Replacement
    Google Analytics
    Gregarious
    No self pings
    Sidebar Widgets
    Wordpress Reports
    Youtube Brackets

    Do any of these conflict with Gregarious.

    My Blog

  47. 47

    I figured it out. The reddit button isn’t working with Anarchy Media Player. However, I really need both of these for my blog. Is there anyway to fix this?

  48. 48

    My problem seem to be that the host is not allowing the filenames with dots and underscores, e.g. .DS_Store. If anyone know a workaround… don´t hesitate to let me know! :)

  49. 49

    Tom, the ._ files are hidden files that Mac OS X automatically adds. You can safely delete all the files that start with a period (dot) (Trashes, DS_Store, etc. can all be deleted.)

    I’ll make sure to remove them myself on future releases.

  50. 50

    All ok, thanks for a great plug in!

  51. 51

    Is there a way to add a dynamic stumbleupon button? For example, a script with a big blue thumbs up, and when clicks, gives the page a thumbs up in stumbleupon, and turns the thumbs up picture green? Basically, I’m asking is there any way to get a button that does the same thing as the stumbleupon toolbar thumbs up button.

  52. 52

    i know you are working on tons of stuff but i second josh’s last comment there- the more dynamic voting systems you can incorporate the better. i personally would like to remove my static submission icons from w.p. (we use social bookmarks: http://www.dountsis.com/wordpress/social-bookmarks-32.php)

  53. 53

    I’m looking into other systems to integrate into Gregarious. Stumbleupon seems a likely candidate, but I’m not sure if they have an official open API. I’ll check it out for sure.

  54. 54

    This is in regards to all of the above posts that seem to be having the errors after installing the plugin. My site had the same trouble, and the site wasn’t loading at all.

    To remedy the problem, FTP into your hosting site and delete the “Digg This” folder from the wp-content/plugins directory.

    Please note that I did NOT have the Digg This plugin activated & I’m not sure if this fix will work if you do have it activated.

    Matt Jabs
    http://www.eJabs.com
    matt@eJabs.com

  55. 55

    Okay, I thought I had this working, but apparently not. I just dugg one of my posts (it’s the first one - terminator 4) and I get an “Error not found” similar to Kevin Swan’s. This post was submitted in only one category: Comedy Videos. What is going wrong?

  56. 56

    Josh, unfortunately Digg have not updated their API to work with videos. This is completely out of our hands at the moment. The most you can do is turn off the Digg button for that post.

  57. 57

    I have figured out how to fix the Error message that appears when videos are dugg. However, I need some help integrating this with Gregarious. At the moment the code would look something like this:
    digg_url = ‘http://digg.com/videos/CATEGORY/POST_SLUG’;
    For the button to work, all that needs to be changed is this:
    digg_url = ‘http://digg.com/videos_CATEGORY/POST_SLUG’;
    That’s right. This simple change between a slash and an underscore will fix the problem. Now, how do integrate this with gregarious?

  58. 58

    Gregarious has added things to my feeds that don’t invalidate the feed but do produce warnings and certain feed-readers will not read the feeds because of the warnings. Currently my main feed will work okay only because I run it through feed-burner but if you do any other feed (i.e. unfoldingneurons.com/category/articles/feed you’ll see the changes.)
    I’m assuming this is a bug and am hoping it can be fixed :)

  59. 59

    Josh, I’ll be integrating videos as well as some of the new Digg button features that have just been released ( see http://digg.com/tools/integrate ) into Gregarious in a little while.

  60. 60

    Ankur,

    Toward the beginning of these comments, you mention a way to move the DIGG button. It says to go under the Auto Append option.

    I don’t see an Auto Append option in the latest version and no “Enable automatic append of links to posts” option. Have the settings changed for the new version of Gregarious?

  61. 61

    I just updated to the latest version of Gregarious, and for some reason, the Reddit button is missing and I can’t choose where to put the digg button. How can I get these two features back. (I am willing to manually edit the code if that is the way to do it.)

  62. 62

    Sorry for the double comment, but I just fixed one of my problems. I put the digg button at the top. Now, how to get that reddit button in there…

  63. 63

    Josh and Dave C.,
    Both answers are in the PostBadge code (Under the PostBadge tab). The Digg button can be moved relative to the content by shifting the ‘<%DIGG%>’ tag before or after the ‘<%CONTENT%>’ tag.
    The Reddit button is sort of an Easter egg / hidden feature for now, as I’m still thinking of the best place to put it in the options page. You can use the ‘<%REDDIT_X%>’ tag, replacing the ‘X’ in REDDIT_X with a number between 1 to 3 (to choose the style of the button). For example, ‘<%REDDIT_3%>’ shows a Reddit button with a graphic and up and down vote icons.

  64. 64

    For some reason, we are not getting the PostBadge but are getting the error not found message.
    We have tried going to Digg and back again from that link, and still no badge. See the following 2 links for what I am talking about:
    http://www.byron-harvey.com/2007/02/05/super-bowlthats-a-wrap/

    http://digg.com/football/Super_Bowl_That_s_A_Wrap

    Also, in one of your earlier replies, you advised someone to go to that section of the options. Our question would be - where do you find that section of the options? For the most part we can’t find any part of the options where we can actually set anything; everything seems to be static with nothing to click and/or set.

  65. 65

    Paul, the options page definitely shows up in Firefox, and it should work in all the major browsers - except Opera.
    For people like yourself who (I’m assuming) aren’t using Firefox, and may have trouble viewing the options page, I’m writing an alternative version without all the flashy effects. (Use FF if you want to configure the plugin for now.)

    For the error, the Digg button is trying to load the URL http%3A//www.digg.com/search%3Fsection%3Dnews%26s%3DSuperbowl+Commercial

    To rectify this (until I release the next update in which the /search links will be detected and rejected by default), simply edit the the post, then remove the “DiggUrl” custom field. Change it to http://digg.com/football/Super_Bowl_That_s_A_Wrap

    I’m just adding the finishing touches to the latest update of Gregarious on my local server. I assure you that it will see an end to all error pages. Videos now work, and the regular expressions pick up referrals from /search or /upcoming and prevent it from being added as the Digg URL. And of course, it’s using the new Digg official API.

    So, to fix your problem, 1) delete the custom field of DiggUrl / fix it to the right link. and 2) wait for the next update to Gregarious which will bring an end to all these errors.

    I’ll be posting up the update in a few days (if not tomorrow)

  66. 66

    Thanks Ankur, much appreciated.

    As far as FF though, I definitely use it (FF 2.0.0.1) I have several other browsers installed that I use for testing, but FF is definitely my browser of choice. Which leaves me still baffled on the Options…

  67. 67

    Do you get any javascript errors?

  68. 68

    Everything displays, it just doesn’t do anything. The only fields I can find that will do anything are the PostBadge Code and the unDugg Posts selector and the Dugg Posts selector.

    Using the error console in Web Developer, I got the errors you can see in this screen shot - http://steelerdirtfreak.com/images/gregarious-screen.jpg

    JS really confuses me so unless I know specifically what I need to do, I tend to shy away from messing with the code.

  69. 69

    that’s from another site I manage, but they are all getting the same behavior on the options page

  70. 70

    I’ve got two questions:

    1. How can I get the reddit button to line up with the digg button?

    2. Is there a way to have the digg button animate the way it used to, or will it always now redirect to the digg page?

  71. 71

    In the blog I am working on, they often post embedded movies from youtube. The problem is that the share-this box will not properly show up over any Flash (embedded movies) on the posts below. Is there a way to fix this? Is there a way to use DHTML to move the content below down so it does not overlap? Thanks for your time. This is a great plugin.

    Bart

  72. 72

    Ankur, thanks for the response to my question about positioning the button. It sort of worked. The button is now before the content, but it stands alone between the post title and the content. Is there any way to wrap the content around the button?

  73. 73

    Works great on my site, but I hate the little dig man favicon/icon. . the plain old digg it badge is better. .

  74. 74

    Oh, as the Digg site opens a new tab when the user clicks on an article, so should your digg it button open a new tab and not take the visitor off the site.

  75. 75

    Paul: try reuploading all the files (specifically the .js files). Someone else had a similar problem, and they found that they had not uploaded the files correctly. (Also make sure the text is uploaded in ASCII and the images in binary, though your FTP client should really do that for you)

    Josh:

    1. How can I get the reddit button to line up with the digg button?

    To line up the buttons, you need to use some CSS. In the PostBadge Code, wrap both the tags in a div tag and use div style="display: inline"
    Making them display inline should make them line up next to each other.

    In your PostBadge Code, wrap the buttons in a div tag with style='float: left; margin: 4px'. You can change ‘left’ to ‘right’ depending on where you want the button, and the margin is just the amount of space you want around the button. Anything from 2 to 8 pixels will probably look ok.

    2. Is there a way to have the digg button animate the way it used to, or will it always now redirect to the digg page?

    In regard to the Digg button just animating and not leaving the site, I think Digg stopped that because of potential abuse (ie. you but a Digg button on your site for some other Dugg page).

    Bart:

    Is there a way to use DHTML to move the content below down so it does not overlap?

    If you uncheck the option which appends prototype.js under the “Share This” tab, and make sure you’re not getting prototype.js added by any other plugin, then the ‘Share This’ link will take the user to a separate page where they can submit your site to social bookmarking sites. However, if you still want the popup, try changing document.getElementById('post').style.margin-top+=200; where ‘post’ is the id of the div that wraps your post.

    Dave C:

    Is there any way to wrap the content around the button?

    You bet! Head over to the PostBadge Code. As I said to Josh, you need to wrap the Digg button in a div tag with the attribute style="display:inline" style="float: left; margin: 4px". By default the Digg tag is wrapped in a div with the class of “diggWrap”. You can simply add the style to it.

    Todd:

    I hate the little dig man favicon/icon

    I completely agree! For now, the answer is as simple as heading into “Digg Options” and changing the value for what to show for unDugg posts. You can change the URL of the image, add HTML, or change it to show nothing until the post has been Dugg. In the next update, as I’ve mentioned earlier, you’ll be able to show the Badge to get the user to submit the post!

    should your digg it button open a new tab and not take the visitor off the site.

    For opening the link in a new tab, the Digg button is under the control of Digg.com so it would be a good idea to ask them to run a check to see if the logged in user has set up his preferences to open links in new windows, then write the link in the Digg button accordingly.

    I think that just about does it. If anybody has any more questions, feel free to write.

    Phew!

  76. 76

    Whatever I’m doing, it’s not working. Here is the code I am using (the parentheses represent carrots.)

    (div style=”display: inline”) (%DIGG%) (%REDDIT_3%) (/div) (%CONTENT%) (%SHARE_THIS%)

  77. 77

    Sorry Josh, my mistake. style='float:left' is what I should have written. You could also float it to the right if you like, and giving it a margin: 4px or more would be a good idea too.

  78. 78

    Slight (intermediate) update posted. If you’d like to get a handle of the new Digg API, you can try this out. The only major differences are the selection of a background color on your dynamic Digg button, the “compact” Digg button and being able to use the Digg button as the submit link. If the current features are working for you, feel free to wait until a few more nice settings are added otherwise download it here.

    (The Digg Options page is now a fork that lets you go to two different places. You can change the settings or choose the badge style.)

  79. 79

    hello,

    I just tested your 2.0 beta1.1 version here: http://sibiu.zice.ro and it seems there is a problem with the email post to friend function, I tried sending to different email addresses but the mails never arrive.

    Could you explain how those mails are being sent, and what I can verify to check whats wrong?

    Otherwise a very neat plugin, thank you very much.

  80. 80

    Ovizii, nice theme!
    The plugin uses the wp_mail() function to send emails (which I think then uses the PHP mail() function depending on your WordPress config). If your WordPress emails are getting to you, then these should be as well. I’ve certainly used the email feature several times to test and it’s always worked.

    Come to think of it, the wp_mail function may not be compatible with WordPress Mu. I’ll look this up, and see if there’s a work-around.

  81. 81

    oops,

    I completely forgot to mention, that I am on wpmu…
    I will dig around a bit maybe I can find out if there’s a difference between wp and wpmu regarding the mail fucntion…

    Please keep me updated if you find out something.

    Thx for checking this out…

  82. 82

    not certain, but i think i’m hitting a bug: when selecting what digg badges to use, the only way i can get the compact badge to show up is if i select it for both dugg and undugg posts. if i select compact badge for undugg posts and the standard badge for dugg posts, the standard sized digg badge is displayed for both.

  83. 83

    We just activated the plug-in on our blog and found the pop-up doesn’t work, it redirects the user to another page. I get the following JS error:
    Error: $ is not defined
    Source File: http://www.iheartluxe.com/wp-content/plugins/gregarious/gregarious.php?akst_action=js
    Line: 2

    Any suggestions?

    Thanks

  84. 84

    Paul: That bug was very annoying for me as well, but I did get it fixed. The latest unstable release is here. Note that you need to CHMOD akst.js and akst.css to 777 for this release to be able to add / remove social sites for Share This.

    Anthony: For the popup dialog to work, you need to make sure prototype.js is being appended. View source and see if it’s there. If not, make sure “Append prototype.js” is on under Share This.

  85. 85

    I set up gregarious on my WP 2.1 site and the digg badge is showing up fine but always show 0 diggs even when I add one myself. The ‘url’ field in the query-string is always set to blank, but the title field is populated correctly, so the link looks like this: http://digg.com/submit?phase=2&url=&title=my_title

    Thanks,
    Xav

  86. 86

    outstanding! unstable beta installed, working like a charm. thanks so much, Ankur!

  87. 87

    Xav, it could be that no referrals from Digg have been detected. Check if the post is showing up under “Dugg Posts” in your options page. If it isn’t there, go to the individual Digg page for your post and click on the link so Gregarious can detect the referrer.

    Paul, I’m glad it’s happening! More nifty features are being cooked up in My Secret Lab™. Release seems to be imminent.

  88. 88

    Hi Ankur,

    Yes, I did click on the digg link, and it still wasn’t able to fill out the url field. The “url” javascript variable is just empty, when it should be filled with the permalink for the post. The digg link inside the ShareIt script is set up just fine with the right URL.

    I was able to temporarily fix it by setting the “DiggUrl” custom variable for the post to its permalink and it worked, but it’s a pain if I need to do this every time. I wonder why it’s not working. Also, when I had clicked on the digg link, Gregarious told me some posts had been dugg, but when I clicked on that link from the main page, it told me no posts had been dugg… odd.

  89. 89

    Hmm… the DiggUrl is not being added to the custom field of the post. Could you give me a link to your site?

  90. 90

    Hi Ankur,

    I’m having the same problem as Xavier. The “url” parameter in the URL is not getting filled out. Any ideas?

  91. 91

    Another update posted.

    • A very big surprise for people wanting to add / remove social sites from Share This (though that might have just given it away)
    • Increased compatibility with Safari (and other KHTML browsers)
    • mootools usage instead of a an antiquated version of moo.fx
    • Upgrade of the accordion style administration (Smoother transitions, faster, more efficient and less code)
    • Rewrite of my custom checkbox replacement script
    • Bug fixes regarding the digg button barfing on referrals
    • Lazy loading of the Digg button preview in the admin options for faster loading times
    • And probably other things too, but you’ll have to see for yourself

    Dean and Xavier, your problems should hopefully be fixed in this release.

    We’re getting closer to the Gregarious 2.0 official release!

  92. 92

    hello,

    I psoted a few posts ago about mail problems with wpmu. I just upgraded to your latest version and have other problems now :-) :

    try this link http://sibiu.zice.ro/2007/02/12/atrium/ and watch out for the following:

    • the share this by mail function works with wpmu
    • if you click on the share this icon, some of the icons i.e. the yahoo icon do not show up
    • it kind of messes my template up, below my posts it says: Posturi asemanatoare: which means similar posts, and if you have a closer look at the 3 listed similar post, inside that list it says: digg_url=”; digg_skin = ‘compact’; digg_bgcolor = ‘#FFFFFF’; digg_title = and I am positively sure that did not show up with the last version I used…

    any feedback would be greatly apreciated.

  93. 93

    Ovizii, the Yahoo icon is showing now.
    The digg_url=”; etc… is not really messing with the template, it’s the ‘related posts’ plugin which is pulling these up as part of the post content. It’s shown that way because related posts strips the HTML tags from the post excerpt. I’ll write a work-around for this.

  94. 94

    Sorry to bother you but after upgrading to the latest version, the Digg badge no longer shows up on posts like this. Otherwise I can’t wait to fully upgrade to the official release.

    Thanks for all the hard work, it’s gotten better and better.

  95. 95

    Sam, Gregarious may reset your settings if it finds that an older version is present. Make sure the settings for what to show on Dugg and unDugg posts aren’t set to “nothing”.

  96. 96

    Setting them to nothing and putting them back on seemed to do the trick. Thanks for the advice!

    I was dying to upgrade this. :)

  97. 97

    hello,

    one more question: do you have a clue why the digg badge is showing up in the sidebar, at the bottom below my “subscribe to newsletter” part? I tried different approaches via css like display:none; for that part but there is javascript involved and it does not seem to work…

    http://sibiu.zice.ro

  98. 98

    I upgraded to RC 1 today and had some problems. I’ve been reading here trying to see if others have had the same issues, and I haven’t seen it.

    I’m using the Redoable 1.1 theme. Before my upgrade, the Share This element showed up nicely in the post header with the author, tags, etc… Now it does not and I can’t seem to correct that. I was wondering if any function names changed that Redoable might be calling?

    Second, I’ve had a post dugg, but the plugin doens’t seem to detect it. I clicked on the link from Digg to try to get it to appear to the plugin, but my site never responds. I shut down Gregarious and then the Digg link took me right to my site with no waiting. I’m wondering if the detecting script is getting hung?

    I’ve done no hacking to my theme. It’s pretty much out of the box. Everything worked under the Beta version.

    Any help will be appreciated. Thanks for writing a great plugin.

    Thanks,
    Todd

  99. 99

    Ovizii, if the content displayed at the bottom of your sidebar is a WordPress “page” that you’ve created, the Digg badge will be appended to that. If this is the case let me know and I’ll tell you how to stop it from showing.

    Otherwise, it’s possible that the digg_button() function is being called somewhere in the template.

    Todd, the akst_share_link() function has been renamed to share_this(). If you don’t want to have to edit your template, just add the following code to gregarious.php (I’ll add it to future releases):

    if( !function_exists('akst_share_link') ){
    function akst_share_link(){
    share_this();
    }
    }

    The above code just redirects the old function to the new one.

    Regarding the timeouts when a referral from Digg is detected, I had been experiencing that problem on my local server, but I did get it fixed before the release of RC 1. This site also handles Diggs perfectly. I’ll take another look and see what’s going on.

  100. 100

    Hello Ankur,

    the newsletter stuff on the right is created like this:

    Newsletter:

    ‘); echo $content; ?>

    inside the template and the resulting code is this:

    Newsletter:

    You may manage your subscription options from your profile.

                digg_url='';
                digg_skin = 'compact';
                digg_bgcolor = '#FFFFFF';
                digg_title = 'Namaskar @ Chill Out';
                digg_bodytext = '';
                digg_topic = '';
    
                <a href='http://dev.lipidity.com/feature/wp-plugin-gregarious' title='More about the Social bookmarking plugin for Wordpress' rel="nofollow"><strong>Powered by Gregarious</strong></a>
    

    Share This

    I do not know why it shows the digg badge there, but anyway I forgot to mention a little information in my last post: the badge only shows up there when I am viewing a post or page, not on the homepage as I configured gregarius to not show them there, so the linki above does not show you an example, you will have to click on a post…
    actually the badge shows twice, under the post as it should and under the newsletter portion of the sidebar…

    P.S. Please do not forget about my other question regarding the similar posts showing up the html stuff…

  101. 101

    Ovizii: The latest version of Gregarious includes a setting at the bottom of the Dugg Posts lists to add ID’s of posts on which you do not wish to show the Digg badge. You can write the ID of the page that you’re including there, and it should be fine.
    Regarding the related posts plugin, I answered the question up here but basically, the excerpts pulled by related posts are picking up the appended content. I’ll write a fix when I get time - more features on my Todo list.

  102. 102

    ok, thx for putting my problem on your todo lsit, I appreciate that.

    regarding the other issues with the badge, the newsletter plugin is this: http://subscribe2.wordpress.com/ and its actually not a page… its a widget :-( can you look into this issue? whenever you have a little time to spare, its nothing urgent I don’t even mind the badge being there but it makes no sense…

  103. 103

    when I click on the Share This text, the box that should pop up appears at the very bottom of the page. It used to work fine, and I’m now very confused about this.

    Any help would be greatly appreciated

  104. 104

    Can you tell me why my Digg badges are counting wrong? I’m also not able to post new stories to the digg website without the hassel of ‘log-in, submit url, submit title, submit body…. PLEASE HELP!

  105. 105

    Is there anyway to specify the URL for each of the sites in the Share This Options? I’d like to have the bookmark simply point to the homepage every time rather than the URL for the specific post.

  106. 106

    The green share this icon is not showing up. I downloaded 2.0 RC1. I’ve looked through the code and can’t figure out why it is not showing up. Anybody else having this problem?

  107. 107

    Gregarious doesn’t seem to be interfacing with share this properly. When I change the Share This link text: option to something different, “Share This” is still displayed. Other sections of the option configuration seem to work just fine.

  108. 108

    background color changer for the digg badge doesn’t seem to be working.

  109. 109

    I’m not sure how this hasn’t been discussed yet, but with the latest version of gregarious, the AKST_FILEPATH seems to get set too late, and thus the stylesheet URLs are broken. I fixed this by putting the defines ahead of the “init_options” call in gregarious.php:

    @define(’AK_WPROOT’, ‘../../../’);
    @define(’AKST_FILEPATH’, ‘/wp-content/plugins/gregarious/’);
    $gregarious->init_options();

  110. 110

    Youch! Bug fix uploaded.

    Bear with me while I fix a few more problems.

  111. 111

    Sean: All the problems should be fixed.

    To specify a different post to the Share This link, you can use the template tag share_this(’postID=1′) replacing ‘1′ with the ID of the post you wish to show. More documentation and extensibility is coming, but I’m just so busy these days!

    A big thank you to Dean for picking up the unordered define statements. I’d reshuffled the functions to make it cleaner, but that obviously slipped through.

    Keep the feedback coming!

  112. 112

    Nathan: The Digg badges are showing an incorrect count on some posts because URLs for the upcoming pages are being stored, such as “http://digg.com/news/upcoming/page2″. This has already been corrected previously, so if you update to the latest version it shouldn’t happen anymore. To fix the posts that have been detected incorrectly, you need to edit them, then remove the DiggUrl custom field.

  113. 113

    Hi Ankur. Thanks for the reply and great plugin!

    Changing the digg background color still seems to not be working. Also, you might want to use a class instead of and id for the sharethis link styling, as it causes validation errors when using id.

  114. 114

    For some reason after installing the update I am not getting Gregarious to auto-detect my previously dugg posts.

  115. 115

    Sean, I’ve fixed the background color issue. Thanks for letting me know.
    The share this link does use classes and the ID’s are unique so it should validate… I’ll investigate further if you’re still having trouble.

    Jonathan, your posts seem to be working now.

  116. 116

    I think its not compatible with WP 2.1 as it gives error when you activate this plugin.

    Parse error: syntax error, unexpected T_ELSE in /home/site/public_html/blog/wp-content/plugins/gregarious/gregarious.php on line 1531

    It works fine on old version of wordpress.

    I hoipe new version of this plugin wil be released soon.

  117. 117

    i thought i posted this earlier, maybe i didnt :S

    i have updated the gregarious plugin to the latest, but as soon as i activate i get this error.
    Parse error: syntax error, unexpected T_ELSE in /………/wp-content/plugins/gregarious/gregarious.php on line 1531

    does anyone know if i have to change my setup or any other way to help me to get this to work pls.
    im running Wordpress 2.1 and theme redoable1.1, i ran the previous gregarious plugin fine.

  118. 118

    Manu and Adickt, the plugin is working fine for me on three different installs of WordPress 2.1. Perhaps it’s problem with the PHP version?

  119. 119

    error
    not compatible with WP 2.1 as it gives error when you activate this plugin.

    Parse error: syntax error, unexpected T_ELSE in /home/site/public_html/blog/wp-content/plugins/gregarious/gregarious.php on line 1531

  120. 120

    hello ankur,

    I have small display issue, the share this appears in the middle of the post, can you check if this is an issue with the plugin or maybe the more link breaks my post formatting?

    http://sibiu.zice.ro/2007/02/20/expozitie-organizata/

  121. 121

    Am I missing something? When I click on the “dig this” button, it takes me to digg, but does not fill in the url.

    When I click on the digg button under share this, everything works fine.

    What am I missing?

    Thanks

  122. 122

    I am having an issue with the plugin. It installed fine, the buttons show up fine. The issues:
    1. The buttons don’t show Dugg count.
    2. When I click on options button I get a network error after a long attempt at loading the file.
    3. When I click on “update file” in the Plugin Editor I get a 404 error.
    The issues only occur with this plugin.

  123. 123

    I got the same error of adikt and manu, but on line 1535 of the page gregarious.php.
    resolved adding an interline between the comment and the IF I found on that line.
    now it works perfectly on mine.
    I suppose it’s tha same problem on line 1531. even there the IF is commented.

  124. 124

    I’m having the same problem as Manu and Adickt using WP 2.1 and Redoable 1.1. The PHP version of the server this blog is running on is 4.4.4.

  125. 125

    When activated, pages load very slowly. After the page is loaded, anytime we hover over a link, the link disappears. Entire sidebars can disappear by hovering over them.

  126. 126

    MonkeyBit: The issues occur because of your usage of non-standard custom permalinks (which is pretty cool nonetheless). I may explore this later, but chances are you’ll have to the digg_button() template tag. Just call digg_button('postID='.get_permalink($post->ID)); in your template.

    Manu, Adickt, Vinod, Cody and others: I’ve implemented the solution proposed by Shugotenshi. Since the problem isn’t occurring for me, and I can’t get it to happen even on my local server, I don’t know if it’ll fix it. Do let me know what happens.

    Everyone else, I’m still exploring the plugin to see why your problems are occurring. Please bear with me until I get it worked out.

  127. 127

    Download the (hopefully) bug-free version here.

    No need to upgrade if you’re not experiencing any difficulties.

  128. 128

    Hi,

    Love it !!!

    I don’ quite understand the following;

    at the option page it says;
    “1 posts and pages have been Dugg”

    When I click on this it leads me to what supposedly is being dugg, but then I get this;
    “Sorry! No posts or pages have been Dugg yet.”

    Where did I go wrong ???

    THX

  129. 129

    Sorry,
    Another thing I forgot to mention is that the posts are getting error messages on digg.com saying that someone else have posted them ??? when I try to search there is nothing to be found.
    Anyways they are not being dugg as your pages/posts are.
    THX

  130. 130

    Great plugin!

    I’m running into one issue and can’t seem to figure it out. It’s probably a very easy fix, but how do I move the Share This box from the footer to right under the Share This link?

  131. 131

    Daddo: A blank URL was being passed when the post hadn’t been Dugg. The problem is fixed in build 21.

    Tanner: The Share This form is appended to the footer once, then repositioned using javascript to pop up right under whichever Share This link is clicked.

  132. 132

    The plugin appears to be incompatible with Amazon Affiliate javascript. When both the Amazon js and Gregarious were active, all links would disappear when hovered.

    The Amazon js I’m speaking of if for the Amazon Product Previews. The js provides a flyout Amazon product description when you hover over an image.

    For the time being, we have temporarily removed the Amazon js.

  133. 133

    Buzzdroid, could you send me a copy of the Amazon js code so I can see where the clash occurs?

  134. 134

    For template authors, I’ve started writing some basic documentation. The docs will be expanded to cover the features and usage of the plugin as well as the template tags later on.

  135. 135

    Hi, Nice plugin but it wont quite work for me!

    I’m getting the error message “Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/elivance/public_html/wp-content/plugins/gregarious/gregarious.php on line 1611″ whenever I update the settings.

    Also when users click on a link to my site from Digg the page takes forever to load, but if you copy the link into a new browser window it opens instantly.

    Everything used to work, then I updated both wordpress and Gregarious, now I’m getting errors. Please help!

    Many thanks,
    Oli

  136. 136

    Ok, no idea how but all of a sudden the links from digg work! I’m still getting the error message and there are no social sharing sites on the Share This tab either on my site or in the control panel.

    Cheers again,
    Oli

  137. 137

    Oli: I think it’s something to do with your PHP and/or server setup. You can probably get it if you open gregarious.php and remove the line (around line 690) that says:

         update_option( 'social_sites', sortByField($_REQUEST['social_sites'],'order',1) );

    After deleting that line, just reset your options and everything should hopefully work. The only drawback will be that you’ll no longer be able to re-order your Social Sites from the options page; adding and removing will still work though.

    Hope that works!

  138. 138

    Don’t know if this is just me again but it seems like with the latest release CURL interferes with auto detect. When I jump from the Digg submission page to the post, it hangs forever and never auto-detects the Digg. If I turn CURL off, it works just fine.

  139. 139

    Same thing seems to be happening for me. If it’s reproducible, it can be fixed.

    Although to be honest, I’ve spent so much time on getting the regular expressions perfect that I don’t think there’s much chance of having incorrect URLs detected anyway. CURL can be turned off very safely until and unless it’s ever found that incorrect URLs are being detected and stored.

  140. 140

    Okay, I’ll leave it off for now. Not a big deal. :)

  141. 141

    Not sure if anyone’s pointed this out before (too many comments for me to check through) but I’ve noticed a minor bug:

    If someone posts a link to a page of my site in the comments of another article that has been Dugg, the plugin shows the amount of Diggs that the properly Dugg article.

    See: My site, and the Digg article in question.

    Currently my two-year old article is showing 1,424 Diggs, which is nice, but not really bringing me all that much traffic… :-(

  142. 142

    Hope someone can help me. I’ve been using gregarious and have encountered intermittent problems with digg submissions. Sometimes, it works and sometimes it does not (and now lately it never works). If a user clicks on the digg guy, they usually get this message: “This does not appear to be a properly formed hostname.” Sure enough, the domain name is not getting passed (but the title is getting passed). If a user clicks the Share This link, the article is reproduced as it should and the url is passed properly, but then upon submission, digg complains again: “This doesn’t appear to be a working link - please check the URL and try again.” Finally, I have found at least on instance in which the digg badge goes to the wrong url when clicked! e.g. the digg badge on this page: http://celebritypsychologist.com/?p=9 actually takes you to this page: http://digg.com/programming/upcoming
    Any assistance is appreciated.

  143. 143

    Andy: Edit the post, then delete the custom field called “DiggUrl”. Unfortunately, the process I had written to ensure this doesn’t happen is currently not working (The CURL thing that was being discussed just previously). I am trying to see what Digg.com might have changed and how Gregarious can adapt.

    Randy: Similar thing applies. Edit post, then delete the custom field “DiggUrl”.

    I’m rewriting the whole detection system to work with the new Digg API, so hopefully everything will work better then.

  144. 144

    Randy: You’d probably need to upgrade to build 21. It was an un-announced update, but did fix the blank URL issues.

  145. 145

    Thanks Ankur:
    I installed 2.0rc1 and digg happily took the submission. Funny thing though, I went to update another site using gregarious 1.6 — and it too had returned to normal and was functioning fine without the update. The two sites share an IP, but no WP code. Maybe something on the Digg side or perhaps something on my server caused the bug?

  146. 146

    Thanks Ankur - I’ll give that a go.

  147. 147

    I am using the “Redoable” theme. I installed Gregarious, and it runs fine on the home page. However, when I go to the “single post” or permalink page, Gregarious will insert two “digg this” buttons, one in the top right, and one at the bottom left.

    I only want the one in the bottom left to appear, but even when I turn all the options off, the one in the top right will still be there. How can I remove this.

    You can see an example of what I am talking about here: http://gamenation.neareverything.com/?p=66

    Thanks!

  148. 148

    Ahren, the Redoable theme calls the Digg button function in single_post.php. You can just remove the following PHP code from it:

    <?php if(function_exists('show_digg_button') or function_exists('digg_button')) { echo '<div class="diggButton">'; } ?>
                <?php if(function_exists('show_digg_button')) { show_digg_button(); }
                else if(function_exists('digg_button')) { digg_button(); } ?>
            <?php if(function_exists('show_digg_button') or function_exists('digg_button')) { echo '</div>'; } ?>

    The above code is found in the entry-content div in single_post.php (and also in single_post_alt.php if you’re using it).

  149. 149

    @Ankur

    Thank you for the response. However, when I remove the code that you tell me to, it takes out both of the Digg buttons. I would still like to keep the one in the bottom left. (I would like to get rid of the one in the top right)

    Thanks!

  150. 150

    To keep the Digg button that is appended to your post content, make sure you’ve turned on PostBadge in your Gregarious options page, and that the &lt%DIGG_BUTTON%> tag is present in your PostBadge code.

    (btw, I’m only seeing one Digg button on your site… the one after the content.)

  151. 151

    @Ankur

    Ah, yes! Thank you for the help! It worked this time! :)

  152. 152

    Great!

  153. 153

    At first I was having the same problem as the first post. Once the plugin was installed my whole page stopped working. I had to ftp to my server and delete the plugin files since I couldn’t just deactivate it. I read the INSTALL.txt and found that I hadn’t changed the permissions on akst.css and akst.js. Once I changed the permissions to 777 I had no problems with the plugin at all.

    Thanks for the awesome plugin! Keep up the good work.

  154. 154

    Thanks, Nick. I’m glad the problem is sorted out. I think it’s more likely that it was caused by the files not being FTPed properly the first time round as Gregarious runs even with akst.css and akst.js not CHMODed to 777. At least its working now.

  155. 155

    Thanks for a great plugin. I like the way the bookmarking sites popup in a separate window when you click the ‘Share This’ link. Nice and tidy. Good job!

  156. 156

    Thanks Dean!

  157. 157

    Hey Ankur, great plugin! I just upgraded from v1.5.something to the current release, and i’m getting that dreaded error stating:

    Parse error: syntax error, unexpected T_ELSE in /home/downpou/public_html/wpblog/wp-content/plugins/gregarious/gregarious.php on line 1546

    It pops up when I go to activate it, although it does show up in the Plugins list just fine. I have a good handful of plugins, none of which have changed since I had a pretty much working 1.5.x install of Gregarious. Here’s the list:

    Audio player 1.0.1
    Adhesive 3.2
    Akismet 1.14
    AdSense Earnings Reports 1.0
    Bunny's Technorati Tags 0.5
    ClustrMap for WordPress 0.2 Adds ClustrMap code into the page. By Lou Wheeler (custom by me).
    EzStatic 3.1.1
    Link Harvest 1.0
    MightyAdsense 2.1
    Recent Links 2.01
    SH-Autolink 0.94b
    StatCounter for WordPress 1.01
    Subscribe me 2.6
    Text Control 2.0b1
    WP Flickr Post Bar 0.5
    Sidebar Widgets 1.0
    Wordpress Theme Manager 0.1
    WPvideo 1.10
    Semiologic Subscribe Me Widget 1.0 Adds a sidebar widget to add Subscribe Me! links. By Lou Wheeler (written by me)
    Google Search widget 1.0
    Google Adsense widget 1.0
    ClustrMap 1.0 Adds a sidebar widget to let users add their ClustrMap into their sidebar. By Lou Wheeler (written by me)
    RecentLinks Widget 1.0 Adds a sidebar widget to make your RecentLinks sidebar modular. By Lou Wheeler (written by me)

    I doubt that’ll help, but it’s worth a shot. If there’s a fix, or a bug, I’d love to know about it. :D

  158. 158

    Lou, do you have build 21? If you log into the options page, it’ll tell you if there’s a new version available. Otherwise, I’m not exactly sure what could be causing the problem; though my standard response is to blame the PHP version… ;)

  159. 159

    Ankur, it shows in the gregarious.php file that the version is 2.0 RC1… I don’t know if that’s what you’re classifying as the build version 21, but it’s the first release candidate of the 2.0 branch, and i downloaded it twice from this page, so i dunno lol… if it’s the version of php… that could well be. My server has PHP version 4.4.2 and MySQL version 4.1.21-standard-log, if that helps. :D

  160. 160

    I managed to figure it out on my own. I have actually just disable gregarious (too much for my purpooses. Now I write this code into each post:

    ID,'DiggUrl',true)) { ?>

    digg_url = ‘ID,’DiggUrl’,true)) {echo get_post_meta($post->ID,’DiggUrl’,true);} else {the_permalink();}; ?>’;

    Each post has a cusom field labeled: DiggUrl. Fill that in with the Dig text to your article and it generates it perfectly. I wrap the ouput in an inviisible div and apply the positioning via CSS that way. In the the same vein each individual post gains a class if the DiggUrl = true and I restyle the post box so that it have a min-height sufficient to display the Digg button.

  161. 161

    I’m having the same problem as Lou - I only have the google analytics plugin installed, and whenever I activate gregarious, it nukes my whole WP site - I can’t even access it when I type in the domain!

    It sucks, because it seems like such a cool plugin.

  162. 162

    Lou and Sulleh, I’ll investigate some of the plugins - especially the Google analytics one to see what could be wrong. Everything is working on my site and on my local server, but I’ll go through as many plugins as possible to see which one could possibly be clashing.

    Spencer: While it is relatively easy to write your own custom Digg button into your theme, the statistics tracking and more advanced features that version 2.0 will have will be worth it I think. I’ll be releasing a lite version for people who just want the basic features, and there’ll be easy extensibility in the form of modules. More on that later.

  163. 163

    Lou, I just noticed you’re using WordPress 2.0. I haven’t tested compatibility with that version for a while, so that could be it as well. I’ll do some checks and get back to you.

  164. 164

    Hi,
    After installing the latest fixed version of Gregarious, I encountered this problem.
    My previous digged post do not display in the administrative area of Gregarious, and new post that was submitted got an error saying that the permalink was detected but not found on the site, this of course not being so since I can find it on my user panel at digg and link back to the specific article.
    Would you know what went wrong ?
    THX, Daddo

  165. 165

    Daddo: delete the DiggUrl custom field from the post then click on the link from the Digg page to your site.

  166. 166

    This is sweet but I cannot get into all the option with the wordpress admin section.

    Overview, Digg Options, Share This Options, Post Badge & Dugg Post.

    I have wordpress 2.1.1…

    Any ideas????????????

    Please help

  167. 167

    Pazmaz, that may be because of your browser, or because all the files haven’t been uploaded properly.

  168. 168

    Ankur,

    i have downloaded and installed the latest version since my previous problems (see above post).
    But now i am getting the same error that Lou and Sulleh have.
    i have commented out lines 1542 - 1546
    It seems to work OK, but i havent tested everything, i will use it like this till a fix can be made

  169. 169

    Thanks for the awesome plugin Matt!

    I’ve got it installed and running on my site and everything is running good except 1 thing.

    When I use the Digg Badge for my un-dugg posts everything displays properly. However, when I try to use a custom image for un-dugg posts I run into problems. The custom image will display in Safari, and IE7 just fine, but not in Firefox.

    I know that this probably isn’t a problem with your plugin, but I don’t know anywhere else to ask for help.

    Any ideas? You can see whats going on with my page at http://www.keynote2keynote.com

  170. 170

    Humm… for some reason I thought you name was Matt, lol. Sorry Ankur :)

  171. 171

    This may be completely unrelated. But I noticed that the ampersands ‘&’ are not getting encoded in the url’s for the submit un-dugg posts. I’m not an expert, but should & be replaced with & ?

  172. 172

    Thanks Nick. Firefox is messing up because I think of a slight conflict with Google analytics. Actually, it works fine on my site, but I should be able to provide a simple fix. As for the ampersands not being escaped, I left them that way because Alex King did it is well, but they have been changed in build 30, which hasn’t yet been publicly released.

  173. 173

    I was having the same problem as Lou and commented out lines 1542 to 1548 and now it works.

  174. 174

    Hi… I’m been using v1.6 of Gregarious for quite a while on my own blog. Recently I grabbed the version available for download here (v2.0 RC 1) and installed it on my girlfriend’s blog (http://mindchimes.net) which runs on WordPress 2.2.2. When I tried activating the plug-in, WordPress broke down with a message that there’s a Parse Error.. unexpected T variable.. on line 1546 of Gregarious.

    Anyone else faced this? What’s the solution?

    Thanks :) m^e

  175. 175

    A lot of people seem to faced with the same problem around lines 1542-1548.

    Removing the comments around that area should hopefully make it work:

    if (!function_exists('ak_decode_entities')) {
        function ak_decode_entities($text, $quote_style = ENT_COMPAT) {
            if (function_exists('html_entity_decode')) {
                $text = html_entity_decode($text, $quote_style, 'ISO-8859-1');
            }
            else {
                $trans_tbl = get_html_translation_table(HTML_ENTITIES, $quote_style);
                $trans_tbl = array_flip($trans_tbl);
                $text = strtr($text, $trans_tbl);
            }
            $text = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $text);
            $text = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $text);
            return $text;
        }
    }
    

    Otherwise just delete the body of the function like:

    if (!function_exists('ak_decode_entities')) {
        function ak_decode_entities($text, $quote_style = ENT_COMPAT) {
            return $text;
        }
    }
    

    And just a disclaimer: I didn’t write this function.

  176. 176

    For those who like to stay up to date, you can view the svn repository for Gregarious at http://svn.wp-plugins.org/gregarious or view the source at http://dev.wp-plugins.org/browser/gregarious.

  177. 177

    Should we upgrade to the RC2 thats available via the second link you posted? Or is it still a work in progress?

  178. 178

    I would only recommend using RC2 in a testing situation. It works fine on my local server, but I haven’t tested it anywhere else at all.

    On the other hand, it has some really nice features in it, especially if you’re a developer (see the modules), so you could have a play with it if you like.

  179. 179

    Any luck with figuring out the conflict between this plugin and amazon javascript?

  180. 180

    I love this plugin good work but for some reason i dont see any options for the reddit button, there is no way to turn one on the only thing that shows up is the share this and the digg buttons. If someone could tell me how to make the reddit button show that would be wonderful.

    Austin

  181. 181

    oh and sorry i used the and it doesnt work

  182. 182

    To show the Reddit button, you need to add either “<%REDDIT_1%>”, “<%REDDIT_2%>” or “<%REDDIT_3%>” to your PostBadge code.

    Buzzdroid, I’m sorry, but the conflict only occurs in Safari, so I’m not exactly sure what’s going on. You could add a simple javascript that disabled one of the two scripts if the client was using KHTML rendering.

  183. 183

    Hello. Am trying to use gregarious with wordpress v2.1.2 and Cutline 1.1 theme. Basic greg seems to function, but “optns” part behaving word, so have to disable.

    When I go into options, browser tells me “done, but with errors on page.” And I can’t change any of the options (nothing happens when I click on them).

    Possible conflicts with theme/other plugins? Thanks for your help and time.

  184. 184

    Wordpreneur, sorry to hear that. Are you using IE by any chance?

  185. 185

    After searching for a simple “Share this”-type plug-in and finding little success…I came upon Gregarious! WOW, I really like this. You’ve done a nice job, indeed.

  186. 186

    Thanks, Dewaun.

  187. 187

    This plugin Rocks! Thank you!

  188. 188

    Inauspicious beginning: When I download the plugin from http://wordpress.org/extend/plugins/plugin/gregarious/ and then unzip it, the unzip program gives me a “divide by zero” error. That’s the fist time I have had that error while unzipping.

    Then the plugin bombs my site. All I get are “undefine” errors re. the modules.

    Who needs the aggravation?

  189. 189

    Inauspicious beginning: When I download the plugin from http://wordpress.org/extend/plugins/plugin/gregarious/ and then unzip it, the unzip program gives me a “divide by zero” error. That’s the fist time I have had that error while unzipping.

    Then the plugin bombs my site. All I get are “undefine” errors re. the modules.

    Then when I download the plugin from your site, it unzips fine. But when I activate it in my Wordpress 1.5 installation, I get Parse error: parse error, unexpected T_ELSE in /fpgs/fpgshttpd/ledbetter/wordpress/wp-content/plugins/gregarious/gregarious.php on line 1546

  190. 190

    so this looks great. i’m using wordpressMU. the only issues i see are that the pop-up window doesnt seem to be compatible with every template. no problem.

  191. 191

    Whenever I activate this, I get the following error:

    Fatal error: Call to undefined method stdClass::add_page() in /home/user/public_html/wp-content/plugins/gregarious/gregarious.php on line 122

    Then I can’t access any part of my site.

  192. 192

    Terribly sorry folks, downloading from the new WordPress repository was not getting the correct version of the plugin. It’s fixed now, but I still need to clear up a few things with the WordPress svn, namely, nested folders. However, the features should be working.

  193. 193

    Ahh! I see what’s going on. WordPress plugins is taking a while to update with the changes. Hopefully it should be updated within the next ten - fifteen minutes. Meanwhile, download it here.

  194. 194

    Everything should work now!

  195. 195

    Hi Ankur,

    Just downloading your plugin.. it looks nice.. but many people here have had some problems with it.. I will give a heads up if it works good on my site.

    Very hopeful.

  196. 196

    Ok my site crashed.. and this is the error I get.

    Parse error: syntax error, unexpected T_ELSE in /home/xxxxx/public_html/xxxxxx/wp-content/plugins/gregarious/gregarious.php on line 1546

    Will check it again in a week or two.. to see if the version is updated.

    Hopefully it should be solved by then.

  197. 197

    Latest download from WordPress plugins page should be pretty much bug-free (I’m using it myself).

  198. 198

    Bolly: Downloading from the WordPress plugin page is the latest version. I’ve updated the link to that version, so it should be all clear now.

  199. 199

    nice

  200. 200

    Hello Ankur, yes, I’m using IE6.

    MY EARLIER POST: Hello. Am trying to use gregarious with wordpress v2.1.2 and Cutline 1.1 theme. Basic greg seems to function, but “optns” part behaving word, so have to disable. When I go into options, browser tells me “done, but with errors on page.” And I can’t change any of the options (nothing happens when I click on them). Possible conflicts with theme/other plugins? Thanks for your help and time.

    AND YOU REPLIED: Wordpreneur, sorry to hear that. Are you using IE by any chance?

    thanks

  201. 201

    I’m not quite sure what happened, but I was changing some of the settings and when I saved my changes, the entire plugin stopped working. All options disappeared and every plugin was disabled. Removing the plugin and installing it again didn’t work so I suspect there is a connection to the database.

    Also, the forcing of the background colors is annoying. The badge does not change background colors. The Share This drop down menu tries to take it’s own colors. The Options page is nearly unreadable with the WP-Tiger admin page plugin. I would highly recommend making the forced coloring an option.

  202. 202

    Okay, I reenabled the modules and saved and everything seems to be alright. I would recommend switching to using transparencies around the images (the white gaps are annoying). I sifted through the plugin and it looks like CSS is used to color everything so I might be able to modify it so it’s not so bad but that would be rather laborious.

    The digg badge still refuses to change color though. Also, it seems I cannot get the default Social sites back. Is there any way to add all of the default Social sites back to the list without having to do it manually?

  203. 203

    I have installed your plugin and it works fine. The only thing that I can’t seem to figure out is that the Digg this button shows up at the top and bottom of my posts. I would like it to only show up at the bottom. Am I doing something wrong? Is there a way to change this?

  204. 204

    OK, I’ll get onto all of this as soon as possible. Extremely sorry for any inconvenience.

    Brian: change the PostBadge code. Just delete the <%DIGG%> tag before the <%CONTENT%> tag.

  205. 205

    Jason:

    Also, it seems I cannot get the default Social sites back. Is there any way to add all of the default Social sites back to the list without having to do it manually?

    Resetting all the settings will do it. Otherwise, you can reset only that setting by turning on the AJAX module and navigating to yoursite.com/wp-content/plugins/gregarious/modules/ajax.php?reset=social_sites
    You can turn the AJAX module off after that if you so desire. The final release will have this functionality in a point-and-click fashion.

    Hope that helps!

  206. 206

    The Digg badge background color is changing for all blogs. However, due to Digg using non-transparent images in the button, the amount of background color you see in the badge is the maximum anyone can get at this point.

  207. 207

    Wordpreneur:

    I am using a Mac, so I haven’t got the facilities to test out on Internet Explorer. If you use FireFox it’ll definitely work, otherwise if you could tell me what javascript error is in the console, I could fix it to be compatible with IE.

  208. 208

    im getting this error on the

    Parse error: syntax error, unexpected $end in /home/sbloog/public_html/wp-content/plugins/gregarious/modules/digg-stats.php on line 277

  209. 209

    Steve, PHP 4?

  210. 210

    same here. yes php4

  211. 211

    I was also getting the unexpected $end error on line 277. I fixed this by putting the break in the if statement a few lines above in { }, this seems to have solved it.

    However I now get a Parse error: syntax error, unexpected T_ELSE in /home/chrismoo/public_html/blog/wp-content/plugins/gregarious/modules/share-this.php on line 571

    And yes I am using PHP 4.

  212. 212

    I only have PHP 5 so I don’t get these errors. I’ll see if I can install PHP 4 and do a bit of testing, or if I can pick out any weird bits of code. Thanks for your patience so far.

    You can deactivate the Digg Stats module for now until I get it working for PHP 4.

    EDIT: Try deleting the line-break between lines 269 and 270 so the if statement is on one line. Again, I don’t know if this’ll work since I don’t have PHP 4.

  213. 213

    I’ve just installed your plugin. It works pretty good. However I’ve noticed that it’s doing something weird in the Safari browser. I’ve chosen the compact Digg Badge and it’s showing properly in Firefox, but in Safari, it’s only showing a corner of the big badge. Kinda strange. If you browse my blog with Safari, you’ll see what I mean.

  214. 214

    Hmmm… I just checked it again and for some reason now it’s showing correctly. Nevermind.

  215. 215

    Great, I’m glad it’s working now, Jody.

    I’ve posted another update to the SVN and the transparent icons have been added, as well as better integration with Steve Smith’s WP-Tiger-Admin.

    I’ve also attempted a semi-fix with the PHP 4 bug, and added a few features to the FeedFlare module for all us Feedburner users.

    Enjoy!

    (by the way, if you’re interested, you can keep up to date via SVN)

  216. 216

    When I try to sett the “Digg Options” for the “un-Dugg Posts” to show the “Digg Guy icon” nothing shows up besides a small square… I checked, and the image path is correct, etc…

    See example here: http://www.hardcoreware.net/blog/the-first-step/

    Thanks!

  217. 217

    Hi Carl. I think it might be your CSS? Try removing the float:left from the diggWrap div and see if that makes it show.

  218. 218

    I’m working overtime. More updates:

    • Fixed all modules deactivation on database edit (&keys) through options page
    • Improved string encoding in post titles and post excerpt to prevent errors in Digg button javascript.
  219. 219

    Hi Ankur, thanks for taking the time to look. Taking out the float: left fixed it, but I would really like to have my Digg button floating beside the main article, not above or below it. Any ideas on how to get this to work while keeping the icon on un-dugg articles?

  220. 220

    i want to hide the gregarious icons from various posts/pages. i would think i just enter the ID #s into “hide on post IDs” input, and then hit the save button, but it doesn’t seem to have an effect. am i doing something wrong? also, to hide more than one, do you separate the IDs with commas or what? thanks.

  221. 221

    I uploaded and activated Gregarious, but have two problems.

    1) My users are getting the share this page rather than the popup, despite the fact that prototype.js is referenced in my template.

    2) There is no options page (anyplace that I can find at least … I’d expect options to appear in Manage | Plugins).

    Thanks for any help,

    –Bob

  222. 222

    Also … I’m running WP 2.1, latest release … only other plugins are Akismet and Firestats (1.0.6 stable).

  223. 223

    Carl: Try <div style='float:left'><div style='position:absolute'><%DIGG%></div></div>

    Johnny: The “hide on post IDs” feature is offline for now while I make it faster and more efficient. Sorry for the delay, but I’ll get it done in the next day or so.

    Bob: Your template doesn’t call the wp_footer() function. Because of this, the page is shown as the code for the popup isn’t loaded. Simply add <?php wp_footer(); ?> somewhere in your template to fix this.
    The options page is located under Options | Gregarious.

  224. 224

    im on php 5. i got it installed but nothing is showing up for me. i see the images in the wp admin but cant seem to get it to show. what am i missing?

  225. 225

    It’s still showing up as a square…

  226. 226

    when i click on options—> gregarious —-> modules nothing happens. how do i fix this or how do i configure to have the digg button show up? ive tried in IE and FF and nothing. who can help?

  227. 227

    Steve: The options should look like this.
    Then, go to PostBadge, and make sure the <%DIGG%> tag is present.

    Carl: I’ll experiment a little and see.
    Edit: I get the image to show by using <div style='float:left'><%DIGG%></div>
    <%CONTENT%>
    on my test server. I think it must be some other CSS that’s messing with it.

  228. 228

    Johnny: I’ve added the updated the “don’t show on” feature and enabled it, so it’ll work now. You’ll need to make sure you wait at least half an hour from the time I make this comment as it takes a while for the WordPress download to reflect any changes in the SVN.

  229. 229

    I’m getting an interesting error. I have my Digg badge being displayed at the top right of my posts using.

    .diggWrap {
    float: right !important;
    margin-left: 5px !important;
    }

    The funny thing is that any link that is to the left (or right if I use float: left;) doesn’t work. I end up having to move the link to a different part of the post. This happens both when a post is dugg and even when it isn’t. An example can be seen on this page.

    Any ideas/suggestions?

  230. 230

    Nick, are you using a Google Analytics plugin of any sort? I think it’s distorting the links on your site. I think if you simply add the Google Analytics code into your template, everything should be fine but since I am not familiar with this plugin, I’ll take a look at it to see what, when, where, why and how.

    Edit: I think I’ve modified Gregarious enough to make it work on your site. Since I don’t exactly trust the WordPress plugins page, you can download it from here. Let me know if it works.

  231. 231

    Just installed Gregarious on MT 2.12 using the 3 Column K2 V 0.9 theme. When I go to the options page, I can view the navigation icons and all subpages, but there’s no content on the overview page, and nothing’s been added to my posts. What am I doing wrong? Other active plugins: Acronum Replacer, Akismet, Dropdown Archives, Flickr Badge Widget, Last.fm Charts Widget, Recent Comments, Recent Posts, Sidebar Widgets, Twitter Widget, WP Database Backup, and WP Hashcash.

  232. 232

    RE: posts 247 & 248 and your response in post 249 — I added wp_footer() and that took care of getting the popup. However, when I go to Options | Gregarious, I get “something weird happening? Report a bug” — so I am ;-)

    I’m using FireFox 2.0 to view the site. Oddly if I log in from IE7, Options | Gregarious works fine.

  233. 233

    And re post #257 … in IE7, the icons across the top do not work, except for “edit database”. There is a JavaScript error icon in IE, and the specific error is:

    Line: 17
    Char: 2
    Error: Object doesn’t support this property or method
    Code: 0
    URL: http://bobondevelopment.com/wp-admin/options-general.php?page=gregarious

    The buttons all work, except for general, in Firefox 2.0.

    Fortunately I’m happy for now with all the defaults, but let me know when you have a fix or workaround.

    Thanks!

    –Bob

  234. 234

    Hi there,

    I can’t seem to get Gregarious to work properly. It is installed on my site and I can access it through the wp-admin options tab, but I cannot get “overview” to open and none of the available icons or options appear on any of my blog pages….

    What did I do wrong?

    Thanks,
    Josh

  235. 235

    I installed Gregarious yesterday. Everthing worked fine, then this morning all the buttons were gone and the Options showed no modules installed, also not allowing me to install any modules again. I deleted and reinstalled. When I go to configure, it states that “something wierd happened, report a bug.

  236. 236

    Also, I am using IE7 browser and I am hosting with Servage. php Safemode is on.

  237. 237

    Miles and Josh: Your sites are probably running Gregarious fine. Just tick the modules to enable them, and then click on the images at the top to navigate to different sections. (See this image). The icons at the top only show once you’ve enabled at least a few modules.

    For those people that are getting “Something weird happening? Report a bug »”, that was supposed to be an interrogative sentence (a question) rather than a declarative one. It’s an indication that the plugin is working.

    I’ve also fixed a bug where the modules suddenly turn off. This was due to WordPress and Gregarious using the same POST variable name.

    The only real thing left to do is IE support in the options page. Not going to be easy, but I’ll try.

  238. 238

    I just noticed; Gregarious is now in use on over 600 blogs. Pretty amazing.

  239. 239

    First off, great work on the plugin. The first time I installed the plugin (2 days ago) it worked great, and was exactly what I was looking for. I made some theme changes to my wordpress blog yesterday, and now Gregarious doesn’t show the “Share This” link. I’m baffled as to what would have changed.

    I’ve tried resetting the plugin, reinstalling the plugin, making sure I have a footer call in my theme (I didn’t change that). Nothing I try will make the plugin show up except for manually adding the ’share_this()’ function call into my theme. I just wanted to see if you had any other suggestions for me to try?

    Thanks again
    Nordin

  240. 240

    Nordin,
    Make sure the <%SHARE%> tag is present in the PostBadge code (and that the PostBadge module is turned on). PostBadge is the mechanism by which buttons / links are appended to your post content, and without it on, you’ll be limited to using template tags.

    Hope that helps.

  241. 241

    Hi Ankur,

    Yes it’s on, and my current PostBadge settings are

    I’m stumped as to why it would stop working for me, but alas stranger things have happened… I’m getting this to work with the template tags, but it’s not as simple as just turning it on like as it first worked.

    Cheers,
    Nordin

  242. 242

    Doh! I guess the code tags don’t work? It erased (or made invisible) my settings. Here it is again.

    BTW, I’m using WP 2.1.2.

    Thanks
    Nordin

  243. 243

    It’s the default settings, it seems the comments doesn’t like the code.

    div class=’diggWrap’> div

    I’ll stop spamming now. :) Nordin

  244. 244

    I’ve installed Gregarious and all seems good, except I’m not seeing anything on my pages at http://turbulentissues.com

    the template i’m running is MistyLook

    and ideas what might be going on?

  245. 245

    Awfully sorry David (and Nordin). This time it’s actually my fault (unlike every other time where I’ve been able to blame it on the WordPress Plugins directory).

    As a quick fix, just enter any random value under Digg Stats in the “dont show on” option. I’ve updated this in the latest version, but again, WP plugins takes ages to reflect changes…

  246. 246

    This is great, man! Thanks.

  247. 247

    Thanks Harley.

    Nick Young, the links are working fine on your blog now! (Though I think you forgot to enable the Reddit module…)

  248. 248

    Yeah, I was using a Goole Analytics plugin.

    I installed the updated version and it runs problem free thus far. Thanks for the hard work on the awesome plugin.

  249. 249

    When activating this error message is returned.

    Parse error: syntax error, unexpected $end in /data/… …/htdocs/blog/wp-content/plugins/gregarious/modules/post-badge.php on line 181

    Is there a simple fix for this (apart from upgrade to my installed wetware!)?

  250. 250

    I’ve installed Gregarious and all seems good, except I’m not seeing anything on my pages at http://turbulentissues.com

    the template i’m running is MistyLook

    and ideas what might be going on?


    I have same problem of David.

  251. 251

    I’ve installed Gregarious and all seems good, except I’m not seeing anything on my pages at http://turbulentissues.com

    the template i’m running is MistyLook

    and ideas what might be going on?


    I have same problem of David.

    I have versione downloaded from comments and posted by Ankur.

  252. 252

    sweeet - that works now, thanks!

  253. 253

    After install, everything went great (except no reddit button) but for some reason the digg and share this buttons vanish every day. I go into the options, check all the options to display and they reappear. Then the next day they are gone again and unchecked. Do you know what’s going on?

  254. 254

    I keep getting the following:

    Parse error: syntax error, unexpected $end in …/public_html/wp-content/plugins/gregarious/modules/digg-stats.php on line 279

  255. 255

    David, I’m glad it’s working now.

    Gamepad: You’ll need to download the plugin from http://wordpress.org/extend/plugins/plugin/gregarious for the fixed version, or as I mentioned above, write “0″ in your Digg stats “dont show on” option.

    Birdfreak: For the Reddit button, you need to enable the Reddit module. It’s not on by default. Then you need to add the <%REDDIT%> tag to your PostBadge code. As for the intermittent disabling, it should be fixed if you download it again.

  256. 256

    I get this error when I try to active the plugin:
    ??????????????????????? ???&??? SMLdSMUL???????????????????????????????????????????????? ???&??? SMLdSMUL???????????????????????????????????????????????? ???&??? SMLdSMUL???????????????????????????????????????????????? ???&??? SMLdSMUL???????????????????????????????????????????????? ???&??? SMLdSMUL???????????????????????????????????????????????? ???&??? SMLdSMUL???????????????????????????????????????????????? ???&??? SMLdSMUL???????????????????????????????????????????????? ???&??? SMLdSMUL????????????????????????
    Warning: Cannot modify header information - headers already sent by (output started at /home/justin/public_html/wp-content/plugins/gregarious/modules/._ajax.php:1) in /home/justin/public_html/wp-includes/pluggable.php on line 275

  257. 257

    Justin Losh: Did you download the plugin from WordPress plugins? There shouldn’t be a file called ._ajax.php, though ajax.php is certainly a module.

  258. 258

    When I try to make changes to the options page (unchecking and checking boxes) every time I save the options the check boxes revert back to how they were. Something I need to be doing differently?

  259. 259

    Ankur. I thought that your fixed version was working correctly, but I found a different problem. For some reason when I have Gregarious enabled I get a php error when I attempt to post a comment. Here’s the error.

    Warning: main(TEMPLATEPATH/app/classes/k2.php) [function.main]: failed to open stream: No such file or directory in /home/.mija/neyoung/keynote2keynote.com/wp-content/themes/k2/functions.php on line 7

    Warning: main(TEMPLATEPATH/app/classes/k2.php) [function.main]: failed to open stream: No such file or directory in /home/.mija/neyoung/keynote2keynote.com/wp-content/themes/k2/functions.php on line 7

    Fatal error: main() [function.require]: Failed opening required ‘TEMPLATEPATH/app/classes/k2.php’ (include_path=’.:/usr/local/lib/php’) in /home/.mija/neyoung/keynote2keynote.com/wp-content/themes/k2/functions.php on line 7

  260. 260

    The “Share This” part of the plugin isn’t working properly for me.

    “Share This” appears only as text, without the green icon next to it. Further, I cannot get it to display as a pop-up form on the site; instead, it loads as a link to a separate page with all the social bookmarking sites listed. Is there a way to force it to display a form?

    I’ve loaded the akst.js and akst.css in the {head} tags, meanwhile, and that hasn’t helped things.

  261. 261

    And, yes, akst.js and akst.css are CHMOD-ed to 777.

  262. 262

    The path to the .css was wrong, and I’ve since corrected it, so the green “Share This” icon is now appearing. But it is still a link to another webpage, not a pop-up form (like here), which is what I’m after most.

  263. 263

    Dan: You may be using an older version. I fixed this bug a few days ago. If updating doesn’t help, let me know.

    Nick: I think that’s a K2 bug… Or there could be a conflict between Gregarious and K2. Try disabling the AJAX module and see how you go.

    Gary:
    This could happen for a number of reasons. Firstly, you need to make sure that the prototype.js script is being added in your <head> tags. To make a more detailed observation I’ll have to take a look at your site to see what else could be happening.

  264. 264

    Sorry Ankur, I just downloaded the version on your site here and installed it and I’m still getting the same issue.

    I have one other question as well, if I place the bigg badges on the homepage in each posting, they all reference the main site http://www.thebbps.com instead of each individual story. Is there a way to change this?

    Other than that I absolutely LOVE this plugin!

  265. 265

    Hi - The plugin seemed to install fine and all was good, but I just tried to change a user role and it resulted in this error:

    Warning: main(../../../../wp-config.php) [function.main]: failed to open stream: No such file or directory in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 19

    Warning: main() [function.include]: Failed opening ‘../../../../wp-config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 19

    Warning: main(../../../../wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 20

    Fatal error: main() [function.require]: Failed opening required ‘../../../../wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 20

  266. 266

    Hi - The plugin seemed to install fine and all was good, but I just tried to change a user role and it resulted in this error:

    Warning: main(../../../../wp-config.php) [function.main]: failed to open stream: No such file or directory in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 19

    Warning: main() [function.include]: Failed opening ‘../../../../wp-config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 19

    Warning: main(../../../../wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 20

    Fatal error: main() [function.require]: Failed opening required ‘../../../../wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/liskidde/public_html/etsyglass/blog/wp-content/plugins/gregarious/modules/ajax.php on line 20

  267. 267

    Hi. For some reason the dugg badge is showing up on all of my articles. I know that some of them have not been dugg.

  268. 268

    Ankur:

    I am having the same problem as David \ Gamepad with the $end appearing on line 281.

    Could you paste sample code that corresponds to

    Gamepad: You’ll need to download the plugin from http://wordpress.org/extend/plugins/plugin/gregarious for the fixed version, or as I mentioned above, write “0? in your Digg stats “dont show on” option.

    I just downloaded the plugin now and I believe these are the lines needing to be changed:
    $gregarious->modules = get_option (OPT_PREFIX.'modules');

    // $gregarious->init_options();

    //// TODOOO dont_show_on

    I tried uncommenting like so
    $gregarious->init_options("o");

    and that still doesn’t work. I really want to get this working could you post some sample code or explain what I am still doing wrong.

  269. 269

    Dan:
    Thanks for your feedback.
    About

    the bigg badges on the homepage in each posting, they all reference the main site http://www.thebbps.com instead of each individual story. Is there a way to change this?

    I just checked out your site. The links seem to be working fine.

    Lis:
    Turning off the AJAX module should fix it up. It’s a little theme-dependent right now, so I’ll have to fix it up a bit later.

    Scott:

    the dugg badge is showing up on all of my articles.

    In the Digg options, change the un-Dugg setting to show “Nothing”.

    CGB:
    The fix that I proposed was not for the $end error. I’ve tried to keep Gregarious away from direct code editing where possible. Unfortunately, this error is something I haven’t been able to reproduce, but I do think that build 34 has this fixed. Download from the link in the post content above.

  270. 270

    I am getting the same error as a couple of other people here:

    Parse error: syntax error, unexpected $end in …/public_html/wp-content/plugins/gregarious/modules/digg-stats.php on line 279

    I have tried it on several different servers (six of them) and get the same error.

    I have been trying this for a couple of days now, hoping that there would be either an update or a solution, but apparently, those of us getting this error are not getting any solutions.

  271. 271

    Which link are you talking about? I have already gotten the version off of wordpress and that is what is giving me the $end error.

  272. 272

    CGB and DJ Allyn:
    If the digg-stats module is giving you trouble, just delete it! Gregarious will work fine with as many or as little modules you provide it with.

  273. 273

    Ankur,

    I tried disabling the AJAX module, but I get the same php error when I try to post a comment. If its a K2 problem I suppose that there isn’t much you’ll be able to do :(

    Thanks for taking the time to look at the problem. It looks like you’ve been quite busy lately with replying to comments lately.

  274. 274

    “No such file or directory” seems to imply that K2 is missing some files, although if it works when Gregarious is disabled, that’s obviously not the case. If you don’t get it working by turning off the AJAX and Digg-Stats modules, I’ll have to experiment a bit with K2 myself.

  275. 275

    Hey there,

    Is there a subversion repository for your code? I’d like to check it out into my wp directory so I can keep everything updated to the bleeding edge together.

    Cheers,

    C.J.

  276. 276

    Ankur,
    I tried disabling all the modules but still no dice. I hope its a simple fix on your end :)

  277. 277

    Nick, I’ll look into it when I get time. Awfully sorry about all the mess.

    For anyone else interested, svn repository is at http://svn.wp-plugins.org/gregarious/trunk/

  278. 278

    Well I installed it but I get some errors on the config page:

    Firefox reports:
    window.addEvent is not a function
    window.addEvent(’domready’, function (){
    options-general.p… (line 74)
    window.addEvent is not a function
    window.addEvent( ‘domready’, function (){
    options-general.p… (line 67)
    window.addEvent is not a function
    window.addEvent(’domready’, init_admin_menu );

    and Internet Explorer errors on the same line.

    I installed the version linked from the download on this site

  279. 279

    I get the following errors in Firefox’s Error console when trying to view the options page:

    Error: syntax error
    Source File: http://wickkedwords.frihost.net/blog/wp-content/plugins/gregarious/scripts/functions.js
    Line: 69, Column: 26
    Source Code:
    syncOption(item); } else if (item.getAttribute(”type”) == “radio”) { var allRadios = document.getElementsByTagName(”input”); var radios = new Array(); for (i = 0; i

    Error: window.addEvent is not a function
    Source File: http://wickkedwords.frihost.net/blog/wp-admin/options-general.php?page=gregarious
    Line: 48

    Error: missing } after function body
    Source File: http://wickkedwords.frihost.net/blog/wp-admin/options-general.php?page=gregarious
    Line: 56, Column: 199
    Source Code:
    ; var endPos = myField.selectionEnd; myField.value = myField.value.substring(0, startPos) + myValue + myField.value.substring(endPos, myField.value.length); } else { myField.value += myValue; }}

    More for your information than anything else, it does seem to be working fine.

    I use Redoable, which is a K2 based theme on the latest version of WP as well.

  280. 280

    I just installed Gregarious, and I’m getting this error:

    Warning: Invalid argument supplied for foreach() in /home/(username)/public_html/wp-content/plugins/gregarious/gregarious.php on line 370

    Running PHP5, on HostGator (if it helps), and a few other plugins, but nothing that should interfere.

    Is this something that has ever been seen? I’m not having a lot of luck finding any information on this, anywhere.

    If anyone has an idea, let me know either via email or through here. Thanks!

  281. 281

    Doesn’t work at all for me.

    Warning: Invalid argument supplied for foreach() in /home/pushbutt/public_html/wordpress/wp-content/plugins/gregarious/gregarious.php on line 320

  282. 282

    For people getting javascript errors, make sure that the scripts/mootools.js file uploaded properly.

    The foreach errors I’m looking into, but Gregarious is working fine on this site and on my local server. If I can’t reproduce the error, it makes it difficult to fix.

  283. 283

    I still can’t work out why a select few people are getting errors. Gregarious is continuing to work flawlessly on my blog, and on 700 others (up 100 from last week).

    I’ve added an options page screenshot to the post above. I’m working on improving the updater module next - its probably quite important now considering how many features are being added to Gregarious. (You may have noticed the options page loads up super-quick now, and the animation is smoother). On top of that, I have a few surprises left to dish out. But first, the updater module needs a re-write.

  284. 284

    Figured out why so many people are having problems.

    In the current distro, the gregarious.php adds:
    @import ‘plugin_uri; ?>admin.styles.css.php’;

    But that file doesn’t exist; styles.css however does.

    Modified the line to read:
    import ‘plugin_uri; ?>styles.css’;

    And all is looking good now.

  285. 285

    Thanks Anti-blogger. I forgot to svn add. Everything should be fine now… again.

  286. 286

    I’m kinda confused, do I need to edit my template to make this plugin work?

  287. 287

    No template edits are necessary. Everything is laid bare in the options page. Adding content to your posts is handled via the PostBadge module.

    So that’s a definite no.


    If you’d like to delve a little deeper:
    Other modules, such as the Digg, Reddit or Share This modules provide tags for the PostBadge module. You can add these tags to the PostBadge code in the options page to utilize their functionality. For example, the ‘<%DIGG%>’ tag will show a Digg button if you have the Digg module activated.

    And further down the rabbit hole:
    If you like to get your hands dirty and are looking for custom functionality, Gregarious is full of powerful template tags, functions and classes that’ll make short work of anything you’d care to throw at it. It’s a powerful system, and I’m quite proud of it.

  288. 288

    For some reason it does not work correctly on my site, I think it’s because of the custom theme I use. Is there any specific tag in the template that
    Gregarious relies on to work? If so can you please list them so I can check and see if this custom skin already has that.

    Thank so much

  289. 289

    I downloaded and installed the plug-in and had multiple problems.

    To list a few:

    The Share This icon is not displaying.
    The “pop-up” for Share This is displaying as a list on the bottom left of my page. The Digg mini badge is sometimes displayed as the Reddit badge, and I believe that the Options Panel is kind of difficult to understand if you are a layperson.

    I am checking to see if there is a Prototype.js conflict on my blog, but for the moment I am not able to run Gregarious because it is causing some problems.

    The problems that others are having may be due to how their blogs are set up. After I go through all of my scripts and site throughly, I will be able to determine if the problems I am having are contained solely in the plug-in.

    I hope these issues can all be ironed out because this would make a fantastic plug-in, if I can get it to work correctly.

  290. 290

    I receive the following errors after saving changes:

    The file akst.css is not writable
    The file akst.js is not writable

    Also, when I turn off Digg, I still have the following showing on my actual web pages:

    Share This

    The latter part of the problem did not occur on initial setup this morning, but only began showing this afternoon.

  291. 291

    Yellow1912, what do you mean by it doesn’t work? The plugin is activated… are the buttons / badges / links not showing up?

    John, you have a very nice theme which could be part of the reason the Share This popup isn’t rendering properly.
    Edit: Try downloading the latest build. I think you’ve got an older (broken) version.

    Bruce, turning off Digg will turn off the Digg button, but you need to turn off the Share This module if you don’t want the Share This link to show. You can ignore the akst.js and akst.css errors if you don’t plan on using the Share This link or if you’re not going to add / remove sites in the Share This module. Otherwise, run a CHMOD on the akst.js and akst.css files and change their permissions to 777.

  292. 292

    I think I’ve fixed the $end errors!! I just need someone who was getting the errors before to download build 37 and tell me how it goes!

  293. 293

    I took a few screenshots of the admin panel:
    http://img264.imageshack.us/img264/1066/screenshotdl9.jpg
    http://img243.imageshack.us/img243/3027/screenshot2hn0.jpg

    It appears kinda weird and…inconsistent. I have a feeling that something’s gone wrong. I also tried to redownload and then reupload the packages several times already.

  294. 294

    Yellow1912, thanks for the screenshots. That speaks loud and clear: javascript error. Are you using IE? If you use FireFox it should work. Otherwise, if you could let me know what javascript errors are being thrown, I could try and help you out.

    This is what the interface looks like for me: here and here.
    The icons at the top animate / fade between the different sections.

  295. 295

    I’m using the latest version of FF.
    The js errors I got:
    1. window.addEvent is not a function
    window.addEvent(’domready’, function (){
    options-general.php (line 78)
    2. window.addEvent is not a function
    window.addEvent( ‘domready’, function (){
    options-general.php (line 50)
    3. window.addEvent is not a function
    window.addEvent(’domready’, init_admin_menu );
    functions.js (line 278)

  296. 296

    I think this is a FireFox bug. I’ll look up Mootools (the library I’m using) about that error.
    Edit: I found this. I’ll try and do that later and see if it works. Of course, I’m not getting this error either, so it’s all with my eyes closed…

  297. 297

    Since you suggested that it may be a FF bug, I checked on IE 7 and the problem still persists. Also checked on another computer as well.

    Which info can I provide you to make your bug fix easier?

  298. 298

    Yellow1912: It was svn trouble again. Rename scripts/mootools.v1.00.js to mootools.js.

    Awfully sorry!

  299. 299

    Actually that goes for everyone that downloaded the plugin in the past few days… please rename scripts/mootools.v1.00.js to mootools.js.

    I’m still getting used to the svn system, and I forgot to svn add. I’ll keep a closer eye on everything that goes on in the repository from now on.

  300. 300

    Actually renaming the file does not really fix the problem, but redownload the whole package and reupload it fix the problem. Thank you so much for your hard work.

    PS: yah, svn is really useful.

  301. 301

    Well, I’m glad it worked out in the end. Thanks for persevering.

  302. 302

    Ankur
    Parse error: syntax error, unexpected $end in /home/assetcre/public_html/blog/wp-content/plugins/gregarious/modules/digg-stats.php on line 279 is the error I keep getting when trying to install this. I am using firefox. I would love to help test that 37 build you were talking about. Just need a link to download it to see if it works. Thank you sir!

  303. 303

    I just can’t get it to work.. The first time I got an error on activating it (unfortunately didn’t write it down)… Then I re-activated and it seemed fine until I went into the setup.

    I configured a few things and then all the icons disappeared and I now only see modules (which I can’t click on) and database (which gives me an error when I click on it).

    I really wish it would work, though :(

  304. 304

    This has happened twice now.. For no good reason, all of the modules are turned off, and all the Social Sites disappear.

  305. 305

    Andrew, could I have a screenshot?

    Carl, I fixed this bug a few builds ago, I think. When did you download Gregarious?

    Now, about the $end error. I think I’ve figured it out. Some servers are configured so that closing and reopening the <?php ?> tags inside a function is not allowed. This is generally done to speed up PHP output, but it may be that its not 100% compatible with all configurations. Anyway, I’ve uploaded the newer version to the WordPress svn and the download should be fixed. From what I gather, the $end refers to the ?> tag, so it’s no longer present in line 729. If the error is not fixed, remember that you can still use Gregarious without the offending module (but a short note would be nice to let me know if it did/didn’t work)

    This should be interesting!

  306. 306

    Probably an early version, but whenever I check for an update it says that I have the latest version.. I’ll download it again

  307. 307

    I can send screenshots if you want, just let me know where to send them to.

    I downloaded yesterday. I can try the new version, though :)

  308. 308

    Had to remove the diggs stats php and another module. I can’t get the other social bookmarking stuff to show either.

  309. 309

    I’m having the same issues as Andrew. I activate it, then after selecting a couple of things in the Options, everything goes and just two ocons are left and only one clickable. Have no idea what the Modules is for.

  310. 310

    Since my last post, I was able to reset the social sites as per your advice.

    I still think the colors on the site are rather atrocious. See my site for an example (s1n.dyndns.org). Do I have to manually edit the style.css file for them to work? Is there a better way to make the colors automatically match the theme without any heavy lifting?

    Also, all of the badges and icons need to be touched up. They should be using transparency by now, since little white corners looks tacky. I fixed up the Share This icon to use transparency:

    http://s1n.dyndns.org/wordpress/wp-content/plugins/gregarious/share-this/share-icon-16×16.gif

    This should be done to all images so they fit better with non-light colored themes.

  311. 311

    Also, I’m using the WP-Tiger admin panel plugin and the div that appears when you check for updates appears half-way off the screen (screenshot available upon request).

    The link for that should also read something other than “hello” as well. “Check For Updates” seems somewhat logical.

  312. 312

    I get this error at the footet:

    Fatal error: Call to undefined function: wp_get_current_commenter() in /home/httpd/vhosts/healtharcadia.com/httpdocs/wp-content/plugins/gregarious/modules/share-this.php on line 174

    Thanks for any help.

  313. 313

    Macbros: modules are like plugins for Gregarious. They provide the functionality. For example, if you want the Reddit button, you turn on the Reddit button module. The PostBadge module is the one that lets you add buttons to posts without having to edit your templates. I’m writing more detailed instructions etc. so there’ll be a more detailed explanation coming soon.

    Jason: I’ll see if I can add dynamic styling to the next iteration of the Share This module. The icons have white backgrounds because the popup’s generally white and transparency takes slightly bigger file sizes. But mainly, I’ve just left it how Alex King distributed it. I’ll add transparency when I get time. I really don’t like doing repetitive tasks, but I guess it’s got to be done eventually.
    The updater module reads “click here” now (since the last week, I think) because I’ve really just started writing it. I promise you it will be better designed when it’s finished. (And the yellow sticky is no longer present in current builds if that’s what you’re referring to when you mention the div that appears on checking for updates.)

    Rich: Share This won’t work with WordPress 1.5.x. But you could just remove the appropriate bit of code in modules/share-this to get rid of the filling out the email form feature - if you know what you’re doing.

    Andrew: Have you tried turning some modules on and saving the options? If you can’t get it working, upload a screenshot somewhere (like imageshack) and post up the link.

  314. 314

    ankur,

    i tried installing this plugin and everything seems to be working fine. Thanks for this! i have one question though, at present, the digg button appears on the bottom left part of each post. how do i put it on the top right corner just like in this site? im really knew to php and html so pls bear with me. thanks again for this awesome plugin!

    alvin

  315. 315

    Hello,
    Your plugin looks great. Too bad it doesn’t work.
    After setting it up it doesn’t show on any page of my blog, and in the options i get this error, when i try to change some settings of the plugin:
    Warning: Invalid argument supplied for foreach() in /var/home/jqkqbmmg/public_html/wp-content/plugins/gregarious/gregarious.php on line 325
    modules

  316. 316

    Hi Alvin,

    The location and appearance of each item can be changed in the PostBadge section of the options page. In the PostBadge code, you use various tags to specify where you’d like everything to be. The PostBadge code I’m using has the Digg button before the content, and floating to the right like this:

    <div style='float:right'><%DIGG%></div>
    <%CONTENT%>
    

    You can also add tags for the Share This link, Reddit button, FeedFlare and more, depending on which modules you have activated. You can see which tags are available in the list of available tags above the textarea for the PostBadge code.

    If you have any other requests, please feel free to get in touch.

    Thanks.

  317. 317

    cheers ankur! and that was a quick reply! really good job, man!

  318. 318

    Installed the plugin with Redoable 1.1 theme. Posts are showing the same digg count across the board, even though some of them are new and don’t have any diggs. Help?

  319. 319

    I’m having a problem with the digg badge. I’m not totally convinced its your module, but I can’t figure it out.

    I’m getting a “ERROR- Help?” in place of the digg badge. Thats really all the info I can provide. It is only a post that has been dugg. You can see it on my Anatomy of Fear post.

    Thanks for the help.

  320. 320

    i think i may have hit a bug. if you visit my blog - http://klaatu.anastrophe.com - you’ll see that every article is listing 8 diggs, and they all link to one particular article on digg - where i happened to post my url in one of the comments. i’m baffled.

  321. 321

    Kevin: The get_permalink() function is returning blank, I think. I’ll look at this in detail later and see if I can reproduce it.

    Nathan: Edit the post, then change the ‘DiggUrl’ custom field to the URL on Digg for your post.

    Paul: So am I (baffled). I think it’s because linking to the homepage caused the Digg URL to be detected for each of the posts that were on the homepage. You’ll have to edit them and remove the custom ‘DiggUrl’ field. How should I combat this? Would having site.com/?dontdigg or something be a sufficient solution? Previously we could use file_get_contents or CURL to connect to Digg and see if the page being detected was the correct one, but they’ve blocked that access route now, for some unknown reason. Thus, we’re limited to regular expressions, which will allow any correct Digg.com page URL through. I’ll have to talk to someone at Digg about this, and to ease the pain a little, I’ll add functionality to mass edit saved Digg URLs in a future build.

  322. 322

    i’m not clear what you mean by “edit them and remove the custom ‘DiggUrl’ field”. edit what, where?

  323. 323

    i can’t make this plugin work…
    after setting the digg option and save, nothig happens… then when i want to re setup, those icons are gone… deactivate the plugin, deleted and re upload, and reactivate, still the same… i dunno what’s the funtion of edit database, but when i click it, it gave me error…

  324. 324

    Great stuff! Thank you for sharing. I just installed and its very slick. A couple of questions…

    1. I don’t see prototype.js anywhere….am I missing something?

    2. How can I get the links to show up side by side — so that horizontally Share This follows Digg ? I tried to modify the digg post badge, but it doesn’t seem to do anything.

    3. The Share This button does not include an image (not a missing image, just no image), even though I tried:

  325. 325

    Thanks. That fixed it.

  326. 326

    Ooops. Just saw your comment Paul.

    If you go to edit the post. All the way at the bottom of the admin screen you’ll see the ‘Custom Fields’ tab. Modify the url there to the digg url.

  327. 327

    ah - excellent, now i understand! most appreciated.

  328. 328

    My digg button only shows up on the first story.. It has disappeared from the remaining stories… See http://www.hardcoreware.net

  329. 329

    I saw this problem posted yesterday… this is the same problem that I am having as well.

    “I configured a few things and then all the icons disappeared and I now only see modules (which I can’t click on) and database (which gives me an error when I click on it).”

    How do I fix this???

  330. 330

    Okay… I deactivated it, deleted the entire gregarious folder from my website, and removed any references to gregarious within the mysql database.

    Then I re-uploaded it to the plug-in folder, and when I click on Activate in admin, it gave me this error…
    “Parse error: syntax error, unexpected $end in /home/mysite/public_html/wp-content/plugins/gregarious/modules/digg-stats.php on line 114″

    Then, I hit my back button and it shows that gregrious is activated. Now, when I look at the options/gregarious I can see everything normal, but it has three exclamation marks as follows…
    ! The file akst.css is not writable
    ! The file akst.js is not writable
    ! The PostBadge module is not activated.

    Now, if I chmod 777 the akst.css and akst.js files, then reload the options/gregarious page… Everything disappears accept for the following two icons…
    MODULES (which I can’t click on)
    and DATABASE (which gives me an error when I click on it)

    What is happening here?
    PLEASE HELP!!!

  331. 331

    Antwon: Just enable some modules again and it’ll work as normal. I’m pretty sure this has been fixed in the last few builds, so doing a check for updates would be a good idea (using the updater module).

    Carl: Everything’s looking fine now…

    John: To display the Digg button and Share This link side by side, set the style of both of them to ‘display:inline’. For example:

    <div class='diggWrapp' style='display:inline'><%DIGG></div>
    <%ShARE%>
    

    Prototype.js is used by Share This (from wo-includes) to display a javascript pop-up dialog instead of redirecting to a Share This page.

  332. 332

    CONITNUED…
    If I remove the entrys made in my mysql database, then it reverts back to showing the options/gregarious page correctly. However, if I make any changes and click on the Save Options button, the options/gregarious page gets corrupted again and everything disappears accept for the MODULES and DATABASE icons… which don’t work.
    Hmmmmmmmmm HELP!!!!

  333. 333

    Where is the updater module? I sound stupid I know.

  334. 334

    Okay, I can see all the icons at the top of the options/gregarious page… but only the last one EDIT DATABASE is clickable… the rest do nothing when I click on them. Help!

  335. 335

    I have download the lastest version from this page and still has these problems. Apparently the options icons are not linking to there destinations correctly. When I look at the source code of the webpage, I can clearly see that the …href=”whatever”… part of the html links are missing. Therefore the links are not being created correctly.

    Where can I get the NEWEST version of this with these issues fixed if I can not get to the updater module??? PLEASE HELP QUICKLY!!!

  336. 336

    The plugin works but it isnt behaving correctly.

    It will not display the proper size digg button I ask it to display. It will choose randomly unless I choose the same size for both the dug and not-dugg options.

    The other tags are not working either :(

    otherwise this is a great plugin. Look forward to future releases

  337. 337

    Ankur,

    Any luck with the K2 bug yet?

    Before I reported that the bug popped up when posting comments. But, after playing around a bit more I found that the error also pops up when I use the AJAX search on my site as well. I’m going to make a post on the K2 forums and see anyone over there can figure out whats going on. I’ll let you know if they find anything.

  338. 338

    I can not see the updater module… when I try to click on any of the icons in options/gregarious they do not work…
    Where can I directly download the NEWEST version or how can I access the updater module if I can’t get to it or see it on options/gregarious?

  339. 339

    the plugin worked great. but i changed some options in the options page and then the plugin stopped working. i can now see only two icons (screenshot: http://img291.imageshack.us/my.php?image=screenshot1jr9.jpg )in the options page, one is clickable and says ‘edit database’ - clicking on this gives an error. (screenshot: http://img291.imageshack.us/my.php?image=screenshot2oz3.jpg )

  340. 340

    Matt: What do you mean by the “other tags aren’t working”? Some of the PostBadge tags require specific modules to be activated. As for the Digg image sizes, do you mean button style (compact or full) or size for the submit to Digg image?

    Nick: Unfortunately I haven’t found anything yet, but I’ll be sure to let you know if anything does come up.

    Antwon: Are you getting similar errors to Nipon? This is one of those errors that I haven’t been able to reproduce, despite my best efforts. I’ll search around a bit more and let you know what I find. Meanwhile, you may wish to subscribe to the feed for comments on this post in case I do find something.

  341. 341

    Ankur,
    A few things:

    1. The files located:
      http://wordpress.org/extend/plugins/gregarious/page/3#post-683
      . . . are not up to date. I just downloaded from there today, and almost every file was out dated.

    2. I downloaded the latest files from:
      http://svn.wp-plugins.org/gregarious/trunk/
      . . . I’m assuming these are the most current. I was having the same problems as many others with the modules icon not working and only the database button working, but no longer.

    3.I’m was still having a problem with the database button. I was getting an error everytime I opened it. But as I wrote this post, somehow the database page started working! Great.

    Anyways, I still have nothing showing at all on my posts, no “share this”, no “digg this”, nothing. Everything seems to be working fine now under the options menu, but still nothing showing on my posts. I have every option enabled, just so I can see what shows up, but still I have nothing. I give up! I’ve been working on this for almost 2 hours now. If you have a solution, I would appreciate it!

    Thanks.

  342. 342

    Hi Clifton.

    WordPress plugins is indeed very slow in updating the files. This is especially frustrating.

    I assume you’ve done this already, but for “digg” / “share this”, etc. to be appended to your posts, you need to have the PostBadge module activated, and the appropriate tags present in the PostBadge code.
    Edit: I think Share This is having an adverse effect on your blog. Try disabling it and it should work.
    Edit 2: It must be because the social sites have all been cleared. Try resetting the options while you have the Share This module enabled.

  343. 343

    ANKUR,
    Yes, I am getting the same exact issue as NIPON.

  344. 344

    Ankur

    I am mentioning the Digg button itself.

    I have these settings:

    • if Not dugg display small badge
    • if dugg display full size badge

    and it still only shows the small,badge for my article that was dugg

  345. 345

    Hey Ankur,

    I did as you suggested and downloaded the latest release. However the Share This pop-up is still displaying, unformatted at the bottom left of my page, regardless if ShareThis is clicked. Plus, the ShareThis icon is still non-existent on my site, even though I have the icon enabled through the control panel.

    Any thoughts?

    Johnny

  346. 346

    Matt: I gather you’re using PostBadge to append the Digg buttons to your posts. In that case, make sure you’re using the <%DIGG%> tag rather than <%DIGG_BUTTON%>. DIGG is dynamic and takes settings from the options page, while DIGG_BUTTON and DIGG_COMPACT will display the relevant style regardless of the setting in the options page.

    John: It could be because your (excellent) theme is not calling the wp_head(); tag in the <head></head>, meaning the appropriate styles and javascript for Share This don’t get added.

  347. 347

    I have seen this happened several times and I cannot explain it’s behavior, but once in a while this plugin will disable all of the modules. I’m the only one with access to this plugin’s admin page and I’ve been checking my systems security left and right and haven’t found any reason to suspect someone else is doing this.

    Ankur, know of anything that might be causing this?

  348. 348

    Ankur,

    Someone on the K2 developer forums found a workaround for the error that I was getting.

    http://getk2.com/forum/showthread.php?t=3787

    I guess k2 has a file named functions.php and so does gregarioous. By renaming the functions.php file in the gregarious folder and editing all the references to it things work great :)

  349. 349

    In a future version, cn you make it so we can have different PostBadges for the front page compared to individual blog posts?

    I want to show a digg badge for all posts on the individual posts, but they slow down the front page quite a bit when there are several badges being brought up…

    If we could set different badges, I can make the front page badge not show a digg button, or show a static digg link, but have the individual posts show a full digg badge.

    I hope that made sense ;)

  350. 350

    Nick, that’s great to hear! I’m renaming the functions.php file for the next build so that K2 themes will work.

    cn you make it so we can have different PostBadges for the front page compared to individual blog posts?

    Carl. I’m glad you asked. Hidden away inside Gregarious, is a powerhouse waiting to be unleashed. It’s already possible to do what you’re asking, and more. I’ve tried to provide an extensive API with Gregarious so anyone can use it however they wish. To show something different on the home page, I would recommend ditching PostBadge altogether and using template tags. For example:

    if( is_home() ){
            digg_button('dugg=image&undugg=text');
    } else {
            digg_button('dugg=button&undugg=compact');
    }

    If that doesn’t make sense, let me know and I’ll try and be clearer.

  351. 351

    I’m not a web designer, so you’ll have to give step-by-step instructions if you would be so kind ;)

  352. 352

    Well! I’ve just sneaked in a bug fix without anyone noticing that the checkboxes wouldn’t turn off in the options page. Functions.php has also been renamed to greg_functions.php to avoid conflicts with the K2 theme. Modules now turn on and off by an actual link, so be sure to save any changes before activating / deactivating a module. A site dedicated to Gregarious modules is in the works. It’s a big week ahead!

  353. 353

    Ok Carl. No problem. To show the Digg button if you’re NOT on the home page, use the following code in your template where you want it to appear:

    if( !is_home ){
    digg_button();
    }
    

    And turn the PostBadge module off, so it doesn’t append or leave only the <%CONTENT%> tag in the PostBadge code.

    Just tell me specifically what you’d like to do and I can try and provide the code for it.

  354. 354

    Using your badge code, this is how I would like the individual content pages to look:


    (this is how it is now)

    For the front page, I want to just use the share button for now… perhaps you could give me the code to have a static digg icon as well, regardless of whether the story is dugg or not (floating to the left of the share button)

    Thanks!

  355. 355

    The following will show the “Share This” link and a static ‘Digg this’ image on the front page.

    if( is_home() ){
            echo '<div style="float:left">';
            digg_button('dugg=image&undugg=image');
            echo '</div>';
            share_this();
    }
    

    Stick that somewhere in your template, probably in index.php or home.php.

  356. 356

    I’ve been using this plugin for a month or so. I like it, but I’ve got one wee problem. I use the small versions of the badges because I don’t want things sticking out like a sore thumb. I would like to be able to have the digg, reddit, and shareit icons line up on one line and I can’t figure out how. Can you give me some pointers? Also, I want to ask if anyone has interactive badges for any of the other sites?

  357. 357

    RT Cunningham, you can use CSS to line up the badges. Just set the style for each badge or link to “display:inline”. The “Share This” links have a class of “akst_link”, and the Digg button is wrapped by a div for class “diggWrap” by default. For the Reddit button, just wrap it in a div of class “redditWrap” or something. An example of the PostBadge code you can use:

    <%CONTENT%>
    <%SHARE%>
    <div class='redditWrap'><%REDDIT%></div>
    <div class='diggWrap'><%DIGG%></div>
    

    Then use the following CSS in your stylesheet:

    .akst_link, .diggWrap, .redditWrap {
            display: inline;
    }
    

    You can add space between them by either adding some ‘margin-left’ or ‘margin-right’ in the CSS or by adding spaces between them in the PostBadge code.

    I’ve been looking for interactive badges for other sites to integrate into Gregarious, but so far I haven’t really encountered much. If you happen to find anything, I’ll be happy to create another module for it.

  358. 358

    I ended up adding vertical-align: top; to that CSS and then added:

    .diggWrap, .redditWrap {
    vertical-align: middle;
    }

    I swapped around the digg and reddit and every lined up almost perfect. The badge code above was off and messed me up for a minute (SHARE_THIS instead of SHARE and REDDIT_1 instead of REDDIT).

    Other than that… perfect. Thanks!

  359. 359

    Ankur, pasting that code into my index.php is not going to do anything but display the text… I’m sure I am missing something, sorry, I don’t understand the instructions.

  360. 360

    Would someone mind posting complete uninstall instructions?

    I’ve been having major problems, encompassing nearly everything showing up here in the comments, and I’m trying to make sure it’s completely removed so I can attempt an uninstall.

    However, I’m very new to all of this, and I’ve been combing my site looking for references to Gregarious, and I’m coming up empty, but just deleting the plugin folder and reinstalling the newest version is causing no end of headaches.

    Thanks in advance,

    Chris

  361. 361

    CT: Great! Sorry about messing up the tag names in my previous post. (They should still work, but are hidden from the options page)

    Carl: The code should display a “submit to Digg” image and a “Share This” link only on the front page.

    Chris: Increment the GREGARIOUS_BUILD (at the top of gregarious.php) then open the options page. It’ll tell you which build you’re running and reset the options. Then you can change GREGARIOUS_BUILD back to its original value.

  362. 362

    Thank you — that was exactly it. This is integrated in another site, so I’ve been working on making sure I get everything I need included — yet without sending out double headers.

    Woo!

    John: It could be because your (excellent) theme is not calling the wp_head(); tag in the , meaning the appropriate styles and javascript for Share This don’t get added.

  363. 363

    Hmm…oops.

    Well, I’ve got the imagery and such, but there appears to be a tag before the Share This link. Where is this located so I can remove it….? I can’t find it anywhere in the .php files?

  364. 364

    Ankur,

    Awesome plugin. Thankyou very much, you’ve put a lot of work into this.

    I’m having some trouble (it may have nothing to do with Gregarious itself. Two points.

    1. http://www.pimpmyclarion.com is having trouble. The “Share This” link opens the javascript window right at the bottom of the page. This incrementally increases (the “top”) each time you click it. Taking a squiz at akst.js, seems the “offset” var would be incrementing badly. Or something.

    2. When I downloaded the plugin zip, a lot of the files had a wierd [SQUARE] character, which wasn’t recognised as a character by Ultraedit, and the only way to properly check if the files (the character had taken away all new lines, so some lines were behind comments, and others just weren’t working with this character in them) was to through the files. That stopped on the eof, and on the wierd square char.

    Again, not sure if these points have anything to do with Gregarious, but thought i’d ask here first.

    Cheers,

  365. 365

    Stu:
    1.
    The theme you’re using is producing a javacript error. Replace javascript/imghover.js in the template directory with:

    // JavaScript Document
    
    function changeSty(classpassed){
    //  element=event.srcElement;
    //document.getElementById('buttonIMG').className=classpassed;
        this.classname = classpassed;
    }
    

    2.
    The square character could be due the difference in line endings between windows and *nix systems. Could you try doing a search and replace to replace all instances of the character with a line break?

    John Montgomery:
    By the ‘tag’, do you mean the icon that appears before the Share This link? You can turn that off in the options page by disabling the Share icon.

  366. 366

    After installing Gregarious I get the following error:

    ERROR - Help?

    Help is hyperlinked and returns this in an error pop-up:

    http://digg.com
    Digg.com Digg This Button Error
    The code implemented by the creator of this page has the following problem:
    The URL does not appear to be a properly formed hostname.

    Visit http://digg.com/tools/integrate for more help in debugging.

    I went to that URL and found nothing useful. The URL is indeed a properly formed hostname.

    Any thoughts?
    Scott.

  367. 367

    Scott: That’s Digg.com throwing an error because the URL being passed to them is invalid. If an incorrect URL has been caught, edit the post which is giving the error, and remove the ‘DiggUrl’ custom field or change it to the correct URL.

  368. 368

    “I have seen this happened several times and I cannot explain it’s behavior, but once in a while this plugin will disable all of the modules. I’m the only one with access to this plugin’s admin page and I’ve been checking my systems security left and right and haven’t found any reason to suspect someone else is doing this.

    Ankur, know of anything that might be causing this?”

    I have been having this same problem, along with the database errors.

  369. 369

    Ankur,

    Thanks for the prompt reply!

    1. Changed the js code, the changes appear (viewed from firebug), but still get the problem.

    2. The problem is that the Square character can’t (or i don’t know how to) be searched for. Seems like something Ultraedit doesn’t understand, which is wierd, cause Ultraedit understands EVERYTHING :).

  370. 370

    Stu, check for ^t, I believe the block shows up in place of a tab (but not in UltraEdit).

  371. 371

    I will test, and use it ;)

  372. 372

    Why after I click Edit Database my Gregoreous doesn’t work?
    After Click Edit Database there are some error like this
    Warning: Invalid argument supplied for foreach() in /home/jauhari/public_html/engine/wp-content/plugins/gregarious/gregarious.php on line 347

    Every I try to click edit database again, I found this error
    Warning: Invalid argument supplied for foreach() in /home/jauhari/public_html/engine/wp-content/plugins/gregarious/gregarious.php on line 347

    Please help

    Thanks

  373. 373

    I get the same error as the user above.

    Warning: Invalid argument supplied for foreach() in /xx/nn/ff/wordpress/wp-content/plugins/gregarious/gregarious.php on line 349

  374. 374

    RT,

    Thanks, will take a gander in something other than Ultraedit.

    Jauhari,

    Open up the gregarious.php file in notepad (or Ultraedit, ha) and goto line 347. My instance of the file has a comment on that line, but then I’ve had to jig out the wierd square symbol from places (see above comments). So check out that line, see what code is being run.

  375. 375

    The bold looks a bit pretentious. Sorry, didn’t mean it to look that way.

  376. 376

    I am experiencing this problem as well. I believe it began after I clicked reset.

    Every I try to click edit database again, I found this error
    Warning: Invalid argument supplied for foreach() in /home/jauhari/public_html/engine/wp-content/plugins/gregarious/gregarious.php on line 347

  377. 377

    Anyone game to try the next experimental build?

  378. 378

    I’ve been doing some more experimenting and getting further. I am attempting to integrate this into my home page (not a wordpress page). I do an include on the wp files, the wp_head(), etc. Works quite well, but I’d like to have the digg/share this link on the home page. If I don’t use the digg_button() and share_this() functions, I don’t get the badges. However, the share_this() output seems to have tags surrounding the code, so I can’t get rid of the wrap. Is there a way to get rid of them?

        </code>
    
  379. 379

    OK…I’m having issues posting code and such — I just messed up the last post. threre are “p” tags surrounding the share_this() output.

    Let’s see how that posts :)

  380. 380

    Hi John.
    To post code, try using Postable to encode it so it shows properly.
    If you’re including the entire WP system just to make use of the social stuff, that’s serious overkill; I’ll write you a non-WP version. If you need to use the WordPress files anyway, then I understand.
    The Share This link does indeed have ‘p’ tags surrounding it, but if you apply the following CSS:

    .akst_share_link { display: inline; }
    

    you wont be able to tell that it’s wrapped in anything.

  381. 381

    man I really would like to get this going. I have downloaded the lastest plug-in and nothing

    my blog is

    http://rmml.net/blog

    When I activate and check for modiles on 2 show up on a long horizontal thin banner

    the modules icons and the edit database icon. When I try to click on the edit databse is says that it cannot find the URL?

  382. 382

    I’ve uploaded a newer version - one that hasn’t been thoroughly tested yet, but I suppose we’ll soon find out if it works. It’s much faster, and the modules are able to work just like plugins for WordPress - only they’re for Gregarious, which is in turn for WordPress.

    The errors that people were getting with “foreach” should be fixed now as I’ve added statements to explicitly check the arrays before using them in foreach. Not everywhere, but just in places that would be more likely to throw up blank, such as the modules list.

    The javascript in the admin interface has also been updated and now relies more on mootools (previously I had written my own functions to handle the checkbox replacements and so forth).

    There’s also a new module in there, add-digg, which can show Dugg stories according to your settings. It’s only in its first iteration and the total amount of testing I’ve done is to look at it in action once. Although, if you need to use it, feel free. It should work.

    On the topic of modules, Gregarious now automatically disables a module if it’s renamed or moved.

    Everything seems to be in order. Now, we just have to wait for WordPress.org to reflect the changes.

  383. 383

    Who noticed the “Get more modules” link in the options page? It’s a new feature as of build 41 (Yes, I need to think of a better naming scheme).

    I wont post up the link, as the modules are for the newest version only (uploaded ten minutes ago), but activating the Dashboard module will show the link adjacent to a nice star. I’ll be building in a module to check for module updates (what a mouthful) and creating a feed for people to keep up to date with updates. A lot of work done, and still more needed. I need to get some sleep ;)

  384. 384

    Just in case anyone has the same problem, if you’re using Ultraedit, when it asks “Do you want to convert to DOS Format?” .. select NO. Selecting YES seems to cause the problem I posted about above. The wierd square character.

    Ankur, Cheers for the new version! Uploading and testing now.

  385. 385

    Great! Let me know if it works…

  386. 386

    Ankur,

    Should we be downloading from your site? Cause that version has no “Share-This” module in the install. I copied across the old one to test out, but obviously there’s some code it’s missing.

    Cheers.

  387. 387

    The link above is just pointing to the download from WordPress.com, so it makes no difference. But you’re right, the Share This module isn’t all there. I’m trying to upload it to svn now, but it’s acting strangely telling me it’s there when it’s not, then telling me it’s not there when I try to remove it. Anyway, you can access all the new modules at through this slick page.

  388. 388

    I was right. It was subversion’s fault. I’ve managed to get it uploaded, but I think the icons folder may give some trouble in the zip file… we’ll have to see. At least I have something to blame.

  389. 389

    Ankur,

    Download works fine. All files are accounted for.

    The strange “share-this form appears waaaay down the page” problem i’m experiencing, it’s still happening. And i’m pretty sure there’s something different about the theme i’m using. Was just wondering if you could fill me in (email?) in layman’s terms how gregarious brings up the form. I’ve had a look at the code, and from what I can tell .. uses the cumulative offset function stuff from prototype to get left and top points. It then shows the form, which is hidden down in the footer. However, mine is showing it IN the footer, instead of from the link element.

    That’s my current understanding (lame) of what is happening. Any advice would be just awesome.

    Cheers,

  390. 390

    I was playing with that theme before on my local server, and as I said before, imghover.js is broken. It should be like this:

    // JavaScript Document
    function changeSty(classpassed){
    //element=event.srcElement;
    //document.getElementById('buttonIMG').className=classpassed;
    this.className=classpassed;
    }
    

    Once you’ve done that, remove whereever you added wp_footer() before, and put it in footer.php at the following spot:

      </div>
    </div>
    <?php wp_footer(); ?>
    <!-- container END -->
    
     <div class=\"ExtraBG\">
      <div class=\"Extra\">
      <div class=\"RecentPosts\">
       <h3>Recent Entries</h3>
    ...
    ...
    

    And the popup should show perfectly!

  391. 391

    Ankur,

    Cheers. Done and done. Working as intended.

    Thankyou, much appreciated.

  392. 392

    Great!

    How do you like the new modules download page?

  393. 393

    After downloading again and implementing it, greagarious is working perfectly! Great plugin!

  394. 394

    OK, I’m running WP 2.1 and I’ve got your plugin working just fine, except the nifty js share this box… it goes to a seperate page.

    Shoule “append prototype.js” be checked or unchecked, not that it seems to make a difference (I’ve tried it both ways). Is there somewhere I can read about this issue besides trying wade through 400+ comments? Any Ideas? Other plugins include: feedburner feed replacement, aksimet, and wp-contact form. Thats about it. I love your plugin but really would like the pop-up box…

  395. 395

    Awesome plugin - I’m having a problem though - the database link is as follows:
    http:///?page=gregarious&keys=1

    I tracked it down in the code, and I’m not sure if it’s missing something or incorrect, but this is the line that is apparently not giving it the right URL:
    $gregarious->add_page( 'Edit Database', 'images/icn_Database.png', '', '', $_SERVER['FULL_URL'].'?page=gregarious&keys=1' );

    Am I not doing something right? I tried just dropping it in and activating it, but no luck thus far.

  396. 396

    Andy: Make sure you have <?php wp_footer(); ?> somewhere in your template (usually in footer.php). Otherwise, prototype.js is appending properly.

    Aaron: I don’t know why you’d want to edit the keys directly, but here goes. Unfortunately, I think the weird URL is due to your server config. The fix is simple, though. Just change the code you posted to:

    $gregarious->add_page( 'Edit Database', 'images/icn_Database.png', '', '', get_option('home').'/wp-admin/options-general.php?page=gregarious&keys=1' );

    If you’ve moved the index.php file out of the WordPress directory etc. (chances are you haven’t) then you can change get_option(’home’) to get_bloginfo(’wpurl’).

  397. 397

    Just wanted to say thanks for the plugin and the drop by the site.

    I ended up wiping out everything Gregarious related in mySQL and downloading the latest version and everything worked like a champ.

    Keep up the great work!

  398. 398

    Ankur,

    Modules page is pretty cool. Lots of room for growth.

  399. 399

    I think I’m doing something wrong becuase I get this when I go to activate the plugin…

    Warning: opendir(/var/www/wordpress/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /var/www/wordpress/wp-content/plugins/gregarious/greg_functions.php on line 131

    Warning: opendir(/var/www/wordpress/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /var/www/wordpress/wp-content/plugins/gregarious/greg_functions.php on line 131

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-content/plugins/gregarious/greg_functions.php:131) in /var/www/wordpress/wp-includes/pluggable-functions.php on line 270

    Any ideas what’s wrong?

  400. 400

    Adam: What version of WordPress are you running?

  401. 401

    I’m having serious problems with build 41.

    First, gregarious.php:396 should have ‘url’ changed to ‘wpurl’ so that site with wordpress not in the root will still work.

    Secondly, when I clicked on a module to enable it, it started spewing errors similar to this:

    Warning: include_once(modules/ajax.php) [function.include-once]: failed to open stream: No such file or directory in /wordpress/wp-content/plugins/gregarious_ng/greg_functions.php on line 195

    Warning: include_once() [function.include]: Failed opening ‘modules/ajax.php’ for inclusion (include_path=’.:/usr/share/php5:/usr/share/php’) in /wordpress/wp-content/plugins/gregarious_ng/greg_functions.php on line 195

    It should be noted that the directory structure is different than what you are trying to reference. I would try to find a fix for this, but I simply don’t have the time to wade through the code and see where you referenced the file specifically.

  402. 402

    was the answer!

    Thanks, love the plugin!

    andy

  403. 403

    Jason, it seems you may have renamed the Gregarious directory. It needs to be called “gregarious” for the plugin to work. I may add automatic detection of the folder name in a future build. I have also taken into account the change from url to wpurl in line 396.

  404. 404

    Ankur: I’m using wordpress 1.5.2. It was the newest that would support my web host which doesn’t have mysql 4. :( Am I out of luck with 1.5?

  405. 405

    Ouch. That explains a lot. You’re in luck though, I’m refitting the plugin for 1.5 for someone else, so I’ll email you a WP 1.5 version when I get it worked out. (Hit me if I forget)

  406. 406

    Hi, I am trying to get this plugin working to no avail. I have downloaded the packages from this site and the WP site and both have the same problem. After uploading them to the wp-content/plugins/ folder I go the the admin and activate it - for some reason it is stalling at the “wp-admin/plugins.php?action=activate&plugin=gregarious/gregarious.php” url and then whichever page you go to on the site it’s blank.

    I am using the current 2.1.3 and have tried to install when other plugins are deactivated and still no luck.

    Any advice? Many thanks. J

  407. 407

    Would you be able to check your PHP error log by any chance?

  408. 408


    [client 83.100.133.161] PHP Warning: main() [function.main]: open_basedir restriction in effect. File(/greg_functions.php) is not within the allowed path(s): (/var/www/vhosts/psychblog.co.uk/httpdocs:/tmp) in /var/www/vhosts/psychblog.co.uk/httpdocs/wp-content/plugins/gregarious/gregarious.php on line 56
    [client 83.100.133.161] PHP Warning: main(greg_functions.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/psychblog.co.uk/httpdocs/wp-content/plugins/gregarious/gregarious.php on line 56
    [client 83.100.133.161] PHP Fatal error: main() [function.require]: Failed opening required ‘greg_functions.php’ (include_path=’.:’) in /var/www/vhosts/psychblog.co.uk/httpdocs/wp-content/plugins/gregarious/gregarious.php on line 56

    I think that this is the part that is relevant.

  409. 409

    Managed to sort it. I had to edit the gregarious.php file on line 56 and put the full path to the file rather than just the file name :-)

    Time to have a play with it now

  410. 410

    Great, if you have any more trouble please do get back to me. Enjoy the plugin!

  411. 411

    Hello the problem still show up, I was try to open Line 347 and on Line 347 is this code

    And everytime I try to activated the module, example share this module the link go to
    http://www.jauhari.net/wp-admin/options-general.php?page=gregarious&greg_activate=share-this/share-this.php

    But the correct place is ini
    http://www.jauhari.net/engine/wp-admin/

    Why Gregarious doesn’t read my WordPress Address? but read my Blog Address

    Please give me advice to fix it.

  412. 412

    I really like the plugin, Ankur. I also appreciate that you seem very responsive to the comments here. I saw that there were some similar questions to what I was wondering, but none of them seemed to remedy the problem.

    Basically I was experiencing the error where the Javascript popup would not show up, and I was actually getting redirected to another page. I saw that prototype.js needed to be added, but I was confused because I could see in the page source that it was being added. I also verified that wp_footer() was being called in my footer template, and I saw the akst Javascript code being appended at the bottom of the pages.

    So after some debugging (I figured that it was something that I could find) I found that I wasn’t getting the popup because I had previously removed some of the social sites through the gregarious options (mainly because I wanted to limit the sites to those that I knew well). This caused the Javascript to result in an error (in my case: $(”akst_furl”) has no properties) because I had deleted furl from my list of social sites. This subsquently left the Javascript to error out which resulted in no popup window being displayed.

    To verify what I suspected, I temporarily reset my social sites and saw that I was able to get the Javascript popup to show (because all of the Javascript properties were properly set).

    Now I can obviously go into the akst.js and comment out those that I don’t want and then de-activate them from the gregarious options.

    Fix: Add checks in the Javascript before processing so that anything changed in the gregarious options will not affect the Javascript. I looked at the option_value for greg_social_sites, and perhaps the best way is to read that string in, process it, and then overwrite the Javascript to be output into akst.js? But that’s just an idea.

    Thanks again for the awesome plugin, and hopefully all of this makes sense to you. I’m not sure if this affects all of the people with the same problem, but (as someone who also develops) it’s always nice to get people off of your back about something that you’ve worked so hard on sn’t it? ;-)

    Keep up the good work!

  413. 413

    Jauhari, you probably got my email, but essentially the fix involves change bloginfo(’url’) to bloginfo(’wpurl’) in gregarious.php line 430. (Jason pointed this out above)
    Users who download the plugin from now wont have to do this, it’s been fixed in the repository.

    Derek, I do have a function that updates the akst.js and akst.css files when the social sites are updated. You might need to change
    $filetype = '../wp-content/plugins/gregarious/akst.' . $filetype;
    to
    $filetype = ABSPATH . PLUGINDIR . '/gregarious/akst.' . $filetype;
    in modules/share-this/share-this.php for it to work.
    And thanks for your nice comments :)

  414. 414

    Just to let you know, I made that change and that does allow gregarious to automatically write to the file. I tried it out by resetting the Share This social sites module so that all were available. When I checked the akst.js file it was correctly showing all of the sites (overwriting my previous commenting out of sites that I was not using). However when I made changes to the gregarious social sites options it correctly removed those sites from what I see after I click Share This BUT it did not correctly write to akst.js. And this led to the aforementioned problem where I was redirected to another page vs. shown a Javascript popup. I just wanted to let you know. If there is further information that you can give to me, I’d be more than happy to try it out. But as for now I guess I’ll have to live with my commenting out hack. :( I’ll try to look at the code a little more later and see if there’s a problem. If I find anything, I’ll definitely get back to you.

  415. 415

    Derek, try build 42, just uploaded.

  416. 416

    I just tried that new build that you have up as of 10 minutes ago, and the problem persists. Additionally there are no akst.[js|css] files in the zip (not sure if you just forgot). Anyways I tested it similarly to how I did previously, and I’m sorry to say that I got the same error. And this obviously sends me to a new page as opposed to the popup. On another note, I noticed for some reason that the Share This icon wasn’t appearing in this new build. I’m just speaking from installing it and looking at it for 5 minutes. Hopefully I’ll have some time (tomorrow maybe?) to look at the code and maybe come back with some more useful information. Thanks for the quick responses, Ankur.

  417. 417

    Your blog still says build 41. Are you sure everything is upgraded?

    Build 42 I moved akst.js and .css to the modules/share-this folder. In testing on my local server, everything is running smoothly with the latest build.

  418. 418

    Sorry I forgot to mention that I reverted it back to build 41 after I tried it out (twice just to make sure) because I thought that the Share This icon was working better in that previous build. So I figured that I’d just put it back to how it was already set up and go to sleep (since it was pretty late here when I was trying it out). I can verify that I tried it out because the version number changed from “Reaching 2.0″ to “1.999″ in the Plugin admin page. Also I checked the bottom of the Gregarious page and it said “Running build 42″.

    Anyways, I just tried it again moving the akst.js and akst.css from the modules/share-this/ folder to the gregarious “top-level” plugin folder (I’m assuming this is what I should do to get it to work). I’m not sure what the differences are in our installations but it’s performing how I described before (no Share This icon appearing, Javascript error).

  419. 419

    Hey Ankur. I am excited about trying this plugin for my blog, but I receive this message when I activate it.

    Warning: opendir(/home/occoasta/public_html/Real-Estate/PLUGINDIR/gregarious/modules/) [function.opendir]: failed to open dir: No such file or directory in /home/occoasta/public_html/Real-Estate/wp-content/plugins/gregarious/greg_functions.php on line 132

    Warning: opendir(/home/occoasta/public_html/Real-Estate/PLUGINDIR/gregarious/modules/) [function.opendir]: failed to open dir: No such file or directory in /home/occoasta/public_html/Real-Estate/wp-content/plugins/gregarious/greg_functions.php on line 132

    Warning: Cannot modify header information - headers already sent by (output started at /home/occoasta/public_html/Real-Estate/wp-content/plugins/gregarious/greg_functions.php:132) in /home/occoasta/public_html/Real-Estate/wp-admin/plugins.php on line 16

    I am running on WP 2.0.2 and I have not changed any of the code or the file name. I am not the best at leafing through codes, so any advice on how to rectify this problem are greatly appreciated. As of now I have deactivated the plugin until it can be uploaded correctly. Thanks.

  420. 420

    Derek: Try a clean install of build 42. Leave the akst.css and .js files in modules/share-this and everything as it is, then upload it. It should work.

  421. 421

    Derek: Try a clean install of build 42. Leave the akst.css and .js files in modules/share-this and everything as it is, then upload it. It should work.

    Jared: Side effect of WordPress 1.5. I am working on a version that’ll work on WP 1.5, so I’ll post up when it’s ready.

  422. 422

    Man this is strange. So basically I thought that there might be a problem with having old wp_options for Gregarious so I deleted those rows after I deleted the folder from the plugins/ directory. I figured that was a fresh install completely.

    I removed yahoo from the social sites and then I tried it out on a page. It seemed to work!

    but then when I removed all of the sites that I wanted to remove, it seemed to fail as before. I’m not sure why.

    This time I left everything as it was (the reason I thought that I should move the akst.js and akst.css was because the dashboard module was telling me that they were not available).

  423. 423

    That was my fault. I updated all the references to akst.css and akst.js except in the Dashboard module. Oops.

    Everything’s still working on my local server. I’ll spend some time testing it further. I’m really sorry for all the trouble caused.

  424. 424

    Still working! I don’t know why it’s not working for you…

  425. 425

    In function write_stuff_to_file add this:

    ...
    $gregarious->add_alert( "Cannot write to file ($filetype)", "alert" );
    return 0;
    } else {
    echo $content; // this is added
    fclose($handle);
    return 1;
    }
    }
    return 0;
    }

    When you save your options, it’ll output at the top of the page the content that was supposedly written to the akst.js and akst.css files. Then we’ll know if the problem is in writing or in getting the option from the database.

  426. 426

    I realized after trying to add some debug statements that I had made such a silly mistake. By ignoring the akst-related alerts on the dashboard, I made the mistake of not remembering to chmod! I was tricked into missing this because the file would change on disk each time I made a change.

    In sum, you’re right, Ankur. Build 42 is good. Thanks for the responses, and for the plugin! Sorry for any trouble that I caused.

  427. 427

    Phew! It happens, don’t worry about it. The slightest mistakes are the most frustrating ones. I’m just glad it works now. Feel free to get back to me if there are any other issues or if you have any suggestions.

  428. 428

    plugin is working for me, but the control panel inside of wordpress dashboard “options” says “done errors on page” and I can’t use the “share this options” function. I would like to have the links for sharing open in new windows. currently they open in the same window. thx

  429. 429

    First off, thanks for the plugin. Everything seems to be working fine. My only problem is coming from the Share This portion. It shows up, but the icon does not, nor do any of the icons in the drop-down box.

    I know I am probably missing something, but I have goofed around with it enough, to no avail, that I figured I would just ask if you may know why this is happening.

  430. 430

    This plugin is awesome! It really helps to simplify the maintenance of adding/updating the social bookmarking links.

    But there are some fixes that still need to be made. The Add Digg icon is missing from the Options - Gregarious menu.

    The first time I installed Gregarious, and before I enabled any of the modules, it would bomb when clicking on the Database icon. You might want to perform some checking at that point otherwise panicking users may not get to enjoy the benefits of using Gregarious.

    The new version, 42, reports no akst.css and akst.js, presumably because they’ve been moved to modules/share-this.

    Version 41’s ajax.php has some conditional definition of _ROOT which is undefined for lines 98-102 that I don’t see changed in version 42.

    There was a file in 41 that referenced localhost:8888/__ or the like which I had to change in order to have the icons appear on my blog. My host doesn’t have that port open and thus my browser wasn’t able to retrive the icons correctly. That still appears to be the case for 42.

    The final issue I have seems to be some conflict with the SEO All In One plugin. I think the template names you use such as CONTENT may need to be prefixed by GREG_ or some such to prevent name collisions with other plugins in the future.

    I hope it doesn’t sound like I’m belittling or attacking your work. This is an extremely useful and powerful plugin I intend to use as long as social bookmarking sites are around! (Though we might need a way to add new sites to the list when the time comes. Perhaps they can add new modules for Gregorious as well!)

    Thank you again,
    Alfonso Guerra

  431. 431

    I am running the anaconda theme for wordpress 2.1 I have installed the gregarious but i have an error in the dashboard showing that the postbadge module is not activated. I have triple checked and I have all the files in the designated spots. suggestions of what to check?

    WS

  432. 432

    WS, just click on the PostBadge module to activate it. PostBadge is what adds the links / buttons to your posts.

    Alfonso:

    The Add Digg icon is missing

    I’m still cleaning up that module and haven’t yet decided on an icon, so if you have any suggestions feel free to let me know.

    The first time I installed Gregarious, and before I enabled any of the modules, it would bomb when clicking on the Database icon.

    I’ll look into this and fix it up ASAP. Thanks for letting me know.

    reports no akst.css and akst.js, presumably because they’ve been moved to modules/share-this.

    Yeah, I forgot to update the path of the akst.js and .css files in the Dashboard module, but it still runs perfectly fine. I have updated it, but posting the new release is becoming somewhat difficult as I have to wait for the official release of the Digg API before I can do anything.

    There was a file in 41 that referenced localhost:8888/__

    That may have been a CSS or JS flie (most likely akst.js or akst.css). I’ll fix it for the next release, but that’ll get updated by itself once you save the options once.

    conflict with the SEO All In One plugin.

    I’ve never heard of that plugin, but I’ll be sure to see if I can do some testing and overcome any conflicts.

    Morbid,

    My only problem is coming from the Share This portion. It shows up, but the icon does not, nor do any of the icons in the drop-down box.

    Just hit “save” once in the options page and that should update the CSS to point to your images. If that doesn’t work let me know.

    Agnetsully,

    dashboard “options” says “done errors on page” and I can’t use the “share this options” function.

    I’m not sure if this is an IE thing, but it be because some of the script files are missing. Check if functions.js and mootools.js are in the scripts folder.

    I would like to have the links for sharing open in new windows.

    I can certainly do that… though you may have to wait till the next build.

    I think that’s everything. Thank you so much to all of you for letting me know of all these issues so I can fix them.

  433. 433

    Folks,

    I realize that this is a simple path error but I’m new to PHP and didn’t know if the path was called from somewhere else or not. Here is the log:

    [13-Apr-2007 18:38:09] PHP Warning: opendir(/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /blog/wp-content/plugins/gregarious/greg_functions.php on line 135

    Can ya point me in the right direction? BTW, everything seems fine but it just cant find the modules.

    Dave

  434. 434

    getting the following error after activating plugin:

    Warning: opendir(/home/writer/public_html/PLUGINDIR/gregarious/modules/) [function.opendir]: failed to open dir: No such file or directory in /home/writer/public_html/wp-content/plugins/gregarious/greg_functions.php on line 132

    Warning: opendir(/home/writer/public_html/PLUGINDIR/gregarious/modules/) [function.opendir]: failed to open dir: No such file or directory in /home/writer/public_html/wp-content/plugins/gregarious/greg_functions.php on line 132

    running on wp 2.0.5 | hoping to upgrade in the near future but any advice for now?

  435. 435

    All errors with “PLUGINDIR” in them are because WordPress 1.5 doesn’t have this defined. To fix it, just define it in gregarious.php (to wp-content/plugins/) like this:

    define(”PLUGINDIR”, “wp-content/plugins”);

  436. 436

    Good Morning,

    Thank you for the suggestion.

    I changed gregarious.php:

    // START GERGARIOUS CODE
    //===========================================================================

    @define(”PLUGINDIR”, “wp-content/plugins”);

    @define(’GREGARIOUS_BUILD’, 42); // leave this please

    But still:

    [14-Apr-2007 15:16:46] PHP Warning: opendir(/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /blog/wp-content/plugins/gregarious/greg_functions.php on line 135

    I know it’s something dumb, but I’m new at this and could use some help understanding it all.

    wp version is 2.1

    Thanks in advance,
    Dave

  437. 437

    Oooops, version is 2.0.2 (sorry)

  438. 438

    Great plugin. I have come across a little bug: when I turn off the digg button, still appears where the button was.

  439. 439

    Sorry, that should read, <%DIGG%> still appears where the digg button was.

  440. 440

    John H. Stevenson, just remove the <%DIGG%> tag from the PostBadge code.

  441. 441

    I am trying to figure this out, it’s just a little over my head. I did as you suggested to no avail. Any other suggestions or guidance?

    Dave

  442. 442

    The best option would be to upgrade to 2.1 :)

  443. 443

    I’m having the same problem as Dave and ran through your suggestions and they didnt work.

    I have Wordpress 2.0.4
    I dont want to upgrade to 2.1 because I have thousands of posts on my blog and dont want to risk losing them.

  444. 444

    Ok, I just upgraded to wp 2.1 (and regret it as I dont like this new wp version at all :(

    but now Gregarious seems to work, but where is it on the page? I cant find it, and yet it is activated.

    thanks

    Marc

  445. 445

    Sorry if this question has already been asked but rather than getting the nice drop down box when clicking the share link listing the bookmarking icons it is loading a new page with the bookmark icons listed, the post, and the email form. How can I change it to display the drop down menu like on this page?

    Thanks a lot for the plugin.

  446. 446

    If nothing is showing, make sure the PostBadge module is enabled.

    Mike, you need to make sure that a <?php wp_footer() ?> call is present in the footer.php file (or similar).

  447. 447

    Thanks! Works like a charm now.

  448. 448

    Digg button is not showing because Digg.com is down for some time.

    See: here.

    Probably updates to the Digg button or something.

  449. 449

    Thank You

  450. 450

    I’m not sure if this is a bug but for some reason my blog is validating anymore. What makes this strange is it did a week before with the plugin still active. The validator spits this out for each digg badge.
    Line 91 column 109: general entity "url" not defined and no default entity.

    …href=’http://digg.com/submit?phase=2&url=http%3A%2F%2Fdev.clarktech.no-ip.com
    Thanks for any help

  451. 451

    Sorry forgot to enclose the rest of the error.
    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

  452. 452

    Everything will still work for the time being, but I’ll add further URL encoding for the next release. (Still waiting on the Digg API).

  453. 453

    Yes everything still works perfectly. Great plugin by the way. Look forward to the next release. Thanks

  454. 454

    Beautiful plugin… I am new to this and trying to get up to speed fast. I am using WP 2.1 and h the SKY 2.0 theme with all of your updates, and for some reason when I uncheck the Individual WordPress “pages” box and “save” it goes back to the default.

    Also, the icons are not showing up in the “share this” area or in the drop down box.

    Thank you for work on this great plugin.

    David

  455. 455

    I seem to have a problem with the Digg badge showing up on my blog.

    Here are my Gregarious settings:
    Un-dugg posts: Show nothing
    Detect incoming diggs: yes
    Dugg posts: Show digg badge

    I also have WP-cache installed. Is there any conflicts with this? I always clear the cache frequently, also.

    For some reason, the digg badge never shows up on the post after it is dugg. How long does this usually take to show up? Are there any conflicts with any other plugins? Thanks.

  456. 456

    Gregarious can’t auto-detect when you have WP-Cache enabled. BUT you can overcome this by setting Gregarious to show a Digg button regardless of whether the post has been Dugg or not.

    I’m working on the final version of Gregarious 2.0 which should see this limitation removed.

    David, I’m not sure what could be causing this, but the next update is almost a complete rewrite, so it should be fixed by then.

  457. 457

    Thank you Ankur, I will look forward to the 2.0 release.

    By chance do you have another link to the 2.0 beta?

  458. 458

    The link on the post above is the only link… it’s the same as the one on the WordPress plugins page.

  459. 459

    hi ankur,

    thanks once again for your plugin. everything’s working fine with it. but recently i changed themes and i noticed that gregarious’ fonts became too big to the point that some links in the social web are overlapping each other. im new to wordpress and php, so i will appreciate it if you could point me to the things i need to change..

    thanks

    alvin

  460. 460

    I’ve installed, activated and configured the plug-in but nothing happens….

  461. 461

    Hi there, im using your plugin right now, but how do i get easy such a nice “share it” thing under my article.

    and how can i tell my template to only show share this when someone clicked on read more??

    many thanks!

  462. 462

    I am a newbie to the entire thing. I have a blog in wordpress (22yardsofcricket.wordpress.com) can I include this plugin in the blog hosted by wordpress.com ? I am not able to find any directory to upload gregarious folder !

  463. 463

    Alvin, the font sizes will be due to CSS. You can reduce the font size for #akst_form in your CSS and everything should be back to normal.

    Hebua, you need to activate some of the modules depending on which links / buttons you want to show. The PostBadge module needs to be on for the links to be automatically appended to your post content.

    Microdesign, activate the Share This and PostBadge modules. Then make sure that the <%SHARE%> or <%SHARE_THIS%> tag is present in the PostBadge code (it should be by default). Also in the PostBadge settings, turn off the option that says to show it on the home page.

  464. 464

    Chandrasekaran, unfortunately I don’t think that wordpress.com have included this plugin in their list, so at the moment it’s not possible. I’ll submit a request once I’ve completely finished version 2.0.

  465. 465

    Any chance you could add a port to twitter? I would love to not also have to use “twit this“.

  466. 466

    Awesome. I’m trying this out on my blog now. Thanks man

  467. 467

    Thanks.

    It shouldn’t be too difficult to write a Twitter module. I don’t actually use it, but I can probably recycle most of the “Twit This” code into a module.

  468. 468

    I just upgraded to 2.1 and after i activated i get this error:
    Warning: load_modules(modules/ajax): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/ajax’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(modules/dashboard): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/dashboard’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(modules/digg-button): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/digg-button’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(modules/share-this): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/share-this’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(modules/post-badge): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/post-badge’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(modules/feed-flare): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/feed-flare’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(modules/digg-stats): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/digg-stats’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(modules/updater): failed to open stream: Permission denied in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: load_modules(): Failed opening ‘modules/updater’ for inclusion (include_path=’.;c:php4pear’) in e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php on line 201 Warning: Cannot modify header information - headers already sent by (output started at e:USERSbostonsuckswwwwp-contentpluginsgregariousgreg_functions.php:201) in e:USERSbostonsuckswwwwp-includespluggable.php on line 271

    any ideas?

  469. 469

    I installed this module but when I go to options it says that there are no modules installed. I only see a modules Icon which I cant click on and A database Icon which I can click but it takes me to my blog page. Help Pls?

  470. 470

    Michael, it seems to say “permission denied”, so maybe try CHMOD everything to something like 755 or 777.

    Saje, have you uploaded the files in gregarious/modules/?

  471. 471

    yes I did.

    So I decided to upgrade my WP to the latest (2.1.3) and it worked. But then When I tried to enable post-badge it just turned everything white! It goes back to normal when I delete the gregarious folder from plugins but if I try to install again everything goes back to a white screen. :(

  472. 472

    how important is the post-badge? It is the one causing my site to become blank/white? If I delete it, I could see stuff again.

  473. 473

    sorry I keep posting… I also noticed that I dont have image files for add-dig and I think digstats (based on your screenshot, I do not have - from the left- icons 4 and 6). Is that going to be a problem?

    And I guess I do need post-badge… but everytime I turn it on my browser takes me to a blank page/white page. And all my blog pages and admin pages are like that.

  474. 474

    You can leave off the PostBadge module and just use the template tags, such as <?php digg_button(); ?>, etc.

    Add-Digg doesn’t have an icon yet.

  475. 475

    Do I have to do that for each one? I dont know what all the tags are or where to put them.

    Is there anyway to get the postbadge to work at all?

  476. 476

    I love the plugin, although I was wondering if you could list the version number at the download link above and in the zip file itself. It would make it much easier to know where you are in the development cycle :) Thanks again for the great work!

  477. 477

    Saje, I’m not sure what the problem is so I can’t really propose a fix… if you can look at your error log that would be helpful. For now, you can use the template tags (you put them in your theme where you want them to appear). If that’s too much effort, I’ll write another PostBadge module.

  478. 478

    Tenken, great idea. I’ll do that.

    There’s also an updater module included with Gregarious to let you know when an update is available, though I’m in the process of improving its usability.

  479. 479

    Nice idea for a plugin.

    But I keep getting this text appearing in my posts:

    I’ve tried tweaking the options but can’t get rid of it.

    I don’t want a Digg button on my site. I would like to just have the ‘Share This’ button on my site.

  480. 480

    Dean, disable the Digg module and leave only the PostBadge and Share This modules on. Then remove the <%DIGG%> and / or <%DIGG_THIS%> tags from the PostBadge code.

  481. 481

    pluggin is working great but the icons in the control panel with the exception of the edit database icon are not working. suggestions?

  482. 482

    Do not get a pop up box or any icons for the social sites.. takes me to a new page for share this. Ive checked and icon files are there and if i put in the url i get the gif fine.. have in the footer.php.

    any suggestions blog is here

    Thanks in advance for any help

  483. 483

    I’ve installed, activated and configured the plug-in but nothing happens…

    any suggestions?

  484. 484

    <

    p>I have no idea where to put them on my template :4a7d3d609129a9296bf7ac0608c2097

    How do I check for the error log?

    If you could write another post-badge thing that would be awsome!

    I really want to use this program… its too cool not to. :(

  485. 485

    The latest version seems to be working much smoother. My only question is how do I see which posts have been dugg? Is there a way to see a listing of dugg posts? The link on the overview page doesn’t do anything.

    Other than that, great work lately. It’s turned out to be a pretty good plugin.

  486. 486

    But then When I tried to enable post-badge it just turned everything white! It goes back to normal when I delete the gregarious folder from plugins but if I try to install again everything goes back to a white screen

    yes white!!!!!!

  487. 487

    Jason, final release will have this built in, but for now, here’s your answer.

    Pam, you’re missing the file: gregarious/modules/share-this/akst.js
    I can’t think of any reason, other than an old version of the Share This plugin. You can download it from here.

    Saje, it might be best to wait for the final release of version 2.0 unless you can find someone who knows how to edit your WordPress theme.

    Seth, what’s your blog’s URL?

  488. 488

    Liukh, looks like you’re having the same problem as Saje. I’ll have to investigate.

  489. 489

    Hi Ankur!

    I get the following code when I activate Gregarious:


    Warning: opendir(/home/virtual/site216/fst/var/www/html/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php on line 136

    Warning: opendir(/home/virtual/site216/fst/var/www/html/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php on line 136

    Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php:136) in /home/virtual/site216/fst/var/www/html/blog/wp-admin/plugins.php on line 16

    I have checked that all files are uploaded and checked permissions. Any idea why I am getting that error?

    Thanks!
    PS I have Wordpress 2.0

  490. 490

    PS I have Wordpress 2.0

    That’s why. As I said above, if you’re running an older version of WordPress, you can either

    • upgrade Wordpress
    • define PLUGINDIR as wp-content/plugins in gregarious.php
    • or wait for the final release of Gregarious 2.0

    Apologies for the inconvenience.

  491. 491

    Upgrading now, thanks Ankur!

  492. 492

    I am not sure how to:
    define PLUGINDIR as wp-content/plugins in gregarious.php

    Can you clarify? Thanks so much.

  493. 493

    Hi Ankur,
    I googled how to define define(”PLUGINDIR”, “wp-content/plugins”); however, it still does not function. I can’t upgrade Wordpress now as my host doesn’t have high enough versions of MySQL and PHP, so I have to either migrate hosts or make this fix work. Following is the code I got after I amended gregarious.php:

    Warning: opendir(/home/virtual/site216/fst/var/www/html/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php on line 136

    Warning: opendir(/home/virtual/site216/fst/var/www/html/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php on line 136

    Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php:136) in /home/virtual/site216/fst/var/www/html/blog/wp-admin/plugins.php on line 16

  494. 494

    I can’t seem to figure out how to make the Share-this popup window close to the Share-this link. I’ve read through all comments and documentations and no matter what I try the popup window opens well below the link (users would have to scroll the page down to see the window). Any ideas as to what I’m missing?

  495. 495

    hmm… at least I know I am not alone in this.

    Do you know how long til 2.0 gets released?

    Also, my theme is the default theme… I just changed the colors and image files, nothing else. :( I dont know if that would affect anything.

    Thanks for the help.

  496. 496

    Taryn,
    The errors still imply that PLUGINDIR is not defined. Have you written near the top of gregarious.php:
    define(”PLUGINDIR”, “wp-content/plugins”);

    Jason, the Share This popping up below would be due to the placement of the <?php wp_footer() ?> call in your template / theme. If it’s too far down, you get the box showing up too far below the content.

    Saje, I think I’ve fixed it now, but I’ve just got to clean up a little before the next release. It wont be long now!

  497. 497

    Hi Ankur,
    Yes, I pasted it exactly as you have it at the top of my page. Below is the section between Start Gregarious and Debugging:

    @define('GREGARIOUS_BUILD', 42); // leave this please

    @define(’AKST_POPUP’, true);
    define(”PLUGINDIR”, “wp-content/plugins”);

    // following two need to be changed if you have gregarious installed in a different path
    @define(’GREG_WPROOT’, ‘../../../’);
    @define(’GREGARIOUS_FILEPATH’, ‘/wp-content/plugins/gregarious/’);

    // that’s it. no further editing, thanks.

    @define(’OPT_PREFIX’, ‘greg_’);

    require_once ‘greg_functions.php’;

    function do_if_exists( $function ){
    if( function_exists($function) ){
    eval( “$function();” );
    } else {
    return ‘inexistence’;
    }
    }

    Here is the error code:
    Warning: Division by zero in /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/gregarious.php on line 46

    Warning: opendir(/home/virtual/site216/fst/var/www/html/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php on line 136

    Warning: opendir(/home/virtual/site216/fst/var/www/html/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/greg_functions.php on line 136

    Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site216/fst/var/www/html/blog/wp-content/plugins/gregarious/gregarious.php:46) in /home/virtual/site216/fst/var/www/html/blog/wp-admin/plugins.php on line 16

    Thanks for your help…I am not sure what I am doing wrong…

  498. 498

    Ankur

    Yeah, that’s what I thought but it doesn’t seem to make any difference where I place the call as the popup always shows up lower on the page. I’m using the Blogging Pro theme (widgetized version) from blogginpro.com. Maybe it has something to do with the theme but I’m not sure what.

  499. 499

    I am not sure what I am doing wrong…

    Neither am I, Taryn. Division by zero, and PLUGINDIR still not defining… I’ve added a few more error checks and fixes in the next build, so it may be best to wait for the next release.

    Jason, it must be the theme. Someone else had a problem with the Blogging Pro theme, but it was fixed moving <?php wp_footer ?> to about line two or three, and fixing the javascript error that accompanies that theme. I’m not sure how different the widgetized version is, but I’ll download it later and take a look.

  500. 500

    Thank you. I really appreciate your help.

  501. 501

    Okay, well, I put everything back to default, fixed the javascript error then put all the calls where they were supposed to be…and it works. I guess I screwed something up somewhere along the way. Thanks for your help.

  502. 502

    Glad it’s working!

  503. 503

    I’m working on a new self-hosted site and I installed gregarious. At first the share this button worked great, but now the pull down menu does not come up. It take you to a whole new page, instead of just a compact menu.

  504. 504

    Could be because of javascript errors in the template / theme or missing the <?php wp_footer() ?> call in the footer.php file.

  505. 505

    Sorry to be such a ditz, but what is URL for feedflare Feedburner feed URL?

  506. 506

    Chris, if you’re “burning” a feed with FeedBurner, the feed URL will be feeds.feedburner.com/whatever-you’ve-set-it-to. For example, the feed for this site is http://feeds.feedburner.com/VacuousVirtuoso.

  507. 507

    Hi,

    I installed Gregarious but how do I make it work with FeedFlare? I enabled the module and put in the PostBadge code but nothing appears in the post. Do I need to modify the template like FeedBurner says?

  508. 508

    Taryn,

    Re: Comment 544

    define(”PLUGINDIR”, “wp-content/plugins”);

    Should be:

    @define(’PLUGINDIR’, ‘wp-content/plugins’);

  509. 509

    Uhh. Sorry. It looks like it’s working now. But the FeedFlare didn’t show up at all when I tried it first time. Is it supposed to take some time before the FeedFlare shows up?

    Anyway, thanks for an awesome plug-in!

  510. 510

    Hey its me again…

    So I thought maybe the default theme might be to blame for my issues with postbadge but I tried a bunch of other themes and its all the same thing. :( Just wanted to let you know.

    Do you think it might be because I’m hosted by Yahoo? Im running on PHP 4.3.11 and MySQL 4.1.14

    I cant wait for the new gregarious to come out.

  511. 511

    Takashi, I think FeedBurner are responsible for the difference between old / new posts. For example, the FeedFlare on this post is different to the newer ones on this site.

    Saje, it’s definitely not the theme. It’s highly likely that your server configuration is vastly different to what I’ve accommodated for in the plugin, but as I said, version 2 final should solve our woes.

  512. 512

    Hi, firstly, thanks a lot for this great plugin.
    I really like to use it, but I am having a few problems…firstly, I can’t see all the menus because of my wordpress’s orientation, which is right-to-left (rtl) for Persian language.
    This is how my config panel looks like.

    Also, I can only get Digg button to work. Share this button, comes and goes!! meaning sometimes it’s here and sometimes it’s not!
    I have put the placeholders in a table and put the code in Post Badge. Can I do that? Will HTML code work in post badge? if not, how can I style the position of the elements?
    This is how it looks.

    Thanks.

  513. 513

    Ankur, thanks a ton. I moved the akst.js into the shareit folder and its working. One small adjustment I would like to make is when the share it box pops up its quite a ways down the page. Is there an adjustment to make it pop up closer to the share this link under the post?

    thanks

  514. 514

    I got it working!

    I downloaded it from the wordpress link and it worked fine, Must have been something wrong when I uploaded it to my site the first time.

    I just joined digg so this is pretty cool, one of the nicest plugins I have ever used!

    Here is my test digg article , now I just got to move the button up to the top of the article and I will be all set.

    Thanks

  515. 515

    Thought you would like to know, that your plugin is working on a wordpressmu site with no problem. I did have to put the plugin inside the regular plugin folder instead of the MU plugin folder, but it looks great. I got one article on digg “Silvertag a Scam?”

  516. 516

    Hi!

    i installed the above program but nothing gets displayed on my posts?

    any ideas?

  517. 517

    Gregarious is great, but I have found something that would be nice if it was delt with in the next version.

    I have it set to only show the digg button, once it has been submitted. This is a very nice feature except… Some numbnuts just submitted an item and changed the link line to read just the url, and not the specific url for the story.

    Meaning
    sitename.com not (sitename.com/storyid)

    Now every undug story on the front page comes up as 0 diggs, instead of coming up blank.

    Thanks

  518. 518

    I just posted to the WP plugins site.

    I did not have Share This installed already. I installed Gregarious and activated it and saved a test post. No Share This icon. Share This doesn’t show up in the list of plugins. What have I done wrong?

    I’ve checked and found that the plugin download files on the author’s site and on WordPress are identical–in case anyone else wastes time on that.

    As a new WP user I am just amazed at how much prior knowledge is assumed and how little clear and intelligible documentation is available. Take this plugin. WHAT IS A POST BADGE FOR CRYING OUT LOUD? I use delicious and I use Furl. I do not want to put a load of ugly icons on my blog. This looks like a useful tool, but the installation docs could do with some links to a wiki that explained all the options.

    This is not the first time I’ve had this experience with a WP plugin.

    I should add that Share This doesn’t show up in my plugins and I do not know if this is how things should appear or not. The installation docs contain no information on this.

    Apologies if I seem frustrated. I am. Just had a bad time with another plugin and I was hoping this was going to cheer me up!

  519. 519

    Update: I deactivated Gregarious and installed Alex King’s Share This in the plugins directory on my hosted blog and in a local copy on my PC, and in neither case did Share This show up in the plugins panel in the admin console (Gregarious was also not working on my PC).

    I’m baffled.

  520. 520

    I got Gregarious working, but my icons do not show up when I have “Share this” enabled. Any ideas out there?

    Thanks!

  521. 521

    Milad, I think a CSS property to show left to right in Gregarious will easily fix this. I’ll add it to the next release. HTML works in PostBadge.

    Pam, it depends on where the <?php wp_footer() ?> call is in your template’s footer.php file. If it’s not showing in the correct place, you may have to move it up a bit.

    Bill, placement of things is controlled via the PostBadge module’s PostBadge code.

    Steve, you may need to enable some modules, especially PostBadge.

    Kyle, v2 will fix your problem and go beyond it. I’m working hard on it…

    Ponolan, I’m sorry that there isn’t much documentation. I’m aware that it may be a little confusing, but there’s so much functionality in this plugin that it’s taking me a while to write up the docs. It is coming, I assure you, and version 2 final (as I keep saying) is really going to make it easy to install, use or upgrade the plugin.
    Oh, and Share This doesn’t show up in the list of plugins when you install Gregarious; you need activate the “Share This” module then configure it from the Gregarious options page. To actually append it to your posts, you activate the PostBadge module, otherwise you use a template tag. Again, I’m sorry for the lack of documentation and will double my efforts to get it up.

    Jayemes, do you mean the link on your posts, or just the icon in the dialog?

  522. 522

    Thanks this helps a lot. PLEASE just make a one page QUICK START guide!

  523. 523

    I have updated gregarious and now I am getting a series of errors (see below)
    Thanks in advance for your help,

    Stephen

    Warning: load_modules(modules/dashboard) [function.load-modules]: failed to open stream: No such file or directory in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules() [function.include]: Failed opening ‘modules/dashboard’ for inclusion (include_path=’.:/usr/lib/php’) in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules(modules/digg-button) [function.load-modules]: failed to open stream: No such file or directory in /home/nodvin2/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules() [function.include]: Failed opening ‘modules/digg-button’ for inclusion (include_path=’.:/usr/lib/php’) in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules(modules/share-this) [function.load-modules]: failed to open stream: No such file or directory in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules() [function.include]: Failed opening ‘modules/share-this’ for inclusion (include_path=’.:/usr/lib/php’) in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules(modules/reddit-button) [function.load-modules]: failed to open stream: No such file or directory in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules() [function.include]: Failed opening ‘modules/reddit-button’ for inclusion (include_path=’.:/usr/lib/php’) in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules(modules/post-badge) [function.load-modules]: failed to open stream: No such file or directory in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

    Warning: load_modules() [function.include]: Failed opening ‘modules/post-badge’ for inclusion (include_path=’.:/usr/lib/php’) in /home/xxxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 199

  524. 524

    Is it possible to have Gregarious show up only on posts, but not on pages? I went to put an is_page() conditional in my template, then realized… D’oh! This plugin requires no template modification. So that must mean there’s a config option for it somewhere… but I can’t find it. Thanks.

  525. 525

    Scot, in the PostBadge options there are about five checkboxes at the bottom. One of them should be an option to show / hide things on pages.

    Stephen, has the modules/ folder been uploaded correctly? Otherwise, it’s something to do with your PHP config and I’ll need to look into it.

  526. 526

    Ankur:
    Yes. All the files in the modules directory were uploaded. I just did it again and am getting the same error.

    Everything worked great before I did the update.

    Thanks in advance for your help.

    Stephen

  527. 527

    Bingo. Thanks Ankur - works like a charm.

  528. 528

    Stephen,
    It seems the code that’s throwing those errors is this bit out of greg_functions.php:

    if( file_exists(ABSPATH.PLUGINDIR.'/gregarious/modules/'.$module_path) ){
        include_once 'modules/'.$module_path;
    }
    

    Try replacing include_once with just include and that may solve your problem. If not, then I can try to reproduce this if you tell me your PHP version and basic server configuration.

    Edit: I think I’ve got it. Replace the load_modules function code in greg_functions.php with:

    function load_modules(){
        $modules = modules();
        if( !$modules ) return;
        foreach ( $modules as $module_path => $on ){
            if( file_exists(ABSPATH.PLUGINDIR.'/gregarious/modules/'.$module_path) ){
                include_once ABSPATH.PLUGINDIR.'/gregarious/modules/'.$module_path;
            } else {
                deactivate_module($module_path);
            }
        }
    }
    
  529. 529

    Ankur:

    My first attempt did not work. I am not sure which part of the code to replace. Do I replace all of the following below?

    Thanks, Stephen

    /function _load_modules(){
    // $modules = array(’digg-button’, ‘digg-stats’, ’share-this’, ‘reddit-button’, ‘post-badge’);
    $modules = modules();
    if ( is_array($modules) ){
    foreach ( $modules as $module => $on ){
    if( !$on )continue;
    $filename = realpath(dirname(FILE)).’/modules/’.$module.’.php’;
    // dont file exists each time?
    if( file_exists($filename) ){
    include_once $filename;
    }
    }
    }
    }
    /

    function load_modules(){
    $modules = modules();
    if( !$modules ) return;
    foreach ( $modules as $module_path => $on ){
    // if( file_exists(’modules/’.$module_path) ){
    if( file_exists(ABSPATH.PLUGINDIR.’/gregarious/modules/’.$module_path) ){
    include_once ‘modules/’.$module_path;
    } else {
    deactivate_module($module_path);
    }
    }
    }

  530. 530

    Stephen, I’ve uploaded the latest test version. You can access it via svn, just run:
    svn checkout http://svn.wp-plugins.org/gregarious/branches/gregarious
    If you don’t have subversion, I can zip and upload it for you.

  531. 531

    Hello, first of all, great work with the WP extension. I’m experiencing a very weird error, every once in a while, all of the settings are turned off, which causes an error on the blog (something along the lines of it can’t find a function share_this() or something like that). The solution is to turn the appropriate options back on in the admin area.

    This has happened about 6 times now, and I’ve noticed a pattern of it happening everytime a new post is made by a blog contributor we have (his WP role is Editor) and even more specifically it has been whenever an image is included in the post. For whatever reason, it seems as if all of the settings are reset. Any ideas?

  532. 532

    Ankur:

    I don’t have terminal access at my hosting site. But I was able to view the code in Firefox
    http://svn.wp-plugins.org/gregarious/branches/gregarious/greg_functions.php
    and cut and past the test code.

    Here is the error I get with the test code.

    Parse error: syntax error, unexpected ‘<’ in /home/xxx/public_html/blog/wp-content/plugins/gregarious/greg_functions.php on line 264

    Thanks,

    Stephen

  533. 533

    Thanks for letting me know, Kevin, I appreciate it. I’ll take a look and see if anything could be causing this. (You may want to check for updates too, as I remember something of this sort in an older build, but I haven’t heard about if for a while)

    Stephen, emailed you the new version. There significant changes that require a complete update.

  534. 534

    having similar installation troubles -

    Warning: opendir(/home/parallel/public_html/brokertech/blog/PLUGINDIR/gregarious/modules/): failed to open dir: No such file or directory in /home/parallel/public_html/brokertech/blog/wp-content/plugins/gregarious/greg_functions.php on line 135

    directory exists, permissions good

  535. 535

    upgrading WordPress seems to have fixed that error.

  536. 536

    WordPress 2.1 minimum for the current build. I’ll be trying out the upcoming build with older versions to see if it runs, which it should. Until then, 2.1 or higher it is.

  537. 537

    I’m having the same problem as Jayemes. I recently uploaded this plugin, but the Share This icon isn’t displaying on any of my posts when viewing any one of them as a single page.

    The Share This icon is showing at the end of your “single” post. But I wonder if there’s anything else I need to do on my own blog.

    Say, what plugin did you use to add those extra options for comments? And just thought I’d suggest your blog use the Subscribe To Comments plugin one as well so those who commented can keep track of which one they posted on. :)

  538. 538

    Dane, the problem you’re having is that the Share This icon is showing on the home page, but not on single pages?
    The icon exists, and the css is fine, so I’m tempted to think it might have been a browser cache issue (there have been a few cases of “icon isn’t showing”, but when I navigate to the site, everything’s fine).

    The plugin to get the markup buttons for comments is found here. I’m also using Markdown for posts and comments.

    Comment feeds are available (they should show up as a list when you click subscribe on a single post), but I’ll add the plugin you’ve recommended as well, to make it more obvious.

  539. 539

    Hi Ankur, so far no dice. I really can’t see it on
    any of my posts when viewing it as a single page,
    never mind the home page.

    I also added this to one of my other blogs, yet I
    can’t see the Share This icon either when viewing
    that blog’s latest entry in single view. I wonder
    if the theme has any relevance, although maybe not
    as you indicated somewhere around your barrage of
    comments. :)

    The funny thing is, I can see yours here. But you
    actually can see the icon on your end, no matter
    what post you click on to check?

    Then again, I’m using IE. I’ll try using another
    browser…as soon as I download and install it. :D

  540. 540

    Hi there,

    How do I re-position this from the end of my post to have it display at the top of my post?

    Thanks!

  541. 541

    Ian, shift the <%DIGG%> tag up before the <%CONTENT%> tag in the PostBadge code (under PostBadge options).

    Dave,
    could you send me a link to your site so I can take a look?

  542. 542

    Sorry?

    It’s showing for me, anyway. Try doing a hard refresh, perhaps? (Ctrl-F5, I think)

    You may also want to remove the <%DIGG%> tag from the PostBadge code if you’re not using the Digg module.

  543. 543

    Hey Ankur, I think I finally go it. I didn’t turn on the Post Badge option, it’s showing now.

    However, it was showing . But I’ll figure that out somehow, thanks! :)

  544. 544

    At my site the digg URL is getting mis-formed, (somehow a + sign regularly gets put into the URL) is there a fix for this?

  545. 545

    Ankur, do you mean like this?

    or this:

    I’ve tried both and nothing’s happened. The icon and link are still showing at the end of my post.

    Any ideas?

    Thanks.

  546. 546

    Sorry…didn’t appear..see below but minus the brackets

    %DIGG%
    div class=’diggWrap’ %CONTENT% /div
    %SHARE%

    or this:

    %DIGG%
    %CONTENT%
    %SHARE%

  547. 547

    Hey Ankur,

    Any further thoughts? I tried your original suggestion but it didn’t work. I’m keen to get this on my site. The problem I’m having is that each one of my posts in my blog is a Slideshow. Each post ends with Gregarious. What happens is that when I click Share It and the options menu drops down, it actually drops down behind the next post / slideshow. It doesn’t overlap it.

    So, I was trying to change the position of this. I suppose it would even work if the options menu would move up instead of moving down. Is that possible?

    Thanks
    Ian

  548. 548

    I wonder if its okey that I use yoyr pictures of dices? you got ‘em here.

  549. 549

    Andreas, they’re not my images. You’ll have to ask the author of that site

  550. 550

    Ian, the Share This dialogs are being obscured by the content? You could try increasing the z-index.

  551. 551

    Hi Ankur,

    I tried increasing the z-index (found in share-this.php right?) and this did nothing. I couldn’t even see a change and I increased the value to 1999 from 999. I also decreased the number to 1 and also noticed 0 change. Do you have any further suggestions? Is there perhaps a way to force the options to appear on a new page once clicked? Instead of the options dropping down in a menu?

    Thanks
    Ian

  552. 552

    Well, here’s another one for you, Ankur. :)

    Recently I discovered OnlyWire. Pretty nifty site.

    Actually it’s a small thing, but I’m just trying to achieve this. Although it’s easy to add a social bookmark link via Gregarious’ admin panel, how did you input their respective icons/images?

  553. 553

    Dave, the icons go in the gregarious/modules/icons/ folder, with the name of the image being exactly the (sanitized) title of the social site. The icons currently need to be in gif format, but I’ll see how much more flexibility I can add for version 2 final.

    Ian, you can turn off the pop-up and take the user to a separate page by setting AKST_POPUP to false instead of true at the top of gregarious.php.

    Find:
    @define('AKST_POPUP', true);

    and replace with
    @define('AKST_POPUP', false);

  554. 554

    Ankur,

    That’s worked. Except now my Share It icon isn’t showing. And it’s enabled in the control panel. ??

    Thanks
    Ian

  555. 555

    Check that the modules/share-this/akst.css is being included in the <head></head> and that the URL to the share icon is correct.

  556. 556

    Hi Ankur!

    Any word on when the new version will be released?

    Im getting excited and really want to get this to work for my site.

    thanks a bunch!

  557. 557

    Hi Saje, thanks for your interest. I’m as excited as you are!

    I’ve been very busy lately, but Gregarious is shaping up nicely. It’ll be released when it’s ready :)

  558. 558

    Hey there, I like the plugin, but I’ve got a bit of a problem with it using WP 2.2:

    When I change any of the options under the Digg menu, I get that little progress bar animation, and it never goes away. I’ll just let it go for a few minutes and it never seems to “finish”. If I click the [x] then the settings I changed, obviously, don’t stick.

  559. 559

    Hanlon, just disable the AJAX module and use the regular form to save the options. It’s more of a novelty than a feature anyway.

  560. 560

    After switching to Gregarious from formerly using both ShareThis and Digg Button separately, clicks from digg’s site are not being detected, and thus the digg button is not being displayed on pages that have been dugg. My settings seem to be correct. If anyone has any suggestions, I’d appreciate it.

  561. 561

    Flexo, could you provide an example post where the Digg hasn’t been detected?

  562. 562

    im having problems with this plugin on my site. the pop up menu of the addon works great with all youtube.com videos i post but if the videos are embeded from yahoo or ebaumsworld the menu goes behind the video. im using firefox and would apreciate any help. see my site for an example:

    http://www.irishbloke.net/wordpress/2007/05/19/crazy-lady/

  563. 563

    It’s looking ok for me with FireFox 2.0.0.3.

  564. 564

    Hey Ankur!

    Remember me? The one who couldnt get gregarious to work because post-badge isnt working for me?

    Anyway… I’ve figured out how to turn on error logs on my site and this is the error I get

    PHP Parse error: parse error, unexpected $ in /blog/wp-content/plugins/gregarious/modules/post-badge/post-badge.php on line 215

    Hope that helps some.

  565. 565

    Thanks Saje, I’ll take a look and hopefully we’ll get this fixed up pretty soon!

  566. 566

    sry i posted a bad example
    try
    http://www.irishbloke.net/wordpress/
    and click na non youtube embeded videos “share” link

  567. 567

    Gerry, it’s working fine for me. What version of FF are you using?

  568. 568

    the latest one 2.0.3

    Take for example the video post
    “Michael Bolton National Anthem-forgets the lyrics”

    When i click on the “share link” the pop up menu of your addon goes behind the next video instead of over it.

    Are you sure its working fine for you? hmm thats strange

    http://www.irishbloke.net/wordpress/

  569. 569

    you see the problem im describing in this screenshot

    http://www.irishbloke.net/temp/gregarious.jpg

    maybe its a firefox problem? or just a problem on my pc?

  570. 570

    Gerry, it’s definitely working for me on Mac using FireFox, and WebKit’s handling it fine too. I’m not sure what the problem could be, but it must be something browser-specific.

  571. 571

    If anyone wants to try out the next version before the release, post up here. (I’m currently using it on this site)

  572. 572

    I would! How do I go about getting it?

  573. 573

    Saje, I’ve emailed it to you, and I’m also updating the svn sandbox (not the the trunk. yet.)

  574. 574

    Hey Ankur!

    Everything works great! I didnt turn the three modules you told me were still iffy (well i did at one point… they didnt break but I didnt touch anything after, I just deactivated them again)

    About FeedFlare. I have no idea what url to put on there. I signed up on their site and I put in the feed address but I still dont see it on my site. I also tried moving it around but still nothing.

    Also, when I turn on the share this module, all the other customize pages of the other modules are now on one page (like one big edit page). Is that how its supposed to be?

    Thats about it. This thing rocks.

  575. 575

    Oh another thing… when I click on share this and the tab window comes up, I see the icons but no text. The only time I see the text is if I roll my mouse over them. Not sure if its supposed to be like that (even though it looks cool) because here on your site, when I click on share this I see both the icons and text immediately.

    And how do I get share this to align properly? I have it below my digg and reddedit buttons (which are on one line, but share this seems to be more left than the other two.

  576. 576

    I got feedflare working. And for now I just turned off digg through gregarious and I am using the digg option at feedflare so that everything looks neat.

    I am very happy now :)

  577. 577

    The Share This Social Web tab is empty in the pop up. I’m assuming I have to add the sites I want using the Add A Social Site link in the admin panel. However, upon clicking the link I get a JavaScript error, addElement is not defined in …options-general.php?page=gregarious. Any suggestions?

  578. 578

    Saje,

    The only time I see the text is if I roll my mouse over them.

    That’ll be due to your CSS stylesheet. You can override the text color for the <a> element in #akst_form and it’ll be fine.

    Also, when I turn on the share this module, all the other customize pages of the other modules are now on one page (like one big edit page). Is that how its supposed to be?

    No. This must be due to a javascript error. I’m still improving the plugin to work on more than just FireFox and Safari.

    Chris,

    The Share This Social Web tab is empty in the pop up… clicking the link I get a JavaScript error, addElement is not defined… Any suggestions?

    Try resetting the plugin. The default social sites should be present upon installation.

    Is the error upon clicking the options page tab or on the actual Share This dialog on your post?

  579. 579

    I’ll keep the subversion repository updated with the newest builds at wp-plugins. As I mentioned somewhere before, the trunk will be updated once the release is stable.

  580. 580

    where do I find #akst_form ?

    <

    p>And yeah it might be a java script error because that also happend in the older version of gregarious that I had (the 1.999 that I couldnt get to work) and I use IE. :4a7d3d609129a9296bf7ac0608c2097

  581. 581

    Cool…

  582. 582

    Ankur,

    Good call, resetting the plugin worked like a charm. Can’t believe I didn’t think of trying that myself — duh. :) FYI: the add a social site link within the admin panel is where the javascript error appears, and is still occurring. Everything else works great now! Thanks!

  583. 583

    Nice!

  584. 584

    Saje, you can add to your CSS:

    #akst_form #akst_social a {
        color: black !important;
    }

    replacing black with the color of your choice. Not all colors can be written in English though; for some you’ll have to use the hex or RGB values (eg. #000000 is black in hex).

    Chris, glad it’s working now. Is the js error regarding addElement() or addProperties() or something? I think it’s fixed in the svn sandbox and it seems to be working well, but just to make sure.

  585. 585

    Cool! I got it working and added a color hover too. Sweetness.

  586. 586

    I’m trying to turn post badges on but only “Date-based archives” will stay green checkmarked, everything else I can check off, but once I save and look at it again, resets to red X’s. Any idea what’s wrong?

  587. 587

    Billy, it’s probably your hosting config not liking the conditionals (they’re named as arrays). If resetting the plugin or switching to a different browser doesn’t fix the problem, I’ll be sure to have a fix for this in the next release.

  588. 588

    Ankur, It’s addElement() that’s referenced in the error.

  589. 589

    Thanks Chris, the sandbox version was fixed.

  590. 590

    This plugin seems very promising but the only thing I am still not able to get the AJAX popup window able to work..


    Are there in footer.php amd header.php

    but I dont get “prototype.js referenced in the “

    can anybody please to how to refrence and make the popup working

  591. 591

    I’ve unzipped & uploaded Gregarious to the correct Wordpress folder, but it doesn’t seem to be working…
    When I go to ‘Options’->’Gregarious’ I get a black screen w/ “modules” and “edit database” icons and it says “no modules found”…there don’t seem to be any options from here…what am I missing?

    Thanks in advance
    Jim

  592. 592

    Aditya, right-click and view source of your page, and check if “prototype.js” is somewhere in there. If not, it may mean an upgrade to WordPress is needed, or you need to add the code manually, which I can show you if needed.

    Jim, the modules are loaded from the /plugins/gregarious/modules/ folder, so if it’s empty or not readable, you’ll get that message. If it’s not empty, try running CHMOD on it (change permissions) to something like 777.

  593. 593

    I looked and all the modules r under the /plugins/gregarious/modules/ folder.

    I’m not sure how to run CHMOD…what exactly would I need to do? Is it something that is done from the WordPress dashboard?

  594. 594

    Dude, Gregarious is awesome, and I would use it in a heartbeat if it wasn’t for the Prototype dependency. Is it possible to release a non-Prototype-reliant version?

  595. 595

    Jim, CHMOD is changing permission. You’ll most likely need to use your FTP client to do this.

    Steve, prototype is only used for the Share This dialog. I’m trying to phase it slowly. The admin interface uses mootools. If you don’t want to use prototype.js, you can still use the plugin, but disable the Share This dialog.

  596. 596

    Again, not sure what u mean…use the FTP client how? Is there a file I need to FTP up to the site?

    Assume I know nothing about CHMOD ;) Is there a file I need to modify that has permissions in it?

    Thanks

  597. 597

    Jim, just to clarify, your problem is that the admin interface says there are no modules, and you have made sure that the modules are uploaded in the modules folder?

  598. 598

    Yes Ankur..here is exactly how it looks:

    blog/
    wp-content/
    plugins/
    gregarious/
    images/
    modules/
    scripts/
    admin-styles.css.php
    greg_functions.php
    gregarious.php
    Readme.txt

    Am I missing something?

  599. 599

    OK…well, I found out how to CHMOD in Dreamweaver (Set Permissions)…foldser in gregarious are set to 777….still no modules show up in Wordpress.

    wp-content/plugins/gregarious/modules…then there are folders withing that for “ajax”, “feed-flare”, “dashboard” etc…
    Any idea what I am missing?

  600. 600

    If everything’s there and the server is not finding the modules, then I’m afraid I have no idea what the problem could be. I’m terribly sorry.

    You may be interested in, “Gregarious Lite” which I will be releasing sometime soon. It is the same plugin but with only the core features and without the modules system.

  601. 601

    great plugin. thanks a lot. though having the digg button on each post slows down the front-page considerably. so i disabled the badge and added the code you recommended above:

    if( is_home() ){
    digg_button(’dugg=image&undugg=text’);
    } else {
    digg_button(’dugg=button&undugg=compact’);
    }

    but it only works partially. it seems to recognize all posts as undugg, and so only shows text or compact. i don’t understand this because when i manually set it to button, the button shows the correct number of diggs and all. so any idea why i’m having trouble with this code? thanks.

  602. 602

    Hi Ankur-
    I installed Gregarious correctly but I seem to be getting an error when I activate the plugin. I’ve CHMODed the folder so it’s got the correct permissions. Here’s the error I’m getting:

    Warning: include_once(/home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/modules/ajax) [function.include-once]: failed to open stream: No such file or directory in /home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/greg_functions.php on line 185

    Warning: include_once() [function.include]: Failed opening ‘/home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/modules/ajax’ for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/greg_functions.php on line 185

    Warning: include_once(/home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/modules/dashboard) [function.include-once]: failed to open stream: No such file or directory in /home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/greg_functions.php on line 185

    Warning: include_once() [function.include]: Failed opening ‘/home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/modules/dashboard’ for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/greg_functions.php on line 185

    Warning: include_once(/home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/modules/digg-button) [function.include-once]: failed to open stream: No such file or directory in /home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/greg_functions.php on line 185

  603. 603

    Johnny, it’ll recognise posts as Dugg when it detects a referral from the Digg page for that particular post. Compact should still show the correct Digg count, though.

    Zach, it seems that PHP can’t find the contents of the folder
    /home/.norel/newschoolpolitics/newschoolpolitics.com/wp-content/plugins/gregarious/modules/

  604. 604

    I thought the same thing Ankur. I double checked though, and I’m finding that everything is installed in the folder. I replaced the modules folder with a new fresh copy and then replaced the plugin only to get the same result. Any ideas?

  605. 605

    Could you check the path and see if it’s correct? It’s a little strange that there’s a folder beginning with a period (.norel), but I’m not that experienced in this area.

  606. 606

    yeah, this doesn’t seem to be working. i have several posts that have been dugg, including a couple since i inserted the new code, but it still doesn’t recognize them as dugg in that it still only shows text or compact. when it shows compact though, that DOES show the correct number of diggs, though, so it recognizes the digg on that regard. any ideas? thanks for your help.

    my site, by the way, is http://www.losteyeball.com

  607. 607

    Could you provide an example of a post that’s been Dugg?

  608. 608

    just to cause no confusion, i had reverted back to the badge, but now that you’re looking at it, i turned that off and inserted the code again. go to:

    http://www.losteyeball.com/index.php/2007/05/29/top-14-marion-barry-quotes/

    as you can see it has been dugg, but it’s showing the compact rather than the button. thanks again.

  609. 609

    Ok, for now, just edit the post, then add a custom field called DiggUrl and set its value to the permalink of the post.

    The Digg may not have been registered because the detect incoming Diggs option may be off?

    The sandbox version has this fixed by using either CURL or the Digg API.

  610. 610

    Ok, I think everything is now sorted out.

    Adding the custom field worked.

    But also I’m embarrassed to say that just getting a referral also gets the digg recognized, as you said above. Maybe before when I tried I’d just had it dugg, but I see now if I actually click on the link to the page from digg.com, then the referral is detected and the button is displayed. so all is peachy. thanks again.

  611. 611

    I’m sorry, one more dumb question. How would I modify the code to exclude the digg badge from one page? something like this?:

    thanks!

  612. 612

    Good plugin.
    Unfortunely, I have problem in activate it from manage plugins. The result is :atal error: Cannot redeclare sortbyfield() (previously declared in /www/110mb.com/a/n/o/m/a/l/i//anomali/htdocs/wp-content/plugins/gregarious/greg_functions.php:292) in /www/110mb.com/a/n/o/m/a/l/i//anomali/htdocs/wp-content/plugins/gregarious/modules/share-this/share-this.php on line 1172

    How can I fix it?

  613. 613

    Johnny,
    if( get_the_id() != 123 ){ ... }
    Or if you want to hide it on more than one post, make an array with the IDs and check using in_array.

    Annmolly,
    Deleting the sortByField() function from greg_functions.php should fix it. This was fixed in the sandbox, but not properly updated in the real version. I’ve updated it with the changes.

  614. 614

    This looks like a great plugin. I was really surprised by the options page. Very professional! However I do have a few problems.
    1. When I click save options, FF doesn’t update. (FF 2.0.4) and all the options are in one windows in IE7. Nothing happens if I do an update, I can click back and the option is saved.
    2. Share This or digg-badge aren’t showing on the main page or in single posts. The Post Badge is enabled and the modules are installed.
    3. Any chance of making this into a forum/board instead? It will save you some time, I could use the search function to find a possible solution ;)

  615. 615

    Hi,

    I get an error: Fatal error: Call to undefined function: greg_update_option() in /home/doict/public_html/blog/wp-content/plugins/gregarious/modules/digg-stats/digg-extra.php on line 61
    Did a clean install of Wordpress, everything is on its place, folders and files, etc… Checked digg-extra.php, there’s such a function call in the php file, but a quick search left me in the dark where the function is defined. Can you please help me out how to fix this? Thanks

  616. 616

    Interesting…

  617. 617

    Jaap, the function should be defined in greg_functions.php. (The Digg-extra module only adds template tags anyway, so unless you’re after advanced functionality, it’d be fine to leave it off)

    Dennis,
    Try this version of the plugin. I’m holding off making it the default download until I know for sure that it works on all or most configurations.

    I will put up some sort of bulletin board soon. I hadn’t really expected the plugin to become so popular!

  618. 618

    I’ve commited the sandbox to the trunk. That means the download is now the newer (possibly unstable) version of Gregarious. Hopefully everything will still run smoothly.

    Major change: Prototype.js dependency for Share This is gone!

    I’ve also switched to using serialized PHP rather than XML for the Digg API calls, so PHP 4 will play nicely.

    You may also notice that the background is now white…

  619. 619

    That was better. Now I can save the options. Unfortunately it slows my site down, it becomes so slow that it slows all my browsing down. When I close the windows where my site is loading everything is running great again ;)

    I did however get the Share This on the page and a “?”.

  620. 620

    Okidoki Ankur, the latest update works fantastic :-)

  621. 621

    Hi

    I was wondering if anyone could help. I’m trying to activate Gregarious on my blog but it isn’t working. I’m using a Dark 1.01 Theme…could that be the problem?

    Or could someone explain the “PostBadge” thing? I kinda really don’t get it.

    Thank you

  622. 622

    I have uploaded a new theme (K2 theme) but the widgets options of K2 ain’t working (drag and drop features). After I had disabled the latest build everything in K2 works fine again. Sounds not very good :-(

  623. 623

    Hi Ankur,

    I figured it out. There was a semi-colon missing at the end of this line.

    $data = wp_remote_fopen($query)

    I changed it to the following and it works great.

    $data = wp_remote_fopen($query);

    Just thought I’d give you a heads up.

    Thanks!

  624. 624

    For some reason my original post with the error I was receiving did not come through.

    Here is the problem that I was having.

    After activating Gregarious I received a parse error on line 176 of gregarious.php.

    This killed my site. I deleted the gregarious folder and I was able to get back in to the site. Putting the gregarious folder back on the server would result in the error being thrown again.

    I did a little digging and came up with the above fix. Hopefully this helps.

  625. 625

    I tried to activate the plug-in and got this back:
    “Plugin could not be activated because it triggered a fatal error.”

    I’m using WP2.2.

    Any clues?

  626. 626

    Thanks Jason, I’ve updated the plugin with the fix.

    Soggycornflakes, the PostBadge module is the one that adds the content to your posts. For example, if you want the Digg button and Share This link to show, activate the Digg button and Share This modules as well as the PostBadge module.
    You can control the layout from the PostBadge options.

  627. 627

    Sorry Rich, that was my fault. I uploaded the fix ten seconds ago. Re-downloading it should work.

  628. 628

    Great plugin — two issues.

    1. When I set the plugin to show “Nothing” for undugg posts and to show “Badge/Compact Badge” for dugg posts, none of the posts (even ones with diggs) have a badge show up. Is there a fix for this?

    2. Assuming #1 is fixable, how do you move the location of the digg button?

  629. 629

    Mike,

    1. The Digg button will show from the time when the plugin detects a referral from Digg.com. If you have made sure that you’ve clicked on the Digg page for your article at least once, post up the link and I’ll try to see what the problem is.

    2. In the PostBadge code, move the <%DIGG%> tag to change the location of the Digg button.

  630. 630

    I updated my options on Gregarious and now my digg post badges are on the wrong posts. How can I fix this? Thank you

    Also, occasionally a digg badge displays an error code. When you click on it it says something like “A digg permalink url was detected but that item can’t be found on the website.” Any help with this one too? thx!

  631. 631

    Hi, This is a great plug-in. I have one question: How do I get the “Share This” link to appear only on single entry/post pages, not on my other pages? I don’t want the link to appear on my About page, Contact page, etc., but it appears at the bottom of those pages too. Thanks in advance for your help!

  632. 632

    I’ve run into an additional problem trying to use the reddit badge (problem #1 for digg button is still unresolved)

    Fatal error: Call to undefined function: get_reddit_button() plugins/gregarious/modules/post-badge/post-badge.php(96) : eval()’d code on line 1

    I’ve tried putting and calls in the Badge module to no avail. Any thoughts on this error?

  633. 633

    Calls missing from the previous post were <%REDDIT_X%> and <%REDDIT%

  634. 634

    Mike,
    Updated Reddit module source and download. Rename it to reddit-button.php and replace the old file. (There’s no need for everyone to update as this was fixed some time ago).

    Kris,
    In the PostBadge options, there are some checkboxes at the bottom that allow you to choose where to show the links. You’d probably want to turn it off on “pages” and leave it on on “single posts”.

  635. 635

    Agentsully, edit your post, and in the custom fields below the post writing area, check that the permalinks are correct in the DiggUrl field. This should solve both problems.

  636. 636

    Ankur,

    The new file did not fix the error.

  637. 637

    I accidentally put up the old file…
    Sorry, try again.

  638. 638

    Hi Ankur - just a quick “thank you” for taking the time and effort to build such a great plug-in. We love it! - Nick at e-Motive Media

  639. 639

    Hey Ankur,

    I wondered if you ever got around to writing a workaround for the problems that occur when using both Gregarious and Related Posts.

    You mentioned it in the comments here: http://dev.lipidity.com/feature/wp-plugin-gregarious/comment-page-5/#comment-1359

    Thanks!

  640. 640

    Gregarious + Related Posts should be working now, but if it doesn’t I can suggest a few simple fixes.

  641. 641

    Cool plug-in, but the “email it” function isn’t working for me, anyone have any ideas why this might be. Using Wordpress 2.2 and that latest version of Gregarious.

  642. 642

    Hey Ankur,

    Actually, I mistyped earlier. My problem is with Gregarious + Recent Posts (on which I believe Related Posts is based).

    I’m using Gregarious version 2.0 and the newest Recent Posts, but I’m still having problems with ‘digg_url…’ printing out into my list of recent posts.

    The blog is at: http://haslayout.com, and a screenshot of the problem is here: http://haslayout.com/images/greg.png.

    Thanks for your help!

  643. 643

    Add a comment • Subscribe to this feed • Add to del.icio.us • Digg This! (153 Diggs, 14 comments)

    How do you get this with the plugin?

  644. 644

    Hi, I was using Gregarious and found this error:
    Fatal error: Call to undefined function get_share_this() in

    /home/.manchu/smallhouse1/SMALLHOUSESTYLE.COM/wp-content/plugins/gregarious/modules/share-this/share-this.php

    on line 630

    This is line 630 (or so):
    function add_share_this_to($content=”, $echo=false){
    if($echo) echo $content.get_share_this(); else return $content.get_share_this();
    }

    Any thoughts?

  645. 645

    Me again,

    I just closed the space between the if echo (see below) and got an error on line 538.

    function add_share_this_to($content='', $echo=false){
    if($echo)echo $content.get_share_this(); else return $content.get_share_this();
    }

    and here is 538:
    print(' $el("akst_'.$key.'").href = akst_share_url("'.$data['url'].'", url, title);'."n");

    and here it is in context:
    $data) {
    print(' $el("akst_'.$key.'").href = akst_share_url("'.$data['url'].'", url, title);'."\n");
    }
    }
    ?>

  646. 646

    Uberpiglet, I’m not sure, but it may be something to do with your hosting config.

    Jason, I already updated the trunk, but it should be right if you add html comments inside the script tags (enclosing the contents of the tag) around line 210 in modules/digg-button.php. If you need a bit more specificity, let me know.

    Moneyning, I’m using the FeedFlare module of Gregarious. Once you register your feed with FeedBurner, type in your FeedBurner feed URL into the FeedFlare module options, then use the <%FLARE%> tag in the PostBadge code.

    Jared, change the function to:

    function add_share_this_to($content='', $echo=false){
        if($echo) echo $content.share_this('',false); else return $content.share_this('',false);
    }
  647. 647

    Hey Ankur

    Thanx so much, it works now, YAY!lol

  648. 648

    Thanks a million. This plugin is amazing!

  649. 649

    I noticed that there is a [?] after my Digg button that links to dev.lipidity.com… I don’t mind that you are linking back to your site, but how can I remove the [?] until I find a better place for it? It pushes the Digg button away from the right margin when I am aligned to the right and looks a bit weird.

    Thanks!

  650. 650

    Nevermind, I went into wp-content/plugins/gregarious/modules/digg-button/digg-button.php and removed [?] from the tag and now it is gone.

    Thanks though!

  651. 651

    Thank you! I got this working now!!!

  652. 652

    Ankur,
    I had a version prior to this new update and it worked fine. When I downloaded and installed the new update, the only thing I keep getting is an error warning stating:
    Warning: load_modules() [function.include]: Failed opening ‘/home/usr/public_html/website/wp-content/plugins/gregarious/modules/(any-module)’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/usr/public_html/website/wp-content/plugins/gregarious/greg_functions.php on line 172

    This error shows up multiple times and for each module.

    I haven’t been able to get it to work since I tried to update it.

    I even deleted the entire folder from my server and did a clean install, and I still get the error. Can you help? I was using this app before. Now, I can’t even get it to work.

    Please help.
    Clifton

  653. 653

    Clifton, when did you download the new version? If it was more than a few days ago, you might want to re-download and check if it works.

    The errors seem to indicate the files can’t be included, so you may also want to check that the paths are correct.

  654. 654

    Hi

    thanx a lot for this tool. It is very good.

    I have this strange problem though. Since I installed Gregarious the real time stats program Live no longer works( well actually the older and uglier version does but not the two lasts)

    Do you have any idea where that may come from?

    Thanx in advance and keep up the amazing work

  655. 655

    Thanks for 1.9.xx. I see that some of common bugs have been fixed. And also the UI has been made more usefriendly.

    I was confused between 1.999 and 1.9.xx. Please do standardize on your versioning.

  656. 656

    I’m hoping somebody can help me with these problems I’m having.

    ImageManger:
    In the admin section. All those fancy dynamic menues don’t work unless I deactivate the ImageManager plugin I have installed. If I leave it enabled, then I can’t change the settings on any of the modules, etc.

    RSS Feed:
    This simply doesn’t work. It doesn’t show up in my feed.

    Any ideas?

  657. 657

    Johnpan, I’m using the Live plugin on this site, and it’s working well. Not sure what the conflict is there…

    Gautam Jain, I realise the version numbers are a little random at the moment, but I will be standardizing the system from the release of version 2.0.

    Baz, I haven’t seen the ImageManager plugin before. I’ll download it and see what conflicts there may be between that plugin and Gregarious. Also, what do you mean by the RSS feed doesn’t work?

  658. 658

    Image Manger lets you upload images and stuff but, unlike Wordpress, you can set the dimensions of your thumbnails and some other nice features.

    Not working in the feed means, no matter what setting I choose, the Share This link does not show up in my feed.

  659. 659

    Baz,
    I’ve contacted the developer of the Image Manager plugin and requested them to only add their javascript to the admin head when the user is on the Image Manager page. This fixes the issues with Gregarious.

    Meanwhile, try changing line 98 of imagemanager-plugin.php from:

    if ((!IS_WPMU) && strpos($_SERVER['REQUEST_URI'], 'options-general.php') !== false) {

    to

    if ((!IS_WPMU) && ($_REQUEST['page'] == 'wp.php')) {

    As for the feed business, I’ll investigate as soon as I get time.

  660. 660

    Hi mate!

    I’ve been using version ‘Reaching 2.0′ of your plugin for a few months now, on my personal blog - and it’s worked brilliantly.

    I’m in the process of completing my new theme, and installing it onto my dev server is kicking up errors. I get an error that looks like this for each of the modules:

    Warning: load_modules(/home/xxx/public_html/wpdev/wp-content/plugins/gregarious/modules/reddit-button) [function.load-modules]: failed to open stream: Success in /home/xxx/public_html/wpdev/wp-content/plugins/gregarious/greg_functions.php on line 172

    Every one of the errors is on line 172 - so I’m wondering whether perhaps the version of PHP I’m using is having problems using the include_once line with a folder - rather than an actual file. Or perhaps that line should specify a file within each folder?

    I’m running WP 2.2 on a PHP 4.4.4 linux server hosted with Hostgator. The dev site is on a sub-domain if that makes a difference?

    Any assistance would be really, really appreciated - as I’m hoping to get the theme live later today, and I would prefer it to include Gregarious! ;)

    Thanks in advance! :)

  661. 661

    Paul, sorry for the semi-late response.

    include_once is meant to be called on the php files themselves rather than the enclosing folder. I know I’ve been terrible with my version numbers, but the current version, 1.9.xx is the latest and hopefully fixes that issue.

    The default values for the modules are specified around line 80 of gregarious.php, and they reference the .php files, so I’m not sure why the file names have been omitted.

    The get_all_module_paths function in greg_functions.php returns the paths to each php modules file, and it specifically checks if ( ! is_dir ( $file ) ) before adding anything to the list of modules, so I’m uncertain as to where this error originates.

  662. 662

    No problem Ankur - I appreciate your time in supporting the plugin!

    I had the latest version installed, but I downloaded it again anyway. However, while I was in the process of uploading it to my dev site I got a call from a friend - asking why my live blog was messed up… I looked at it, and it’s got the same error as my dev blog. I deactivated Gregarious and it’s fine.

    So…

    I think my problem is being cause by a server configuration. My host (Hostgator) is in the process of upgrading all the servers at the moment, and I think that the move from dedicated PHP 4.4 to a phpSUEXEC setup is what’s causing it. If you Google for phpSUEXEC then you’ll see what it’s all about.

    I don’t know if you can help me with my problem… If you can figure out what’s happening the I’d be eternally grateful - but I appreciate that this is outside of your remit as a plugin developer!

    This may be something that you see more of though, depending on how many of your users are hosted with Hostgator (or any of the other hosts that are currently talking about moving to the phpSUEXEC system).

  663. 663

    I just updated the plugin on my install and got a bunch of apache fatal errors. Had to replace line 172 in greg_functions.php to the following and it fixed it:

    include_once GREGARIOUS_ABSPATH.’modules/’.$module_path.’/’.$module.’.php’;

  664. 664

    Hmm actually nevermind that last post… it seems sometimes, the $module_path var contains the directory name, others it contains the filename, so a simple fix would be to replace that block with:


    if (is_dir(GREGARIOUS_ABSPATH . 'modules/' . $module_path)) {
    require_once GREGARIOUS_ABSPATH . 'modules/' . $module_path . '/' . $module_path . '.php';
    } elseif (file_exists(GREGARIOUS_ABSPATH.'modules/'.$module_path)){
    require_once GREGARIOUS_ABSPATH.'modules/'.$module_path;
    } else {
    deactivate_module($module_path);
    }

    But then I get some errors saying the classes have already been defined somewhere else…

    PHP Fatal error: Cannot redeclare class module_diggbutton in /usr/local/wordpress/wp-content/plugins/gregarious/modules/digg-button.php on line 3

  665. 665

    Hi, I want to know how i can change the share this green icon on post from .gif to png.

    Thanks!!

  666. 666

    Definitely the slickest plugin of its kind, very well done.

    I’ve had pretty good success setting this up on my site, but I hit two problems. First, the icon for “Share This” wouldn’t show up. I saw that the akst.css file referred to /localhost/code instead of my site, so I searched and replaced that by hand, and now it’s working. Was there an easier way to make that work?

    Also, I can’t seem to get the Share This popup. I checked for the header and footer references, and they’re in place, and prototype.js is called once. Is there anything else I should check to make this work? The site is jurgenfauth.com. Thanks a ton!

  667. 667

    Don’t worry about my issue now! I launched my new theme today, so I’ve had to go with the separate ‘ShareThis’ and ‘diggIT’ plugins.

    It’s not perfect, but it’s working! ;)

  668. 668

    Hi,
    I tried to use the plugin, and nothing would display on my site, even though I enabled the post badge and share this. So, I downloaded the newest version and re-installed it. Now I get the error

    Warning: load_modules(/home/.deano/sugoodsweets/sugoodsweets.com/blog/wp-content/plugins/gregarious/modules/share-this) [function.load-modules]: failed to open stream: Success in /home/.deano/sugoodsweets/sugoodsweets.com/blog/wp-content/plugins/gregarious/greg_functions.php on line 172

    Warning: load_modules() [function.include]: Failed opening ‘/home/.deano/sugoodsweets/sugoodsweets.com/blog/wp-content/plugins/gregarious/modules/share-this’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/.deano/sugoodsweets/sugoodsweets.com/blog/wp-content/plugins/gregarious/greg_functions.php on line 172

  669. 669

    Jorgeivan, find:
    .akst_share_link { in share-this.php
    and on the following line, replace <?php echo greg_get_option("share_icon_format"); ?> with png. Make sure to create the png icon and upload it.

    Jurgen, to solve both problems, you just need to hit the “Save” button once in your preferences. All the references are updated when you save or reset, so you didn’t have to manually change the links.

    Jessica, other people have had this problem as well, so I’ll try to find the cause and hopefully there’ll be an easy fix.

  670. 670

    Thanks, Ankur. I’m actually pretty sure I saved/reset a number of times without fixing the problem. Do I need to change permissions on any of the files?

  671. 671

    Hi, I love this plug in but it’s quite annoying because I have a [?] just after the digg button , making my whole site ugly, how can I fix that bug please?

  672. 672

    Jurgen, it’ll work if the files are writable, so it depends on what the permissions are now.

    Hedi, you can fix that “bug” by removing the “[?]” in modules/digg-button/digg-button.php (just to a search to find it and then delete it).

  673. 673

    Muchas gracias Mister :)

    Thanks for the fast reaction to my request!

  674. 674

    Hey Ankur!..

    When activating the plugin, it comes to the bottom of the post and I absolutely have no idea how to change its position..

    Please help

    Swapnil

  675. 675

    Ok I got it…made the changes in the Post Badge..

    Wonderful Plugin :) Thanks

  676. 676

    Can anyone please explain how do we change that Share This image (that green icon) image into a text? What file is this located in. Thank you.

  677. 677

    I’ve changed it, you have to go to the share it folder and there is an icon called “16×16 xxxx” it’s the “share it” icon.

  678. 678

    Hi Hedi, I am looking to get rid of this icon and add a text there. Do you know what file I should look into in order to modify that image into text? I tried all the files, but couldn’t find any. Thanks

  679. 679

    When I click the “share this” button, the page that comes up does not have the little logos for DIGG, stumbleupon, or any of the other social networking sites, though on other blogs that use the Gregarious plugin those do appear. What’s up with that?

  680. 680

    I installed this plugin. But how do I change it so the links open in new browser? For example if they click digg.

  681. 681

    Hi

    I’ve installed the plugin nd done the CMOD changes.

    But i get this error when accesing a page or post…

    Fatal error: Call to undefined function: attribute_escape() in /usr/home/dan16600/public_html/wp-content/plugins/gregarious/modules/digg-button/digg-button.php on line 126

    Do you have any idea?

    Thank you for your contribution. It’s a great plugin.

  682. 682

    Tsewang, you can configure the “Share This” link in the options page under the “Share This” tab. The text is configurable there.

    Bill H, I think one of the social sites you added is being a bit funny, so I can’t get the popup to show (it redirects to a separate page because of the javascript error). Try saving the options once more to update the javascript and css.

  683. 683

    Tammy, I’ll add that as an option soon, or you want to edit the files?

    Jacob, your WordPress version up to date?

  684. 684

    thx for your reply.

    I use version 2.04 … is that to old?

  685. 685

    I would highly recommend upgrading even if only for the security fixes. If that’s not possible at all, I can issue a patch that will allow backwards compatibility. But if you can, upgrading would be great.

  686. 686

    If it’s not too difficult to edit myself I could handle it but if it’s a hard fix then I will probably wait till that feature is added on. I found where to change it to get the link to your site to open in new window but was unable to find where to do it for all others.

  687. 687

    When I try to activate the plug-in I get this error:

    “Plugin could not be activated because it triggered a fatal error.”

    Just downloaded it, and running WP 2.2.1. The theme I am using already have some digg/reddit/delicious buttons, but it’s all manual work I believe, not a plug-in (so shouldn’t conflict, at least not on the activation stage)

    Any help is appreciated!

  688. 688

    I’m having the same issue as Andreas.
    Running 2.2.1 just installed today on a test/development box. With all plugins disabled I get “Plugin could not be activated because it triggered a fatal error.” when trying to activate it.
    I can’t get PHP to show me a more specific error.

  689. 689

    Im getting the same error as andreas , I tried re-uplaoding, but no luck!

  690. 690

    Thanks for the great plugin!
    How can prevent it from showing on pages?

    I want to use a static front page with nothing but text. I do however would like to use it on all other posts.
    Thanks

  691. 691

    Hi Ankur!

    I just installed WP 2.21, and experiencing the same problem with Andreas too…

  692. 692

    Gah! If the plugin is not activating, remove ` todo: uncomment` from line 168 of gregarious.php. I uncommented it, but forgot to remove the reminder. The download has this fixed.

    Jeff, under PostBadge options you can choose where you want to show the links. You can turn off showing links on pages, or specify specific page / post IDs to hide the links on.

  693. 693

    Tammy, I’ve updated the download with your request (the links in the Share This popup open in a new window). If you need anything else, just let me know.

  694. 694

    I’ve just came across your plugin today and wanted to install it. Wordpress 2.2 or 2.2.1 to dev box or live site and I get the same error “Plugin could not be activated because it triggered a fatal error.”

    I also checked for line 168 to uncomment but there was nothing there for a ‘todo: comment’.

  695. 695

    Hi Ankur..

    The upgrade did the trick!…thanks!..

    But pfeew..it was hard… my categories listing went haywire with sql error and my pagereferences were gone until I refreshed the permalink strukture… oh..got scared there for a moment..

  696. 696

    Removed todo: uncomment, works.
    Thanks!

  697. 697

    Works perfectly mate, good job with the update and fix!

  698. 698

    Sorry to be so dense, but which files exactly have to be set to writable for the popup to work? Thanks again.

  699. 699

    Thanks for the fix. Working good now. I managed to find where to fix the digg this and the link to your site so they open in new windows as well.

  700. 700

    Jurgen, akst.js and akst.css in modules/share-this/ should be writable.

    Danny, near the end of line 168 there’s todo: uncomment. Just get rid of it. (If you’re having difficulty, you could download the plugin again as I’ve uploaded the fixed one)

  701. 701

    I would like to move the “share this” button from the content area and down to the post footers (where it says something along the lines of ” Filed under: Uncategorized | 2 Comments “). I would however like to keep the digg button (only visible if story has been dugg) within the post content.

    How do I go about with this? Thanks in advance!

  702. 702

    Andreas, you can turn off the PostBadge module and use the template tags. In your theme / template, add:
    <?php share_this() ?> to show the “Share This” link,
    and <?php digg_button() ?> to show a Digg button / link.

    To show the Digg button only if the story has been Dugg, go to the Digg options, and set “nothing” to show on unDugg posts.

  703. 703

    Thanks for the help Ankur. I have one more “problem” though. I have a story that was submitted to digg a while ago. When I set digg badges to always be displayed, the badge shows that the story has 4 diggs. But when I set the badge to only appear when there are diggs to the story, it doesn’t show up. Will the story need to have received a digg during the last X number of days, or since Gregarious was installed or something?

  704. 704

    Andreas, the story will need to have been clicked on from the Digg page (the unique page, not from the upcoming section) so the plugin can detect that your post has been Dugg. To ensure it does this, make sure that either the “Digg API” or “CURL” setting is on under Digg options then click on the link from Digg to your site.

    If it still doesn’t work, edit the post, then add a custom field with the key of “DiggUrl” and for the value write either the permalink of the post or the URL to the Digg page for that post.

    Hope that makes some sense.

  705. 705

    Thanks again Ankur. Changing the Digg option from Digg API to CURL actually solved it :)

  706. 706

    One more question: how to I unsubscribe from comments on this post? The “manage your subscriptions” link below the comment box gives me this error: “You may not access this page without a valid key.”

    Thanks.

  707. 707

    I just cannot get the ‘pop’ up to work. No matter what I try! It always leads to a new page and for the life of me I’m stuck.

    See: http://www.atheistperspective.com

    Does anyone have any ideas?

  708. 708

    btw, I have both the right code in footer and header:

    So I don’t think it could be that.

  709. 709

    Hello,
    I installed this plug in this morning. The “Share This” button seems to work fine but my feedburner feedflare choices are not showing. Will this plug in activate feedflare on my site? I thought I read that it would. Thank you for letting me know.

  710. 710

    Renae, steps to get FeedFlare showing:

    1. Activate FeedFlare on your FeedBurner account
    2. Add the <%FLARE%> tag to the PostBadge code (in the Gregarious options page)
    3. Post something.

    Michael, try resetting the plugin. It should fix the issue.

  711. 711

    Hi Ankur

    I’ve reset the plug in, cleared the cache but still it doesn’t pop up :) Very confused!

  712. 712

    Michael, you need to make sure that the akst.js and akst.css files in modules/share-this are writable by your server. This means setting high permissions (using CHMOD) to something like 777.

    If that’s inconvenient, simply re-download the plugin. I’ve changed the initial contents of the file slightly so it will work better even when not writable.

  713. 713

    I’ve set the permissions for both files to 777. I’ve also tried using the new plug in but neither option has worked! :) Thanks so much for your help by the way, it’s much appreciated.

  714. 714

    Thank you for your quick reply. I installed the tag to the Post Badge code but it still isn’t showing up even after a new post. Does it take awhile to activate? Feed Flare is showing up on my feed but not my site. Any suggestions? Thank you.

  715. 715

    Michael, it does work now… I’m getting the popup nicely.

    Renae, it does take a while for the FeedFlare to show up. Just to make sure, though, you can check if you’ve activated some FeedFlare for your site as well as for the feed as you can configure them separately.

  716. 716

    It’s not working right on my site.

    When I select “show digg badge for dugg posts”, nothing shows on any post (even if posts have already been dugg)

    When I select “show digg badge for un-dugg posts”, the digg badge will then show up for everyting…Dugg posts and un-dugg posts.

    The logic does not seem correct. I cannot make it so only the badge shows up for dugg posts. The only option is for it to show on ALL posts (regardless of it being dugg or not).

    Please help. Thanks!

  717. 717

    Alexander, I’ve got the Digg badge showing only for Dugg posts and it’s working fine. To make the Digg badge show only for Dugg posts, you need to have a referral from the Digg page for that post so the plugin can detect it.

    For example, the first time a user clicked the link from http://digg.com/tech_news/WP_Plugin_Gregarious_the_ultimate_SMO_plugin to this post, Gregarious detected it and now the Digg button shows.

    If you’re having trouble getting it to work even after clicking the link from Digg, try changing the the detection method in the options page to CURL or Digg API.

  718. 718

    The digg bage will show for dugg posts when I select “for un-dogg posts show badge.” Right now, I have the settings showing for “dugg posts, show digg badge” and i’ve tried both curl and api… it won’t show. There are many posts that already have the referral. (i.e. http://digg.com/political_opinion/Campaign_to_Stop_Ahmadinejad).

  719. 719

    In that case, edit the post and (if there’s isn’t a field called DiggUrl or DiggData) add a custom field for the key “DiggUrl” and set its value to the Digg URL. If the button shows then, we know the problem is in picking up and storing the referral.

  720. 720

    HUGE speed boost. I was a little wary of releasing the latest update in case it caused errors, but it should be all set to go. The latest version is 1.9.9, and yes, I will standardize the version system with the release of Gregarious 2.0.

  721. 721

    Template Integration!
    i can not wait any more to see that~
    tell me how to get it ?

  722. 722

    I like the plugin but I would like it to appear in the entry header on the right hand side instead of under the post as this would give a more uniform look especially on short entries and would provide some symmetry with the date image.

    Could you explain if this is easy to do and if so how to do it?

    Thanks

  723. 723

    Andol,

    I’ve been really busy, but I’ll try get some basic docs up soon. You can also use the template tags for theme integration.

    Paladine,

    The main template tags are:

    <?php digg_button() ?>
    <?php share_this() ?>
    <?php feed_flare() ?>
    

    Alternatively, you can turn off the “Append to Posts” option for PostBadge, then using the <?php post_badge() ?> template tag to show whatever you’ve configured in the PostBadge code. You’ll have to look in your theme / template files to see where the template tags will go.

  724. 724

    Ankur,

    Thanks very much, managed to figure that out easily enough from your instructions. You can see the result on http://blog.paladine.org.uk

    Much appreciated :) As you can see it looks better than if it was appended to the end of the post.

    Would you mind if I edited out the [?] hyperlink and just added a new Links box to the side panel with a link to plugins I using with the relevant link back to your plugin? It would align the digg buttons better whilst still acknowledging your code.

  725. 725

    Great plug-in! Thanks for doing this. I am having some strange issues, though. My pop-box seems to have the content squished to the right. Am I doing something wrong?

  726. 726

    Well, I’ve made sure that header.php and footer.php both have the correct calls in them and still the button sends you to a new page instead of the little popup. Any ideas?

  727. 727

    The reddit button doesn’t show, the share this link doesn’t work, and I’m getting this error when I try the URL linked from share this:
    Parse error: parse error, unexpected ‘}’ in (path)/wp-content/plugins/gregarious/modules/share-this/inc_page.php on line 254

  728. 728

    Paladine, feel free to edit the plugin in any way you please.

    Seth, try moving the < ?php wp_footer() ?> call just before the footer div. The problem is something to do with the theme.

    Ron, the problem is due to a javascript error, which makes the link take you to the page. If you make sure that akst.js and akst.css in modules/share-this/ have their permissions set to 0777 then hit either “save” or “reset”, it’ll fix the problem. Alternatively, you can re-download the plugin as I’ve fixed the original values.

    Jab, that’s my fault. Just delete the last } at the bottom of the file. I must have left that in accidentally when I was optimizing the plugin.

  729. 729

    Great Plugin. One quick question. I see references to javascript errors in IE in past posts, but has a solution ever been found? I’m running WP2.2.1 with gregarious 2.0(build 60). The Options panel works great in FireFox, but is totally broken in IE7. If this is common and unfixable at this time, I will stop looking for answers and just advise to use FireFox. If this is fixable, I’d love to get it corrected for my client. Thanks!

  730. 730

    Nicole, I don’t really have access to IE, so I don’t know what the errors are. If you could tell me what errors are being thrown, I can try and improve IE compatibility.

  731. 731

    I’m sorry but it seems I have a problem…
    <
    Fatal error: Call to undefined function: attribute_escape() in /mnt/w0401/d20/s45/b02b8609/www/whiteshore.net/blog/wp-content/plugins/gregarious/modules/digg-button/digg-button.php on line 96
    >

    I’m using the blueberry boat theme, is it the problem?

    Thanks

  732. 732

    Kay, the theme shouldn’t be a problem. The attribute_escape() function was introduced for improved security in a not-so-recent update to WordPress. Upgrading to the latest version will most likely solve your issue.

  733. 733

    Well, I’ve made sure that the header and footer contain the proper calls and still it goes to a new page. Any ideas? I can’t find any javascript errors but I’m not sure I’d know one if a saw it.

  734. 734

    Ron, you have a couple of Javascript errors:

    illegal character function writeTwitterPartyBadge (badgeWidth,badgeHeight,userID,userName,disp...
     (line 570)
    
    writeTwitterPartyBadge is not defined
    writeTwitterPartyBadge(200,500,2916671,"1389","1389","0xFFFFCE","0x...
     (line 575)
    

    Could be the Twitter plugin.

    However, another error is thrown when a Share link is clicked, so I’m not sure if the Twitter plugin’s error is interfering or if they’re separate errors.

  735. 735

    Nice looking Plugin!

    For some reason I can’t get the icon for “share this” to show up? Can you help?

    Dean

  736. 736

    Dean, there’s a conflict between your theme and the plugin’s CSS. Just find the rule for ‘.akst_share_link’ in modules/share-this/inc_admin.php and mark the background rule as important, like this:

    .akst_share_link {
        background: 1px 0 url(<?php echo greg_uri(); ?>modules/share-this/icons/share-icon-16x16.<?php echo greg_get_option("share_icon_format"); ?>) no-repeat !important;
        padding: 1px 0 3px 22px;
    }
    

    Then go to the options page and hit “Save” once to update the css file.

  737. 737

    thanks for your plugin.

  738. 738

    There is a link that I can’t get rid of.

    It’s a link to http://dev.lipidity.com/feature/wp-plugin-gregarious

    The link text is: “[?]”

    So I get the Digg box, then this link to lipidity.com, then the “Share This” link.

    You can see it at http://www.criticalreactor.com

    Any ideas how to get rid of this link?

    Thanks!

  739. 739

    Brewskie, search for ‘[?]’ in modules/digg-button/digg-button.php and remove it from there.

  740. 740

    Thanks Ankur,

    The image urls needed to be altered in the akst.css. The default was http://dev/…. So I had to correct those and everything is looking great. Thinks for the awesome plugin.

    Dean

  741. 741

    Dean, the URLs are fixed up automatically when you save the options or reset - hence the need to make sure they’re writable by the server (CHMOD).

  742. 742

    Will there ever be any support for WPMU?

    Or is this something we should consider developing separately?

  743. 743

    Hi i am fayaz and i used your plugin for
    “share-this”, and i am unable to get the pop-up.can you pleased help me where i am misplacing the “wp_footer()”call.

    Thank you..

  744. 744

    how did jud answer my name

  745. 745

    hey ankur,
    was very happy to have found this plug-in and all was working well until… crash. i changed the “share this” settings and now my whole WP admin comes up as nothing but blank broswer. removed the plug-in and all was fine. reinstalled it from the original zip: blank.
    is there something i need to reset outside of the plugins dir so i can try to get this working again? not sure why it would have worked fine at first and then the clean reinstall would fail.
    your help is appreciated.
    xz

  746. 746

    Does your plugin put the Share link in the email?

    Thanks! =)

    Ryan

  747. 747

    I have installed your plugin on 3 different blogs and am quite pleased with it. However, on the last install - the “share this” icon is on top of the “share this” text link. How can I fix it?

  748. 748

    Great plugin, I really appreciate the streamlined option of the pop-up module with no bubbly graphics. One thing though (isn’t there always?): is there a way to see how often the “share this” is utilized by my readers? Do you have any suggestions as to how to acquire these stats?

    Thanks,
    Anne

  749. 749

    Tom,

    Will there ever be any support for WPMU?

    Although I would like to provide support for WPMU, I haven’t been able to do this due to time constraints. If you’d like to have a shot at modifying the plugn to make it work, please feel free.


    Fayaz,

    i used your plugin for “share-this”, and i am unable to get the pop-up

    You’re using the Share This plugin, which is written by Alex King. The Gregarious plugin which I write includes a modified version of this plugin. You could try Gregarious or you could try to find out the reason for the Javascript error you’re getting.


    Xz,

    i changed the “share this” settings and now my whole WP admin comes up as nothing but blank broswer.

    Could you tell me what change you made before the big bang? I can write an uninstaller for you to completely remove every single little trace of the previous installation so it works again, but it will be a big help if I know where the bug is.


    Ryan,

    Does your plugin put the Share link in the email?

    Sorry, I’m not sure what you mean. Which email?


    Chris Melton,

    the “share this” icon is on top of the “share this” text link.

    This would be due to a conflict in the CSS, probably with your theme. You can add an !important mark for the padding rule for the link class. If you need instructions, I’ll be happy to provide them.


    Anne Hill,

    is there a way to see how often the “share this” is utilized by my readers?

    Not yet, but if you don’t mind waiting for ages, I can probably write this up.

  750. 750

    Ryan,

        Does your plugin put the Share link in the email?
    
    Sorry, I’m not sure what you mean. Which email?
    

    Sorry, I meant the email from Feedburner. I must have been in a hurry again. I will explain in great detail for you here to make up for it =)

    I did more research into this and think there is something called a Personal FeedFlare URL which in Feedburner it has a FeedFlare section which lets you turn on links at the bottom of emails which it sends out to people who subscribe to your RSS feed. I saw someone who had a Share this link in their email and had your plugin on their site so they must have figured it out somehow but I cannot seem to.

    Inside Feedburner’s site when you are logged in it has a FeedFlare section and at the bottom of all the possible things to add to your feeds (such links will then appear at the bottom of the email as Email this, Digg! this, Stumble it!, Save to Del.icio.us, etc etc.) I want to add a Share This link above them and I think that in order to do that I have to (Enter or paste a Flare Unit URL) as Feedburner says.

    Wonderful little plugin =) Thank you very, very, very… Very much!!!

  751. 751

    OK Ryan. I think an update to WordPress had the broken the feed link. I’ve fixed it now. You can just download the new version, then activate the “Show Share This link on RSS feed content” option.

  752. 752

    Woah, nice job man! Great plugin.

  753. 753

    I figured that there was some sort of conflict, but being somewhat new, I didn’t know where to look. If you would provide me with some basic instructions, I can get it straightened out. Thanks for your speedy response. I would have gotten back sooner, but our service was down

  754. 754

    Has anyone encountered the situation where activating the Gregarious plugin causes the post body to disappear, both from single post view and from the main page view?

    I’m using a freshly installed WP 2.2.1 from Fantastico with Gregarious 60 as the only plugin installed and just one extra skin (but the effect is the same with the default skins). Really a virgin clean installation. I even chmoded the two js files to avoid the warnings when saving Gregarious config.

    If the plugin is disabled I can see the post body without problems. As soon as I activate Gregarious, the post body disappears, and is replaced by all the buttons (Digg this, [?], Share this, etc). Amazingly, none of the other problems frequently occurring in these comments appear (e.g. popups work, everything works, there’s just no blog body!).

    I’m using PostBadge to attach the buttons to the post. I’ve tried changing the PostBadge code, and even tried doing a search-replace in the plugin code to change %CONTENT% to %GREG_CONTENT% in case it was messing up a global variable in WP, but to no effect. There is no difference whether I put %CONTENT% before or after other tags, with or without <>, and if I add something else (”foo”) to the Postbadge code, it will get displayed in the page.

    Additionally, when the plugin is active, the post body is not present even in the page source, so there’s no chance of a lost closing tag of some div element eating up the whole text - it simply does not get echoed.

    The blog is not yet public, it’s password protected, so here are some screenshots.

    Sample screenshot with plugin active:
    http://img50.imageshack.us/img50/3989/screenshot005tz5.png

    Sample screenshot with plugin inactive:
    http://img50.imageshack.us/img50/8904/screenshot006cu6.png

    Thanks for any help!

  755. 755

    I updated the share-this.php file and now I am also having the problem now with the blank content.

    I am also using Post Badge.

    Maybe unrelated but when I went to the Edit Database button the feedburner url was blank eventhough I have actually entered one in FeedFlare module.

    Disabling the Share this module allows me to show the content of the posts again.

    I also cannot seem to get the emails to send from the share this link popup on the site for some reason… but maybe that is something else, just thought I would mention it since that is probably a very good feature to have. Maybe a wordpress update messed up some more things :(

  756. 756

    So I also seem to have some weird deal with the CSS file rewriting itself or something. Now that is a bit odd. I don’t know if it happens when the component gets reactivated or whats going on but it does suck to have to re edit the css each time it happens. I can’t figure that part out =)

    Also, someone actually got an email with the Share this link on it in the time I was testing it for a couple minutes which is neat, except for the fact that the link only linked back to the home page of the blog…

  757. 757

    I am having the same problem as UNREAL, in that when I activate the plug-in, the body of my post disappears.

    When I first installed it, the posts didnt disappear, but the links were not showing up correctly. So i played around with the options a little bit, and then the posts just dissappeared. Im not exactly sure what I changed that caused it, but I removed the plug-in reinstalled it, and the posts still disappear whenever I activate the plug-in.

    I still havent gotten any of the buttons to work correctly yet.

    Please help!

  758. 758

    If your post content disappears when you activate the plugin, go to Options -> Gregarious -> PostBadge and add the %CONTENT% tag to the PostBadge code.

  759. 759

    Ankur, I’ve tried every possible variant of %CONTENT% I could think of, but nothing worked. At the beginning, at the end, <%CONTENT%> , “%CONTENT%”, with <br> after it, nothing. As I wrote, I even changed the source to change the variable to %GREG_CONTENT% and still no effect.

    If I write “%CONTENT% foo”, “foo” will get echoed instead of the post body.

  760. 760

    After some further investigation, something’s definitely fishy. When I go to gregarious settings, in the PostBadge settings, I have for example “%CONTENT% foo” written in the “PostBadge code” window. I can change it, save it, changes get reflected on the site, but there’s no post body.

    When I go to Gregarious “edit database” option, the “append_content” box still has this: “<div class=’diggWrap’>%DIGG%</div>
    %SHARE%”. When I try to change this field and click “save option”, nothing happens. Upon reload, the edit database page still has the same original text in the append_content field.

    I’ll go and try to snoop around in the database directly…

    *EDIT: I found two fields in the database, “append_content” and “greg_append_content”. Manually editing the fields I found out that the one actually displayed is “greg_append_content”, but adding %CONTENT% here still doesn’t do the trick.

  761. 761

    I am having the same problem as everyone else too, the post contents wont show up at all with gregarious installed and activated, and I tried numerous times suing %CONTENT% but still not working

  762. 762

    I also have this problem on my site. No matter what I do, I don’t get any post content on the homepage of the site. All the other pages are fine. I’ve had to disable this plugin for now.

    When I do the edit database trick, it always reverts back to “

    %DIGG%

    %SHARE%”

  763. 763

    Hi all.

    Really would like to use this plug in as well, but i’m also getting the same problem off the posts disappearing. When i deactivate the plugin the post reappear.

    And i don’t have any clue on what to do. If anyone gets a solution, please please share it.

    Thanks.

  764. 764

    If you the post content is not showing, please update to version 1.9.10

    A little bug crept in when I fixed the “Share This” link in feed option.

  765. 765

    And where is 1.9.10? The download on this site (which comes from wordpress) is 1.9.9

  766. 766

    Nick, I’ve uploaded it so it should be up when WordPress.org updates it with the new version.

  767. 767

    Very nice :) Thanks for good work!

  768. 768

    Ok, posts are shown now, but no badges, no matter what settings I set it to :(

  769. 769

    Nick, is the “Append to posts” option on and is there something in the PostBadge code? It’s working fine on my local server.

  770. 770

    Yay the Share this link now shows in the feed and therefore Feedburner email! Thank you for fixin it =)

    Still cannot see the the feedburner_url in the Edit Database option in the plugin. Nor does it appear to send emails to me from the frontend of Wordpress when the Share This link is on with the popup.

  771. 771

    Ryan, there is a FeedBurner URL option under Options -> Gregarious -> FeedFlare. As for the emails, if you submit the form in the Share This dialog, it should get sent. I’m not sure I can do anything about it if it doesn’t work.

  772. 772

    The “Append to posts” option is on.

  773. 773

    The problem was it was picking everything up as undug, even though some of my pages were dug. I had undug stories set to show nothing.

  774. 774

    Just dowloaded verion 2.0 and my content is not showing up either. Any suggestions?

  775. 775

    Which download link is the 1.9.10 working on now because i’ve downloaded the one on wordpress, uploaded it and i’m still getting no post on my blog.

    Please specify…

  776. 776

    Hi,

    How can I make the “email” tab not appear anymore? Basically I don’t want to allow any emails to be sent, I only want the “bookmarking” feature.For now I just removed the submit buttom and the form action, but each time I remove all the code related to email, the javascript stops working and when I click on Share this I get forwarder to a page instead of the nifty popup.

    Anyway to get rid of email without any problems?

  777. 777

    Sibusiso, the download links point to the same location. I’m using 1.9.10 myself on this site, and it’s working fine.

    Fabian, go to the Administration -> Plugins and check that Gregarious is version 1.9.10.

  778. 778

    Yeap is 1.9.10 still does not work, any suggestions?

  779. 779

    OK, version 1.9.10 works if you turn off the “Append to posts” option under PostBadge and use the <?php post_badge(); ?> template tag in your theme.

    I’m still looking to see what’s going wrong.

  780. 780

    Fixed issue: of blank posts in version 1.9.10b

    Please update.

    It was a silly bug, but my site didn’t go kaput so I didn’t notice.

    I am running out of version numbers… this can only mean one thing. Gregarious 2.0 is in the works.

  781. 781

    This latest version isn’t working for me either. The plugin is activated, and I’ve check the box to show it on posts (as well as put it in the sidebar) - but nothing shows up this time. Strangely enough, if I view my source - it’s all there, all the forms/buttons - but nothing shows up on my page.

  782. 782

    Hmmmmmm, now it doesn’t work at all for me in the post. Last version worked but still could not send emails from the share popup, neither could someone else on some other computer somewhere else in the world.

    Now I see no Share this link on the home page but do see it in the feed.

    And while you are at it… =) …can you please add an option to change the text of the share this link in the feed separate from the share this link in the post?

    Also would be great if the links had a set colour to grey or something on the popup because the background of the popup is white and when the links are white on the page it just does not look good at all and for some reason the css keeps getting overwritten, I suspect when the share this module is re-enabled in the backend or something saved maybe.

    I am aware that you can change the FeedFlare url from the options but I’m saying that I have one in there. However when I go to Edit Database it does not appear in there where it should. That box is just blank.

    Lookin forward to 2.0! This things great! Thanks again!

  783. 783

    This ain’t fear for me.

    Non of the upgrades seem to work. The version 1.9.10 was not showing my posts but plugin worked, now this version 1.9.10b shows my posts but the plugin does not work.

    Its now vice versa.

    Any ideas?

  784. 784

    Great, every time I fix a bug, another one surfaces. I get the last laugh, though, I’ve finally fixed it.

    Version 1.9.10c up now. All previous issues should be fixed.

    Ryan, you’re right that CSS gets overwritten. Change the CSS in modules/share-this/inc_admin.php in the akst_print_css() function.

    Gia,

    How can I make the “email” tab not appear anymore?

    Look in the hybrid_akst_share_form() function in modules/share-this/share-this.php.

  785. 785

    The 1.9.10 update does work with Wordpress 2.2.1. Thanks.

  786. 786

    It’s working now.

    Thanks.

    But how can i make the post badge be on my right side of the post. Right now it shows on the left and makes it unclear since my tags are that side?

    Thanks again.

  787. 787

    Installed and works fine, sort of. My settings are currently:

    For un-Dugg posts, show: Nothing

    For Dugg posts, show Digg Badge

    Problem is, the badge doesn’t show up for posts that have been dugg. Furthermore, changing the un-Dugg posts option to text, icon or even compact digg badge doesn’t help. For the option of “un-Dugg posts” set to compact page, the compact badge shows how many times an article has been dugg. That is currently how it is set because I am trying it out, but it would be great if it worked like:

    For un-Dugg posts, show: Nothing

    For Dugg posts, show Digg Badge

  788. 788

    The latest version works fine for me.
    Good job man!
    Keep up the good work!

    Yours,
    Wakish
    (http://wakish.info)

  789. 789

    Hi Ankur,
    I’ve got the latest Gregarious installed along with WP 2.2.2. The active modules are: digg button, digg extra, feed flare and post badge. Rest all are disabled. Now, the digg badge shows up fine after every post - but along with that a text called %SHARE% - which I believe is the placeholder for the Share It button keeps appearing too. It makes the posts look a trifle bit ugly. How do I get rid of this one?

    Thanks,
    m^e

  790. 790

    Sibusiso, add <div style='float:right'> at the start of your PostBadge code, then </div> after it.

    Mike Panic, I’ve got my options set that way and it’s working fine. The plugin will detect if your post has been Dugg once there has been a referral from Digg to your site. Make sure that the detection is using the Digg API or CURL under Digg options (Digg API is faster).

    miCRoSCoPiC^eaRthLinG, just remove it from the PostBadge code under PostBadge options.

  791. 791

    Thanks mate… :) That worked perfectly.

  792. 792

    Hmmm.. OK… that is what my settings are as well - I’ll just uninstall and reinstall it.

  793. 793

    I am getting the following error when I try to email someone:

    Fatal error: Call to undefined function: wp_die() in /home/therotat/public_html/blog/wp-content/plugins/gregarious/modules/share-this/share-this.php on line 344

    the social sites seem to be working fine. Can you help me?

  794. 794

    Chris Melton, you’re running WP 2.0.2. If you upgrade to the latest version (2.2.something) it should work.

    Mike, have you clicked on the Digg page for your post to let the plugin pick up the referral?

  795. 795

    I haven’t, no.

  796. 796

    Please help. Not a single badge is appearing, only the “Share This” links appear at the bottom of every post.

  797. 797

    Ankur,
    is it at all possible to only have the Reddit button display if the post has already been submitted to Reddit?

    I love the fact that the Digg button is invisible until the post has been Dugg.

    Any way for us to do that with the Reddit button in the current release?

  798. 798

    Hi Ankur–GREAT plugin and thanks for all your hard work on it. I have three questions:

    1) Is it possible to get the text for a post to wrap around the digg button?

    2) Can the colors of the “Share it” pop-up box be changed?

    3) How do I alter settings so that a preview blurb of the page will appear in the Digg page automatically?

    THANK YOU!

  799. 799

    Mike,

    have you clicked on the Digg page for your post to let the plugin pick up the referral?

    I haven’t, no.

    That’s how the plugin detects if a page has been Dugg. You just need to do it once and you should be right.

    Geri,

    only the “Share This” links appear at the bottom of every post.

    Go to options and click on the PostBadge tab. You’ll see an option that says “PostBadge code”. That’s where you configure what shows. There are clickable tags just above the textarea that you can add, and HTML works there too.

    Travis,

    is it at all possible to only have the Reddit button display if the post has already been submitted to Reddit?

    From what I understand, Reddit doesn’t have an API like Digg does, but I can work in a referral-based checking system to accomplish this in a future release.

    Matt,

    GREAT plugin

    Thanks ;)

    1) Is it possible to get the text for a post to wrap around the digg button?

    Certainly. Use the attribute style='float:left (or right) on the parent element (that’s in your PostBadge code). By default there’s a div around the Digg tag which you can add this to.

    2) Can the colors of the “Share it” pop-up box be changed?

    Absolutely. Open modules/share-this/inc_admin.php and right near the top there’s a function called akst_print_css(). Modify as much as you like.

    3) How do I alter settings so that a preview blurb of the page will appear in the Digg page automatically?

    I’m glad you asked this because I haven’t gotten around to writing documentation for this plugin yet, so many of the advanced features aren’t known.

    To add a suggested description for submitters (that’s what you mean, right?), delete the %DIGG% tag from your PostBadge code and use the template tag <?php digg_button('bodytext='.get_the_excerpt()) ?>. I just made up the get_the_excerpt() bit, but you can add whatever description you want.

  800. 800

    That’s how the plugin detects if a page has been Dugg. You just need to do it once and you should be right.

    another article got dugg yesterday, I clicked the link on the digg site and the badge still didn’t change. I currently have it set to display the small one when no diggs, large one when dugg.

  801. 801

    This looks good I think I should try it.

  802. 802

    When I changes the settings in the options menue and save the changes I get the error:

    Catchable fatal error: Object of class geoiprecord could not be converted to string in /www/htdocs/w008c763/blog/wp-includes/formatting.php on line 587

    Maybe it’s an easy one to fix?

    Cheers,

    Thorsten
    http://www.StrongMocha.com

  803. 803

    ok, I found the issue. The plugin “WP/GeoTrack” is causing the issue.

  804. 804

    Mike,

    I clicked the link on the digg site and the badge still didn’t change.

    Try cycling through “Digg API”, “CURL” and “none” for the detection methods (each time clicking the link from the Digg page).

    If everything fails, edit the post and check for a “DiggUrl” key in the custom fields section. If it’s not there just add it in manually (case sensitive) and set the value to the URL of the Digg page. Or, you can use [digg=http://digg.com/cat/article_name] anywhere in your post to show the badge.

  805. 805

    Just installed the latest version and I’m having some issues viewing the configurations within the admin interface. I think (not a programmer) that there are some issues with the Ajax and I thought there was a toggle to turn that on and off but I can’t access it. I tried looking at the DB area but didn’t see anything there.
    Anyone else having an issue with the display on the latest build? (1.9.10c is what I have).
    Thanks,
    HTD

  806. 806

    I have just installed this on my blog http://www.eruptingmind.com and was getting %SHARE% underneath the digg button. i deleted this in the admin control panel as it was outside a div and %SHARE% has gone, is this ok or is it need?

  807. 807

    Hightechdad,

    there are some issues with the Ajax

    Either there’s a conflict in the Javascript with another plugin, or you’re using an old browser.

    Martin,

    was getting %SHARE% underneath the digg button.

    If the “Share This” module is on, you’ll get a Share This link where the %SHARE% is, otherwise you’re free to remove it from the PostBadge code.

  808. 808

    Ankur,

    I see a few other people have mentioned the same problem I was/still am having.

    When I set the plugin to show “Nothing” for undugg posts and to show “Badge/Compact Badge” for dugg posts, none of the posts (even ones with diggs) have a badge show up. The only way for the plugin to work is for me set undugg posts and dugg posts to “Badge/Compact Badge”.

    Any fix in the works for this? Thanks again.

  809. 809

    I’m using that “float:right” to get the badge to show on the right of my post - but it’s showing up at the bottom of the post, on the right, instead of top/right. How do I change that?

  810. 810

    Mike,

    When I set the plugin to show “Nothing” for undugg posts and to show “Badge/Compact Badge” for dugg posts, none of the posts (even ones with diggs) have a badge show up.

    Any fix in the works for this?

    Unfortunately, I’m not sure what’s causing the problem as I’m using the exact same settings on this site. Edit a Dugg post and add a custom field “DiggUrl” and set it to the Digg URL. If that works, we can narrow down the possible causes.

    Jeromy,
    To get the button on the top, add / move the %CONTENT% tag to the bottom of the PostBadge code.

  811. 811

    My blog posting: http://www.randomn3ss.com/2007/08/09/how-to-list-an-ebay-auction-for-maximum-profit/

    Digg page: http://digg.com/business_finance/How_to_list_an_eBay_auction_for_maximum_profit

  812. 812

    Ankur,

    Using the latest and greatest versions of Firefox and IE (Maxthon). Maxthon doesn’t work with the Ajax display so I typically go to Firefox. It “is” possible that there is a conflict with some plugins (e.g., ad blocking or something) but I have tried Safari on the mac and it behaves the same way as in Firefox. All of the “options” (e.g., Digg options, Digg extras, Feedflare, etc) when clicked don’t show any configuration items. Should I click RESET? If so, what will that accomplish?
    -HTD

  813. 813

    can anyone send me that latest beta? or help me out here…. i want my digg button to display before the
    post title, it claims to be positional but i cant find a way to do this can someone please help me out! BTW im not to knowledgeable with php stuff quite yet so i may need a bit of guiding.. i noticed above in the comments to move %CONTENT% but where is that done? like i said id like to left right before post title, but incase i do not like format how do i go to the right side instead?

  814. 814

    Hightechdad, I meant conflicts with other WordPress plugins (they could be adding conflicting JavaScript to the admin head).

    Polo, you can move the buttons relative to the post content by going to the Gregarious options page, clicking on PostBadge, then rearranging the ‘tags’ in the PostBadge code textarea. If you want it before the title, add the code <?php post_badge() ?> in your template before the title.

    Mike Panic,
    Edit the post, then add a custom field called DiggUrl with the value http://www.randomn3ss.com/2007/08/09/how-to-list-an-ebay-auction-for-maximum-profit/. If there’s already a field there, then we have a bug.

  815. 815

    ok i went to gregarious options, clicked on the postbade icon for the options for it…….
    and the only code in the posbadge code area is this

    %DIGG%, %CONTENT%

    now if u look at my site http://www.duppa.org

    now its under the title, id love for it to appear right before the title… is this possible… please tell me yes… and if so can i do this within the options cuz according to this site it claims u can position it wherever…. otherwise i dont know which php file id need to edit to place that code….

    *EDIT* i definitly want it to the right side of the date and title.. PLEASE PLEASE tell me how to do this…id so much appreciate it FOREVER id be in your debut!! :)

  816. 816

    Ankur,

    Editing the post w/ the custom field seems to have worked - do I need to do that to every post that has been dugg now??

  817. 817

    Hi Ankur–I’m a programming ignoramus! I’m trying to figure out the “add description” feature as you explained it to me above:

    “To add a suggested description for submitters (that’s what you mean, right?), delete the %DIGG% tag from your PostBadge code and use the template tag . I just made up the get_the_excerpt() bit, but you can add whatever description you want.”

    By “template,” do you mean the widget template? Or does this go into the actual Wordpress code?

    Talk to me like I’m an idiot…when it comes to this stuff, I certainly am! :) Thanks again.

  818. 818

    Thanks for the plugin
    It looks like it will be very useful when I get it configured.
    But right now it is introducing 37 validation errors that I am trying to figure out
    WP version = 2.2
    Theme = iblue
    Page = http://meandering-pen.com
    Errors are: Line 277, Column 204: duplicate specification of attribute “onclick”.
    …&akst_action=share-this” onclick=”akst_share(’44′, ‘http%3A%2F%2Fmeanderi?
    You have specified an attribute more than once. Example: Using the “height” attribute twice on the same “img” tag.

  819. 819

    Gary, the validation error is not caused by Gregarious itself, but by a conflict between the Google analytics plugin and the Share This module of Gregarious. If you’re that worried about validation, you can edit the Share This module to resolve the conflict or get rid of either the G-Analytics plugin or the Share This module.

    Matt,
    In your admin menu go to the theme editor under the Presentation tab. Edit index.php (and single.php I think). Find:

    <div class="entry">
    

    Just under it add:

    <?php digg_button('description=bodytext='.get_the_excerpt()) ?>
    

    Now if your posts have an excerpt set, when a user clicks submit to Digg the description will be set to it. I haven’t tested this myself, but it should work in theory.

    You can also remove the %DIGG% tag from the PostBadge code as the code you just does the same thing.

    Mike, unfortunately, if the referrals aren’t being picked up, you may have to continue to add the Digg URL manually.

    Polo, Use following code in your theme where you want to show the Digg button:

    <div class='float:right'><?php digg_button() ?></div>
    

    Then you can remove the %DIGG% tag from the PostBadge code.

  820. 820

    ankur.. thanks a mil!

  821. 821

    First and foremost THANKS!!! Are you aware of any conflicts with the all in one SEO pack and Gregarious? My recent Digg links are not linking correctly. Instead of digg.com/category/title it’s going to a post within the category that has the same title as the category so it’s digg.com/category/category. I recently installed the All in one SEO pack and of course Digg has altered their look, but that’s all I can think of that’s changed. http://knightknetwork.com

    EDIT: I have a DiggData custom field and the href for digg.com shows as digg.com//blah instead of digg.com/blah so I can manually fix this but still curoius as to what might cause it, thanks

  822. 822

    How do I remove the [?] link in the postbadge, with the link to here? I’m really enjoying this plugin, but this annoyance keeps me from fully using it… thanks in advance.

  823. 823

    David Knight, I’ll have a look at the code and see if I can work out what could be causing this.

    Marco, search for and delete the “[?]” from modules/digg-button/digg-button.php.

  824. 824

    If you’re getting the Digg button pointing to http://digg.com/category/category, (where category is, well, the name of a category), this is due to a bug in the Digg API. I have emailed Digg about it, so it should be fixed soon, but if you’re facing this problem, edit the affected post and in the “custom fields” section find the DiggData key. In the value change the http://digg.com//… to have only one slash after the .com.

  825. 825

    Tank you for your help… I’ve removed the [?] in the code.. =)

  826. 826

    I have installed this extension according to the simple directions. The only button showing up is “share this,” while the DIGG! button is marked with an error.. click on the error and you get “The URL does not have a propertly formed hostname.” The problem is that there are so many pages to look through, and that the site is not live to provide a link.
    Have I done something wrong? Is it a bad install? Where do I find the link to attempt a correction?

  827. 827

    Now I’ve re-installed everything and there is absolutely nothing showing up. Also have all-in-one-seo and ultimate google analyzer as well as calendar

  828. 828

    Hey, this plugin is awesome! I have one problem tho,
    when i publish a new post, the Post Badge doesn’t show up. Eventually after I go and update gregarious, and sometime reformat it, the post badge will show up. Is there any way to keep me from have to go and update gregarious every single time? The only module I have working is the feedburner flare,
    %CONTENT%
    %FLARE%
    so..?

  829. 829

    oh, actually it’s more of a delay; it does show up on its on after a while, but why the delay?

  830. 830

    Caroline, edit the post and delete the DiggData and / or DiggUrl custom keys.

    Zach, the delay is due to FeedBurner - they can only provide FeedFlare once they’ve updated your feed with the new post. You can reduce the delay by pinging FeedBurner when you publish a new post.

  831. 831

    Every time I activate the plugin every thing go white and nothing appear and I mean nothing the page just go white and at finally I have to delete it through ftp from my site and then every thing come back ok.please tell me what to do because I really like this plugin.

  832. 832

    There’s no place to:

    “delete the DiggData and / or DiggUrl custom keys.”

    on the post edit screen. Nothings showing up at all. Its like I didn’t even install Gregarious.

  833. 833

    Caroline, there’s a “custom fields” section whether you’ve installed Gregarious or not - its part of the WordPress post screen and it looks like the trackbacks / excerpt boxes. You may need to scroll down a bit.

    John, it’s a PHP error. I’ll investigate, but if you can tell me what the error is it’d save a lot of time.

    Thanks.

  834. 834

    Ok. I found the spot you specified. There are no custom digg/urls in there. All I have for custom fields are keywords, title and description.

  835. 835

    Caroline, could you provide an example link of where the error is occurring?

  836. 836

    Unfortuntaely not yet as the blog is not live. Its being developed on a private server set to go live sometime within 3-6 weeks.

  837. 837

    hi there. can someone tell me how to remove the border around the digg image icon [little dude]. i’m sure it’s possible, but i’m a bit of a hack and i don’t want to screw things up. much appreciated.

  838. 838

    Craig,

    how to remove the border around the digg image icon [little dude].

    It’ll be due to the CSS stylesheet of your theme. Use the following rule to remove the border from the image:

    div.diggWrap img { border: 0 }

    It may not work if your theme uses a more specific rule to add the border.

  839. 839

    ANKUR,
    Many Thanks.

  840. 840

    I want to remove the little question mark beside the Digg button. I have no problem with giving you credit on my site, but that question mark is both distracting and unprofessional.

    Can it be done?

    http://www.therecshow.com

  841. 841

    Ray,
    Search for and remove the [?] from modules/digg-button/digg-button.php.

  842. 842

    I can’t get the popup to work no matter what. But for reference, the Sphere It! widget does pop up. Both Gregarious and Sphere being in the article meta.

  843. 843

    I keep getting this DB error:

    WordPress database error: [Table ‘database_name.wp_wpv_display_option’ doesn’t exist]
    SELECT post_id, column_count, display_text, display_thumbnail, display_align, display_vertical_align, target_thumbnail_size, target_image_size, display_table_border_color, display_table_border_style, display_table_border_width, cell_background_color, cell_background_color_hover, border_color, border_color_hover, border_width, name_font_size, name_font_bold, name_font_color, name_font_underline, comment_font_color, comment_font_size, image_display_background_color, image_display_border_color, image_display_font_color, image_display_name_font_size, display_table_width, display_table_width_unit, display_table_location, display_status FROM wp_wpv_display_option WHERE post_id = 9

    This continues even after deactivating + uninstalling the plugin. It happens 100% of the time with the digg module or post badge unenabled. It also happens on the page that comes up when you click on the post. Any reccomendations on how to remove the plugin cleanly? Thank you in advance.

  844. 844

    I wrote earlier about the options not displaying in my admin area. I think I have identified the conflicting plug-in but I would love to get some confirmation.

    The plugin that I think is conflicting is called ImageManager, located here: http://www.soderlind.no/archives/2006/01/03/imagemanager-20/

    Could someone test and let me know if when Imagemanager is active, the Gregarious options in admin don’t show?

    Thanks,
    HTD

  845. 845

    Please ignore comment 979. It turns out that I isolated the problem. It was a different plugin entirely.

  846. 846

    noobie question… just installed this great plugin, but for some reason, none of the icons are showing up (i.e. the “share this” cion, and all of the icons that should appear when you click “share this”

    any tips? great site. thanks.

  847. 847

    I retract the question. CHMOD’d 2 .php files and got my “share this” icons to appear.

  848. 848

    I installed the plugin and all is working great except I can’t seem to add any other links. At the bottom of the options page in wordpress admin I click the Add a social site link and I get a javascript popup that asks for the site then the link. When I click on the link nothing happens.

    The link I’m trying to add is facebook.
    I put Facebook for the name and the url as: http://www.facebook.com/sharer.php?u={url}

    I believe this is the correct format looking at the links. I’m not sure what I’m doing wrong.

  849. 849

    Sorry typo the line: “When I click on the link nothing happens.” in my previous comment should read
    When I click Ok on the link nothing happens.

  850. 850

    Furrtrap, it’s probably a Javascript error caused by a conflict with something else.

    Hightechdad, the image manager plugin is causing the conflict. I have written to the plugin author to request that they only add their scripts to the admin head when needed (ie. not in options pages), but I haven’t received a reply.

    Basstech, do you mean the extra link doesn’t get added onto the list after you’ve clicked “ok”? Or does that work, but the link is not saving?

  851. 851

    Sorry.

    Yeah I click Ok and it doesn’t add it. The popup goes away and nothing happens.

  852. 852

    Which browser are you using?

  853. 853

    Firefox 2.0.0.7

    I just tried it in IE and I don’t even get the popup.

  854. 854

    Share this’ e-mail function works with WordPress 2.1 but not with 2.2.1 or later. Has this been fixed? Will it be working with WordPress 2.3?

  855. 855

    It works on my site I’m running 2.2

  856. 856

    Basstech, do you have any other plugins installed? There could be a javascript conflict.

    MC, the emaiing works on most servers, but on some it doesn’t. I’m not sure why.

  857. 857

    Here is a list of the plugins I have installed:
    30Boxes Buddy Cards 29.0
    AdSense Manager 2.4
    Akismet 2.0.2
    All in One SEO Pack 1.2.6.4
    Comment Authorization 2.1
    Contact Form 7 1.4.3
    Digg Popularity (Diggularity) widget Free
    FireStats 1.3.6-stable
    Gregarious 1.9.10c
    Hello Dolly 1.5
    MyBlogLog Widget 2.0
    MyDashboard 0.2.6
    Subscribe To Comments 2.1.1
    TFS Core (Text Filter Suite) 1.1
    TFS Pirate 1.1
    TrustMeter widget 0.2
    WordPress.com Stats 1.1.1
    WP Grins 1.5
    WP GuestMap 1.0 beta 3

    I hope this helps somehow.

  858. 858

    Thanks for comment on Javascript. I think it may be due to div design in my theme… I’m still looking into it.

    Regarding link text. Can I add to the wishlist to have different versions of link text for HTML and RSS feeds. I ask this because if you have a digifingerprint appended to RSS feed, the ‘Share This’ text needs to be space padded. This looks odd on a webpage, but the link needs to be offset in RSS.

  859. 859

    After installing the plugin, nothing is showing up in the posts. Will it only show up on posts created after installing the plugin?

    I had the sharethis plugin installed previously and it was working fine, but I uninstalled it because it didn’t play well with the gregarious plugin (I then did a reinstall of gregarious, so that’s not the problem).

    Any ideas?

  860. 860

    Furrtrap,
    you can edit the source file to get the different texts.

    Travis,
    (Gregarious includes the “Share This” plugin, so it’s not advisable to have both on at the same time).
    If nothing is showing, make sure you’ve enabled the “PostBadge” module in the Gregarious options page, and also whichever modules you want you use - eg. Digg button, Share This, Reddit button…

  861. 861

    Aha! I didn’t realize I had to activate the plugin AND activate the post badge. Thanks.

  862. 862

    Gregarious plugin is great, it is very helpful thing

  863. 863

    So now that WP 2.3 is out and has broken gregarious, any plans for an update?

  864. 864

    Works great, as soon as it’s activated. Wouldn’t change a thing.

  865. 865

    Thanks!

    Bobski, I’m running 2.3 and Gregarious just fine.

  866. 866

    I’m getting extra <’s and >’s all over each post, even with the default theme.

  867. 867

    Bobski, fix up your PostBadge code in the options page - you probably have some modules turned off but the tags still present.

  868. 868

    Ankur, thank you! That did it. Though I’m not sure why this would suddenly happen after the upgrade. But never-the-less your suggestion worked!

    Thanks a million for your help and your plugin! (I just wish I could convert those million thanks to currency, you deserve it).

  869. 869

    Strange problem, with the “share this” box not showing and it going to a new page. Adding the footer call doesn’t fix it, but breaks it worse. when added if actually causes text links for all the social sites and a form for the email this to show at the bottom of the page. I’m using this on several sites, only one of which has this problem. I’m sure its in the template somewhere, but I’ve tried using the snippet in everyplace in the footer to no avail. Could the problem code be outside the footer? What could cause this?

  870. 870

    Clifford, get any javascript errors on your site?

  871. 871

    Yes, there are some. I’ve temporarily removed the two sources of the errors and it didn’t help. One is a plug-in (Event Calendar 2), the other is from Etsy.

  872. 872

    I had the same problem as Bobski, if newly installing the plugin on a 2.3 installation, it does not even show up in the plugins list.

    Interestingly, when I upgraded a blog, leaving Gregarious installed, it worked fine.

    By the way, this plugin is awesome. Thanks so much for the effort that you have put into this.

    [UPDATE] I just realized the problem was with my FTP program, it failed to transfer some of the files, and I had to do them manually, one at a time.

  873. 873

    Just fyi, I’m getting the same trouble as basstech where it seems no matter what additional link as I put in, it resolves the link to simple my blog’s URL and trailing #, like the link was anchor to the homepage.

    Not sure if my list of pluggins helps but here’s mine to cross check with basstech (it’s not as many).

    AdSense Manager
    Askimet
    All in One SEO Pack
    Get Recent Comments
    Google Sitemaps
    Gregarious
    Subscribe to Comments
    Text Link Ads

    That’s it.

  874. 874

    Just found something on this. I went and deactivated “Get Recent Comments” pluggin and then reactivated, and it seemed to kick start the additional Facebook link I had.

    Not sure what’s the deal, some kind of caching issue, but seems to be working now. Thought I’d share.

    Great pluggin btw, love it.

  875. 875

    This plugin is fantastic! Great work buddy. :)

  876. 876

    First of all awesome plugin.

    As mentioned in readme and this page, i am unable to get a popup for the share this and digg this links.

    Checked for the footer and headed, both funtions have been called. Could you tell me wht could be wrong ?

  877. 877

    I am trying to display this plugin float top right aligned in the post itself just like the parent site 200Blogs. Instead of the standard position being at the bottom of the post. Has anybody got any ideas or a solution? I will continue to work with this problem on my site abseiling.200blogs.co.uk until I get it working!

  878. 878

    Still am not figuring out why your gregarious is not working…

    The Share This does not popup in Firefox (but does seem to work in IE)

    The Digg badge does not seem to update with any diggs, and onc eI submit it via the digg badge, it’s no where to be found on digg

    Reddit badge button doesn’t show up at all…

    I’m lost dude…

    Checked my header and footer

        <p>is run on <a href="http://wordpress.org/" rel="nofollow">WordPress</a> and simian bondage
        &lt;a href=""&gt;Entries (RSS)&lt;/a&gt; and &lt;a href=""&gt;Comments (RSS)&lt;/a&gt;&lt;/p&gt;
        &lt;!--  queries.  seconds. --&gt;</p>
    

    And the header has:

  879. 879

    If I wanted to wrap the whole digg code (including the `share this`) for a post inside an extra DIV tag so that I can use extra styling / positioning. What line of which scripts do I need to add an opening DIV tag and which line of which script do I need to add the closing DIV tag?

  880. 880

    For people not getting the “Share This” popup, check that you don’t have any javascript errors on your site.

    I am trying to display this plugin float top right aligned…
    What line of which scripts do I need to add an opening DIV tag and which line of which script do I need to add the closing DIV tag?

    You don’t actually have to edit any PHP script as such - this functionality is built-in to the plugin. Simply go to the Gregarious options page, then in the PostBadge options, find the PostBadge code. There, you add whatever HTML you like.

  881. 881

    Thanks Ankur,
    Really appreciated.
    Please can you take a look at my site page - I added in the DIV class { float: right; } so that the PostBadge options is now:

    %DIGG%
    %SHARE%
    

    It moved it to the right hand side but still appends to the end of the post - How do I get the Dig to appear at the top of the post ?

  882. 882

    Add the %CONTENT% tag to the end of the PostBadge code to make the Digg button appear at the top of the post.

  883. 883

    Superb Ankur !
    Thank you very much - it turned out a lot easier to place your plugin where I wanted it than I thought. Cheers ;-)

  884. 884

    Hello. this is a great plugin and thank you. i’m having some problems though, i apologize if i repeat questions already asked, perhaps you could help me:

    I don’t see any icons, at all, just the text. Neither the share this icon, nor any of the other bookmarking sites icons when i click the text and the popup menu appears. i tried at least four different themes, the problem persists.

    thanks,

    elijah

  885. 885

    Elijah, make sure to chmod 0777 for akst.css and akst.js in modules/share-this/, then go to the options page and hit save.

  886. 886

    Ok,it helped! thank you so much!

  887. 887

    Could somebody help? I have two sites, one the main domain, and the other an add-on domain. The main domain is still running WordPress 2.1, and the ‘Share This’ plugin works fine. The add-on domain is running WordPress 2.3 and the e-mail function of ‘Share This’ doesn’t work. It seems as if everythings works fine, but the e-mail never arrives in the inbox. I have noticed the same thing when trying out ‘Share This’ on a few other sites. Could the fact that the second site is an add-on domain be the cause of the problem? If so, any suggestions on how to solve the problem? If you could have a look at ideologie.biz where it is working, and the WP 2.3 test site where I’m trying to resolve the issue at 33suid.com

  888. 888

    Hi

    I have installed your great plugin on WP2.3 and it works great. I am however having problems placing the diggit button in the right place. I can get it below the post and if front of the post, but cannot get it to float to the right of the content as Ive seen.

    Could you tell me how to do this as the ‘Im Diggin it’ section on this page please.

  889. 889

    TOTALLY - The PostBadge code in your Gregarious settings needs to have a DIV tag either end of whatever you have in there. Mine looks like this….

    %DIGG%
    %SHARE%

    %CONTENT%

    and then add a class called .right into your CSS style sheet with just { float: right; }
    This will have your tag looking just like the ‘Im Diggin it’ section on this page.

  890. 890

    Ooops TOTALLY - this page screwed up my coding. I’ll try again….

    <

    div class=’right’>

    <

    div class=’diggWrap’>%DIGG%</div>
    %SHARE%<
    /div>%CONTENT%

    Maybe it shows properly now !

  891. 891

    Stupid silly form !!
    Will the administrator of this blog give a sample list of acceptable tags in the COMMENT are of this widget?

    At least then, some of us might be able to be more specific in helping folk with their problems!

    I learnt how to get around problems using this very page and would love to help others.

  892. 892

    TOTALLY - If you can read html code - go to my website and view the source code of a page with the ‘Share This’ tag - you will be able to see the class=’right’ surrounding the script. If you look at the top of the source page and put the CSS URL in a browser - you will also be able to find the coding for the .right class which creates the float:right making the text of the post flow around the tag. Sorry I didnt manage to give it you directly in this page.

  893. 893

    Is this what Gregarious is supposed to look like? How can I get the other buttons to display?

  894. 894

    http://www.beavercreekcondominiums.com/wordpress

  895. 895

    Stupid silly form !!
    Will the administrator of this blog give a sample list of acceptable tags in the COMMENT are of this widget?

    Actually almost all tags are accepted. The way you were using the HTML caused the error as code is an inline tag - what you posted would break on *all* wordpress blogs.

    You can use the following shortcuts for posting code if you’re not going to encode entities in your code:

    • Inline code wrapped in backticks (`code`)
    • Code blocks indented by four spaces or one tab.
  896. 896

    Caroline, that looks like it’s working. You can get other buttons to display by activating the relevant modules then adding the tags to the PostBadge code ( a list of available tags will show up ).

  897. 897

    Hi TheDonSansone

    Followed your html and added the float right to my css and it works great!

    Thanks for helping me out, btw how do you get the date to appear like a calendar?

  898. 898

    I understand the self-marketing thing, but I really don’t want to include the ugly question mark that takes me over to this site.

    Is there a way to take it off?

    Thanks.

  899. 899

    Well, how truly odd. Right after I added that comment, I returned to my site to futz and suddenly the question mark isn’t there. Am I going crazy?

  900. 900

    Hi TOTALLY, not sure where you mean about the date appearing like a calendar! I have looked at http://200blogs.co.uk to see if it was in there that you were looking! but I don’t think so. The only calendar style date I know is at http://www.joomlart.com/templates_demo.php?template=ja_teline

  901. 901

    I’ve just looked at Caroline’s Beaver Creek site that she links to, and that has a nifty little calendar style date !

  902. 902

    Hello.

    I just wanted to say that i’m giving up trying to make this work on my blog. It works fine in another blog that i’m admin, but no luck in my own xD

    Already tried this:
    Disable all plugins
    Changed to default theme
    checked for and
    changed back and forth the id=”post-” tag
    tried Share This, Compartelo!, and your plugin. None worked.

    Story of my life. Everything works for other people but when i try to use for myself it gets fucked xDD jaja.

    The Share This link takes me to a separate page no matter what i do. :/

    Thanks anyway. This plugin works like wonder on my fathers blog.

    Silla!

    ///////////////////////////////////
    EDIT: Damn it! It Worked! xDDD
    My Solution:

    It somehow stupid, but this setting was disabled “Use javascript dialog” xDD I Wonder when it would work with this shut down? xDDD

    And Also, if you use WP-CACHE, enable it, flush the cached files, disable it and then check again your blog….

    Damn it again!.. xDDDD Im Happy as hell xDD

    Greetings From Chile

  903. 903

    Hi -

    I’ve been trying to get the digg badge and the “share this” aligned right with suggestions from TheDonSansone, but I just can’t seem to get it to work. There is already a class .right like this

    .right {
    float: right;
    padding-top: 0px;
    padding-right: 10px;
    }

    so what can i do here?

    i’ve already tried the postbadge like this

    <div class='right'>
    %DIGG%
    %SHARE%
    %CONTENT%
    

    it just doesn’t seem to work. thanks in advance!

  904. 904

    Glad it’s working, Scyfox :)

    You’ve got the .right css rule, Andy. Try wrapping the %DIGG% and %SHARE% tags in separate divs.

    Seravi, you can search for and remove the [?] from modules/digg-button/digg-button.php.

  905. 905

    Andy - I got my Digg/Share tag working by using the DIV’s like the following (remember extra DIV tags need the closing DIV too):
    <div class='right'><div class='diggWrap'>%DIGG%</div>
    %SHARE%</div>
    %CONTENT%

    So the opening DIV is our float fight div, and the diggWrap div is nested inside our float right div and our closing float right div is closed after the SHARE tag - This works a treat!

  906. 906

    THANK YOU both! It works now! here’s the next question: now the ajax window seems to be so far from the actual “share this” button… how would i fix that? i am also trying to see if i can take down the “share this” font a notch. ideas? thanks again for your help!

  907. 907

    It’s probably my fault for trying to use this while on 2.3, but I just can’t get rid of the plugin. Check out my page http://www.birthpangs.com in both mozilla firefox and Internet explorer. The ’share this’ feature shows up at the bottom. First I tried turning every thing off. Then I tried deleting the plugin and reinstalling. Then I tried purging the database. No matter what I do, the ’share this’ information (least, I think that’s what it is, but given its persistent appearance, I’m open for other ideas) continues to show. If it weren’t causing such big problems on IE I’d let it go. Thoughts, ideas? Btw, at this point the plugin is deleted, every reference to it in the database has been purged… and yet it shows… somehow.

  908. 908

    To remove the question mark from underneath the Digg Button icon, open the digg-button.php file and look for the “What’s this link?” and comment out the following:

    // What’s this link?
    // if($result)
    // $result .= ”
    //
    // [?]
    //
    “;

    if($echo) echo $result; else return $result;
    }

  909. 909

    Ar,

    It’s probably my fault for trying to use this while on 2.3, but I just can’t get rid of the plugin.

    The plugin should be compatible with 2.3

    No matter what I do, the ’share this’ information continues to show.

    It is the “Share This” dialog, but it’s definitely not from Gregarious. If you look at the source, it has an ID of “wpsc_akst_form” and it also uses jQuery (the Gregarious version is self-contained). Does “wpsc” ring any bells? It could be another plugin with similar functionality.

  910. 910

    Andy,

    the ajax window seems to be so far from the actual “share this” button… how would i fix that?

    That’ll be something to do with the location of the <?php wp_footer() ?> call in your template.

    i am also trying to see if i can take down the “share this” font a notch.

    CSS font-size: 90% or similar :)

  911. 911

    Hi, thanks Ankur. It didn’t occur to me that some other plugin might be using the share this feature. I almost feel bad for purging gregarious, now. :) It was the wp e-commerce plugin, and over there they are talking about it as being some library conflict. So, I apologize for not blaming the right plugin.

  912. 912

    Thanks Ankur -

    The thing is - I’ve already placed the call on the very top of the footer… so what else can I do here?

  913. 913

    Hey Ankur -
    Just as an fyi - here’s the footer code:

    < !– Begin #footer –>

    < ?php wp_footer(); ?>

    < div id=”footer”>


    < /div>
    < !– End #footer –>

    < /div>

    < /body>
    < /html>

    < !– End #footer –>

    < p>< /p>

    < p>
    < /p>

  914. 914

    I’m having the same issue with the Share It pop up showing miles away from the actual link. I noticed it works ok in themes that already have the callin, but it won’t work properly when you manually put it in the footer.

    Yeh, location ‘could’ be the problem, but I have tried it in numerous different locations and it still doesn’t call the box to display under the Share It link.

    It’s unfortunate because it means most of the time if someone clicks on the shareit button, they wont see the pop up.

    Gregarious is a great plugin by the way and thanks for making it available and the support you continue to offer us.

  915. 915

    Hi, I’ve been using this for a while, but for some reason on one of my articles, I have the diggs for someone elses article shown.

    Is this a known issue?

  916. 916

    Andy, try the wp_footer call inside the div#footer?

    Nicky, it’s certainly a problem; theme designers should be using wp_footer() in their themes. You could disable the popup so the user is taken to the separate “Share This” page.

    Sarah, this is probably caused by a little flaw in the Digg API (which has since been fixed). To fix this issue, you can edit the post, scroll down and find the “Custom Fields” section, then edit the “DiggData” field to contain the correct URLs.

  917. 917

    FYI: wpsc_akst is relative to the eCommerce Lite or eCommerce Gold shopping cart plug-in from Instinct.

    Another reason I uninstalled that plug-in and went with another solution…

  918. 918

    Hi Ankur -

    I changed it so that it looks like this, but it still doesn’t work. Any more ideas? The other thing is that each time that I update the footer, for some reason the first click on “share this” always goes to that separate “share this” page… any idea as to why that is so?

    Lastly - like Nicky said, thank you for a great plugin!

    < !– Begin #footer –>

    < div id=”footer”>

    < ?php wp_footer(); ?>

    content copyright 2007 by metrosnapshot. all rights reserved.

    < /div>
    < !– End #footer –>

    < /div>

    < /body>
    < /html>

  919. 919

    Although successfully installed on this site (sans feedflare) when I installed it on this site and activated feedflare, it broke. Seems there’s a bug in feed-flare.php

    It tells me the error is on line 104. Even after re-installation, it remains broke.

    Alas. Let me know when you debug this one because I like it on my other site.

  920. 920

    Seravi, there doesn’t seem to be anything wrong near line 104. Are you sure it’s in feed-flare.php?

    Andy, I think it’s to do with your CSS - if it was the positioning of the wp_footer it would be way off, if it was a javascript error it wouldn’t run at all. Use something like CSSEdit (Mac) or Xray (web-based) to check what’s going on.

  921. 921

    Hi, I have Gregarious (Build 61) installed on WPMU (1.2.5).

    Everything works fine, except I cannot add another site to the Share This module. Firefox is silent but doesn’t do anything after the two pop-ups that ask for the name and the URL. IE throws a bunch of errors.

    Could I perhaps hard-code the Slashdot link? I tried adding it to share-this.php but that doesn’t seem to help.

    Thanks!

  922. 922

    hello,
    I have not checked your site for quite a while now, and was looking if my version was still uptodate. I am currently using: Version: 2.0 RC 1 is this the latest RC? do you have a link for a mroe recent version?

  923. 923

    Rollngr, if you edit share-this.php, you’ll need to reset the plugin for the changes to take effect.

    Ovidiu, the latest version is always available from here.

  924. 924

    thank you ankur!

  925. 925

    Hi Ankur, I have a simple question about the position of the badge. By Default it seems to be below the post. I was wondering if I was to place the module code above the post to make it appear on above it.

    Any suggestions? & Thank you for your time.

  926. 926

    KMurray, add the tag %CONTENT% to the end of your PostBadge code in the Gregarious options page.

  927. 927

    I love the idea. Gotta use this. Thanks for the effort.

  928. 928

    can I somehow get the latest 2.0 RC? I was playing around with it in conjunction with wpmu, thats why I used the 2.0 RC1.

  929. 929

    Ovidiu, the latest version is always available from here.

    ;)

  930. 930

    ok, I will jsut take your word for it, although it says 1.9.10c and mine says 2.0 RC1 ;-)

  931. 931

    http://blog.bluefrogx.com/2007/11/02/blocking-firefox-or-internet-explorer/

    As mentioned in the above URL, I have a problem using gregarious, as you can see in the above page, share this is not appearing properly. Hope you can gimme a hand as its driving me nuts :(

  932. 932

    Excellent plugin. Makes submitting my articles and sharing them with friends so much faster.

  933. 933

    Hello there, I cant get this plugin to dispaly, its installed fine, I have the badge activated, digg activated, wp_footer and wp_header are both in place… can you help?

  934. 934

    For some reason JavaScript windows stopped showing and when user clicks on Share This he goes to Share This page. Can you look at my home page and tell me what’s wrong? I don’t see any JavaScript errors.
    Also, when I am in the Wordpress Options for Gregarious, I try to add a new bookmarking service. In Internet Explorer there is no popup at all, in Firefox it asks for service name and URL but does not add it to the list. I am thinking of adding it from phpMyAdmin by editing the gregarious options value, but I don’t know PHP, so I am not sure how to append another service to the array - perhaps you can post a template…
    3rd problem: many bookmarking services also need tags and descriptions for the bookmark. The existing services are setup with only two insertions: {url} and {title}. Is there an insertion for {tags} or {categories} of the post? Is there insertion for an excerpt from the post, e.g. {excerpt}?
    Otherwise, awesome plugin, a must have for anyone!

  935. 935

    Hey there. I had Gregarious installed until I got an error a little while back. I deleted the plugin since the parse error crashed my whole site.

    I downloaded the most recent copy, however when I try to activate it, I get the following error:

    Parse error: parse error, unexpected ‘}’ in /…/plugins/gregarious/modules/feed-flare/feed-flare.php on line 104

    Does anyone have any suggestions?

  936. 936

    FYI - 1.9.10c is causing a fatal error with WP 2.4-trunk.

  937. 937

    Excellent plugin! I use it on my http://www.wordpreneur.com site. I changed the “Share This” body text color successfully following your instructions in comments here of adding #akst_form specs in style.css.

    Where can I change the color for the tab text “Social Web” and “E-mail” which, as you can probably see on my site, are next to impossible to read. Please advice. Thanks for your help and time!

  938. 938

    It’s not working for me, I get the options menu blank, there are only the icons but they do nothing, actually only the edit database is clickable and goes to the DB tables, all other buttons are dead. I’m running WP 2.3.1 + askimet, Google Analyticator, the_excerpt Reloaded and SEO Meta Editor Advanced, even when all other plugins are deactivated gregarious wont work. Help please, thank you.

  939. 939

    Is it possible to add a message body field in the Share This > Email form? Even a small one would be great.

    Thanks for a great plugin!

  940. 940

    Dave, you can add it to the source file modules/share-this/share-this.php.

    JamesManner, is the modules/ folder correctly uploaded? Are there any JavaScript errors? Try a different browser.

    Eldon, it’s a simple matter of some CSS - just add styling for the text. Can you find the selector for it or do you need me to tell you?

    Mike, delete modules/feed-flare/feed-flare.php and see if it runs.

    John, check that the PostBadge module is on.

    Maxim, if you can’t add sites via the options page, you can edit the modules/share-this/share-this.php file and add it there. Reset the plugin after you edit it.

  941. 941

    I re uploaded the plugin, same problem, actually for a split of a second I see a long list, here’s a screenshot, http://img405.imageshack.us/img405/3483/gregfl1.png

    but it disappears very fast. I used IE7, FF and Opera, in IE I see this error:
    Line:711
    Char:5
    Error: Expected identifier, string or number
    Code:0

  942. 942

    JamesManner, there’s certainly JavaScript involved here, although I’m not sure what it could be. The possibility of a conflict with another plugin is high, but if it’s still not working when the other plugins are deactivated, then I’m quite confused.

  943. 943

    Thanks anyway, I did one last test with a new WP installation with no plugins, but got no luck. I have no means to track down the problem, if it’s a plugin bug of something’s wrong with my host or whatever.
    I’ve got a spare domain, if you have some time I can send you an email with the login details and you can test it there, just for the sake of it. Let me know.

  944. 944

    Hello, can you please tell me how I can get the “Share This” text out of my RSS feed entries?

    Each time I publish an article, “Share This” is the first thing that appears in the feed followed by the article text. For example:

    Share This Having poor website usability is like driving your car…

    I’ve managed to remove the [?] from the feed, but how do I get rid of “Share This” from my feed but still have it on my blog?

  945. 945

    if you have some time I can send you an email with the login details and you can test it there, just for the sake of it.

    ok.

    can you please tell me how I can get the “Share This” text out of my RSS feed entries?

    There should be an option to turn it off under the Gregarious Options -> Share This.

  946. 946

    I have it disabled but its still showing up.

    “Show Share This Link on RSS Feed Content” has a red X

    Then I have “Share This” as the link text below.

    Am I doing something wrong?

  947. 947

    If it’s off, then I don’t you’re doing anything wrong. I’ll have a look at the plugin source and see what’s going on.

  948. 948

    Thank you so much, I appreciate that.

  949. 949

    can i deactive the [?] that goes to this page? it’s just odd because people will likely click on it, leaving my blog for this page. otherwise the plugin is great.

  950. 950

    Tony, search for and remove it from modules/digg-button/digg-button.php

  951. 951

    Hello. My feed is still displaying “Share This”. You can view it at:

    http://feeds.feedburner.com/chromaticsites

    I deactivated the “Show in RSS feeds” as you instructed but its still showing up. What is wrong?

  952. 952

    can you please integrate or link to “add to any” - it links to ALL the bookmarkers.

    http://www.addtoany.com

    i use their button currently, but if gregarious had add to any included, i’d switch. thanks!

  953. 953

    Why does this plugin insert hidden code into the footer of every page? Thanks to that, my email address has been openly listed in my page code.

    This is not made clear in the options or documentation for this plugin - I will not be using at any more…

  954. 954

    “Me”: The plugin does not insert ‘hidden code’ that shows your email address. The Share This dialog is inserted into the footer of every page so it can pop up when the user clicks it. The email address shown in it is the same as the one shown when you leave a comment. No one else can see it.

  955. 955

    Me: Don’t let the door hit you on the way out bucko!

  956. 956

    Matthew Jurmann, are you using any other plugins that change your feed? Gregarious will only add the link to the end of your feed, but in your case, it’s showing at the start.

  957. 957

    I’m using a Feedburner plugin for Wordpress - would that have anything to do with it?

  958. 958

    Pretty sure there is a bug possibly related to rotated monitors and or resolutions other than standard. The dialog box often will not appear or appears way at the bottom of the page.

    Has anyone else seen this behavior?

  959. 959

    Matt J, does it disappear if you disable Gregarious?

    Mark M, that has occurred to some users, but it’s related to your template. Fiddling with the placing of the wp_footer() call has helped some users, but it could just be a javascript or css conflict.

  960. 960

    Hey, I was trying to remove the link from the [?] that appears next to the digg button, but everytime I removed anything from digg button.php the entire site didn’t load up because of the error. Do you have any suggestions what exactly I have to remove so the [?] doesn’t show up?

  961. 961

    Hey - I just wanted to let you know that the SHARE THIS issue I was having (Share This was showing up in my RSS feed before the text and making it annoying to read) has fixed itself. It is no longer a problem, and I have no idea what happened to fix it, but I don’t care. :)

    Thanks for your help and follow up. Nice tech support on your product. I wish you success.

  962. 962

    anyone tried using this with wpmu?
    I get this error when trying to activate:

    Fatal error: Call to a member function on a non-object in /var/www/web5/web/wp-content/plugins/gregarious/modules/digg-button/digg-button.php on line 42

  963. 963

    Hi there

    I started writing my own theme - but Gregarious does not work - it just does not show up… no matter what options I use. Where shall I start debugging and digging? Here’s the URL:

    http://www.hobbes.ch

  964. 964

    I would like to ask if it is possible to make the “Share This” link visible only in the full post, because I use the “more” tag in all my posts and would like nothing to appear after the “continue reading” link.

    I apologize for taking more of your time if this question has already been asked and answered before.

    Thank you very much for your help.

    Elijah.

  965. 965

    Ankur, first: thanks for the fantastic plugin. Just installed it and set it up… I just need to get one issue ironed out.

    I activated the Digg module to display a Digg badge before the content in any post that’s been Dugg. The PostBadge is activated and this is the code:

    %DIGG%
    %CONTENT%
    %SHARE%

    As you can see, everything looks in order, but the Digg badge is not showing up on my Dugg posts. E.g.:

    http://www.greatwhitesnark.com/2007/11/28/stormtrooper-star-wars-cake/

    I’ve also tried the %DIGG% without the DIV tags.

    For what it’s worth, in the settings for the Digg module, when I select “For Dugg posts, show: Digg badge”, no image of a badge is displayed below the drop-down. The Compact badge doesn’t display on the settings page, either. I thought that was strange.

    Any ideas?

    Thanks,

    Mike

  966. 966

    Oops, I inserted the PostBadge code without commenting it out:

    %DIGG%
    %CONTENT%
    %SHARE%

  967. 967

    Just wanted to let you know that I couldn’t open this page with Firefox due to an error.

  968. 968

    I couldn’t open this page with Firefox due to an error.

    Thanks Dustin - it was due to an ill-formed comment being posted. I’ll have to get / write a parser to make sure this doesn’t happen. It’s very annoying. Thanks for pointing it out.

  969. 969

    As you can see, this plugin has become extremely popular. Thank you to everyone who has used it and provided feedback. With the increased user-base, I’m getting a lot of support queries for Gregarious. Unfortunately, as much as I’d love to, I just don’t have the time to provide help to everyone. I will formally resume answering support queries when I finally get the next version of the plugin released. But don’t hold your breath.

  970. 970

    Glad I could help.

  971. 971

    Can’t wait to use it.

  972. 972

    Hi Great Plugin

    2 noob questions :-)

    1. how do i put some more space between the digg button and the share this link?

    2. i would only like the dynamic digg button to show so without the second digg this text one.
      how do i do that?

    Thanks upfront

  973. 973

    How can I add Mixx to the list of supported bookmarking services to Gregarious?

  974. 974

    thanks so much for this great and easy to use tool!!!

  975. 975

    very interesting, but I don’t agree with you
    Idetrorce

  976. 976

    The Postbadge code has the following:

    %DIGG%

    %SHARE%

    But I get a white square with the word “Error” and a question mark inside.

    When I click on the ?, a dialog box pops up with the following message:

    http://digg.com
    Digg.com Digg This Button Error

    The code implemented by the creator of this page has the following problem:

    The URL does not appear to be a properly formed hostname.

    Visit http://digg.com/tools/integrate for more help in debugging.

    Do I need to do anything else to get the Digg badge to show up?

  977. 977

    Kristof, 1. CSS 2. Gregarious Options -> PostBadge -> PostBadge code.

    Maxim, there’s a list of services in the options page (click the second Share This icon). You can add them there.

    Jimmeh, have you got a URL I can take a look at? Otherwise, view source and search for ‘digg’ until you find some script tags and check the link there.

  978. 978

    Cool dear…,
    Will definitly try this in my Wp blog.

  979. 979

    Nice plugin. Works well; no problems with installation and use. Thanks.

  980. 980

    ogg thx for your coding this plugin

  981. 981

    Nice plugin. Works well; no problems with installation and use

  982. 982

    FYI- after my upgrade to WP 2.3.1, Gregarious plugin now conflicts with Anarchy media player (http://an-archos.com/anarchy-media-player) — the media player no longer appears unless I disable Gregarious.

  983. 983

    For some reason I can only get the one digg button to show at a time. I want to use the compact for un dug and the reg button for dug. But both show up as compact. The reg only shows if i set both classes to use the reg. Ant ideas?

  984. 984

    I have a feature request. Can you add a new {tags} insertion along with {url} and {title} to the social site configuration page?
    It’s annoying that I and my visitors have to enter tags for each site. Wordpress 2.3.1 has support for tags, so why not pass them along?
    This is my most wanted feature right now.

  985. 985

    When I try to install Gregarious 1.9.10c on WordPress 2.3.2 I keep getting the following error message.

    Parse error: parse error, unexpected ‘}’ in mypath/wp-content/plugins/gregarious/modules/feed-flare/feed-flare.php on line 104

    I’ve tried to do everything and nothing seems to get me past this error.

    Everything means giving full access to directorys, Uninstall every other plugin, try and remove the ‘}’ in question, check my ws_footer… what else can I do. Please help.

  986. 986

    Kyle, if you delete feed-flare.php the plugin will still run, but without the FeedFlare functionality.

  987. 987

    Thanks that seemed to get rid of the error message. Then you got me thinking… maybe it was something that I turned on in my Feedburner feedflare account… Sure enough I went and turned off the Add This module and was able to install Gregarious with the feedflare functionality. So FYI if you have Add This installed in feedflare then you will get the error message mentioned above. Troubleshooting done. Sometimes you just have to step away for an evening and get another thought. Thanks for your help!

  988. 988

    I take that back… Add This isn’t the problem… Sigh…

  989. 989

    Real nice plugin. Works well til now, got no problems with installation and use… thanks

  990. 990

    2 things: for some reason only the DIGG button shows up, and the Share this, but the Reddit and others don’t show. Is that normal? All modules are installed.

    Also, does it only place the Digg button on posts done since this was installed? Any way to have it go back and put the button on all the posts in my archive?

    Thank you!

  991. 991

    anyway we can get the Sphinn badge on this?

  992. 992

    awesome plugin!!!! thank you

  993. 993

    Great looking plug in. I hope it works well with the latest version of wordpress.

  994. 994

    Looks like a brilliant plug in. Can’t wait to try it.

  995. 995

    hrm the options arent ’sticking’ :/

  996. 996

    This seems to be the best plug in for social bookmarking I have found.

  997. 997

    im sure this has been asked a million times. How do you add other social sites to the database. specifically onlywire.

  998. 998

    Thanks for this great plugin
    http://www.duckeldanny.com/

  999. 999

    Yeah this is great.

    I’m getting ready to implement this on all of my blogs!

  1000. 1000

    Gonna try this plugin. Looks very useful.

  1001. 1001

    hi i have implemented this to my blogs
    Thanks
    kelly

  1002. 1002

    just confirming the above formentioned wp_akst (which i googled) displaying social links in footer.. it’s the wp-commerce dealio.. and all you got to do is modify the share-this.php inside of wp-shopping cart

  1003. 1003

    I uploaded the gregarious folder into the plugin directory, but nothing shows up to activate on the plugin configuration page.

    I’m running WP 2.3.2. Ideas?

  1004. 1004

    This is really a fantastic plugin. Many thanks for developing it!

  1005. 1005

    I installed the plug in and activated it and when I go to the options screen, nothing is there. The Gregarious option is a tab under options, but when I click on it, the options area is empty. it just shows the wordpress edition number and logo and that’s it. What’s causing this?

  1006. 1006

    PS: I deactivated every plug in I had and uninstalled and reinstalled gregarious with no luck.

  1007. 1007

    how can I turn off gregarious when I use the teaser function to show just part of the post?
    thank you.

    I want gregarious to show up on the post page, but not on my home page where it only shows the teaser.

  1008. 1008

    Help I just updated to the latest version of gregarious on WP2.3.3 and keep getting the fallowing:

    Warning: load_modules(/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/share-this): failed to open stream: Success in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    Warning: load_modules(): Failed opening ‘/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/share-this’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    Warning: load_modules(/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/post-badge): failed to open stream: Success in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    Warning: load_modules(): Failed opening ‘/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/post-badge’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    Warning: load_modules(/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/reddit-button): failed to open stream: Success in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    Warning: load_modules(): Failed opening ‘/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/reddit-button’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    Warning: load_modules(/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/digg-button): failed to open stream: Success in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    Warning: load_modules(): Failed opening ‘/home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/modules/digg-button’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/coffee/domains/coffee-kettle.com/public_html/wp-content/plugins/gregarious/greg_functions.php on line 158

    I love Gregarious and have never had any problems using it till now.

    Thanks,
    ~Jeff C.

  1009. 1009

    why is there a [?] all over my blog? this sucks.

  1010. 1010

    Jeff C, could be a permissions problem or perhaps the files haven’t been uploaded correctly - I haven’t changed the module-loading system for a while.

    Bozzy, you can remove the question mark; it’s in modules/digg-button/digg-button.php.

  1011. 1011

    I have it running on wp 2.3.3. I don’t seem to be able to set font and icon size in the pop-up, and it’s really pretty small. Wondering how I might do that. There’s no tab showing in the admin section of Options>Gregarious for that. I’m sure I’m missing something here. Great plug-in!

  1012. 1012

    Rhis is about the 5th plugin I’m trying, so i hope this one works!!

  1013. 1013

    Got it working to my whims at last. You are a saint for this. Thank you so much!

  1014. 1014

    This plug-in looks great. I can’t wait to give it a go…

  1015. 1015

    It shoved buttons into my Index as well as my Single posts and is mucking up my formatting. Then I tried deactivating the buttons and even the entire plugin, but it won’t turn off.

    Anyone have a similar problem that could give me advice?

  1016. 1016

    Vijayendra & Richard, thanks.

    Tim, set text size in your (theme) CSS.

    Theregoesdave, if you still get the problem after turning the plugin off, there’s obviously something else at work here.

  1017. 1017

    Hey Ankur,

    New question for your wonderful plugin. And wonderful is an understatement. :)

    In any of my blog’s (in my name) single posts, I somewhat customized Gregarious’ options to hyperlink (Bookmark Or Email This To A Friend!) instead of using the button. Notice it’s displaying after another plugin to buy me a cup of coffee, which also inputs itself without need to edit code like Gregarious does.

    So far I’ve played around with your plugin to try to position it after the coffee thing, yet no luck. I realize this is practically asking for technical help that might be beyond what you’re prepared to handle, but I’m just wondering if you have any suggestions how I could possibly make that happen with Gregarious based on what I’ve stated so far.

    Just now, I tried to modify using code from the coffee plugin to show up below yours. No dice.

    Any help? Thanks.

  1018. 1018

    Hey Ankur,

    Don’t know if my most recent comment showed up here, but I asked about how to get Gregarious to show up, say, before or after my coffee-tip link. Eventually I got it resolved.

    Been months since I used your plugin. And what can I say except it beats out others personally? :)

  1019. 1019

    Thanks David. Glad you got it sorted.

  1020. 1020

    Quick Question - Will you be updating this plugin to work w/ Wordpress 2.5?

    When I go to activate it, I get a fatal error.

    It worked fine on 2.3.3

    Thanks!

  1021. 1021

    Patrick, due to time constraints I will not be updating this plugin. Sorry.

  1022. 1022

    Just to confirm… you are never going to be updating this plugin at all for 2.5?

  1023. 1023

    I won’t have time to work on this until (at least) next year. However when I do, I’ll probably rewrite the plugin from scratch for 2.5 (or whatever the latest version is then). Gregarious has had 30,000+ downloads so there’s obviously a market.

  1024. 1024

    Thankx !

  1025. 1025

    Getting the same fatal error message, but I understand your position, Ankur. Just a shame I won’t be able to use it for a long time, it seems.

    Thanks also.

  1026. 1026

    Great plugin - sad to hear it won’t be updated for a while. Can you or anyone else reading this suggest a substitute for 2.5 blogs?

  1027. 1027

    I second that question. I tried the digg badge plug-in without success. What is working for people?

    The “share this” plugin which is great, highly recommended by moi, but I need a good digg button solution.

  1028. 1028

    Most other plugins check referrers, etc. which is not ideal. You could theoretically (if you know php) extract the Digg button code from Gregarious and make it into a separate plugin. The advantage is that it uses the Digg API so it’s more accurate and you get few, if any, false results or “spam diggs”.

  1029. 1029

    Thanks Ankur. I am not that php savvy unfortunately. I had read about the Digg API advantage, the plug-in rules man. I hope that a compatible digg button comes out soon that utilizes the Digg API also.

  1030. 1030

    Thanks! Great plugin!

  1031. 1031

    All this work and no one can use this now for a year?

    Seems a big shame.

  1032. 1032

    Agreed. Most all of my sites incorporate this plugin and it’s sad that I’m going to have to find a new solution.

  1033. 1033

    This plug-in looks great. I can’t wait to give it a g. Thanks as this plugin would come very handy.

  1034. 1034

    I just posted a “quick fix” on how to insert the digg badge back into your site. It doesn’t give you all the gregarious capabilities, but at least you’ll have your badges back. Check out http://weblog.bosslogic.com/2008/04/wordpress-25-and-gregarious for details.

  1035. 1035

    Trying to load this plugin on wp 2.5 an it says:

    Plugin could not be activated because it triggered a fatal error.

    Any ideas why?

  1036. 1036

    Plugin could not be activated because it triggered a fatal error.

    Not compatible with WP 2.5.

  1037. 1037

    When you get time to maintain Gregarious agian, I’d like to see Add to Any integration:

    http://wordpress.org/extend/plugins/add-to-any/

    I prefer it over share this for a bunch of reasons, but I think it’d be fine to include both. On 2.5, Add to Any works perfect, but it obviously doesn’t have the digg/reddit features of Gregarious.

  1038. 1038

    CRAP! It was working in an environment that was upgraded to 2.5, but I deactivated it. Now it won’t reactivate without the same errors others are receiving.

    Damn! If it works, don’t f*ck with it!

    You’d think I’d have learned that after 50 years.

    Anybody know a good replacement?

  1039. 1039

    Not that this will necessarily help anybody, but I found this entry in my /var/log/httpd/error_log after trying to activate the plugin. At least I’m going to try to figure this out. Screw the author and his “time constraints.”

    [Thu May 08 23:06:42 2008] [error] [client 192.168.0.1] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( timestamp int(15) NOT NULL default '0', userid int(10) NOT NULL default '0', u' at line 1 for query CREATE TABLE  ( timestamp int(15) NOT NULL default '0', userid int(10) NOT NULL default '0', username varchar(20) NOT NULL default '', displayname varchar(255) NOT NULL default '', useragent varchar(255) NOT NULL default '', ip varchar(40) NOT NULL default '', location varchar(255) NOT NULL default '', url varchar(255) NOT NULL default '', type enum('member','guest','bot') NOT NULL default 'guest', referral varchar(255) NOT NULL default '', UNIQUE KEY useronline_id (timestamp,username,ip,useragent)); made by maybe_create_table, referer: http://www.domainname.net/~user/wp-admin/plugins.php?activate=true
    

    the [domainname] and [user] are my substitutions.

  1040. 1040

    has anyone been playing with the source to fix this plugin? If there is a fix, please share it. If there isn’t a fix but you’ve narrowed down the problem, please share that too so that maybe someone else can fix it.

  1041. 1041

    Thanks! Great plugin!

  1042. 1042

    For those of you looking for a 2.5-compatible replacement, check out AddThis: http://addthis.com . It’s not a WP plugin, but doesn’t need to be. Super easy to use, and seems to have virtually the same functionality.

  1043. 1043

    Thanks! Great plugin

  1044. 1044

    Fantastic and awesome plugin.

    Thanks!!

    Matt

  1045. 1045

    Thanks, this is exactly what i was looking for.

  1046. 1046

    one of the best plugins used on wp…

  1047. 1047

    I’m diggin it.

  1048. 1048

    This is a great plugin and I love the way the badges look. With WP 2.6 out, I may have to take it off my main blog so I look forward to the next revision. I wish you the best and thanks for a great tool!

  1049. 1049

    People should be sharing more free things like this. Its what keeps the Internet buzzin’.

  1050. 1050

    Using Add This until Gregarious comes back online.

  1051. 1051

    lets all donate to get this plugin back online. I havent seen anything else like this out there. Let all donate a small amaount to try and get the gears goin on this once great project..

    If you havent noticed he has a paypal donate button on the bottom of the page of his projects page..

    https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=ankz%2ekothari%40gmail%2ecom&item_name=Support%20Vacuous%20Virtuoso&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8

    how much will it take to get this goin again? I am willing to donate.

    Cheers,

  1052. 1052

    I apologize again for the incompatibility with the latest version of WordPress. I have a lot lined up (including exams), but I will work on (and maintain) this plugin starting from about two months from now.

    Thank you for your patience and understanding.

  1053. 1053

    Plugin best of the best! Good plugin!

  1054. 1054

    thank for the plug ins!

    you did a great job!

  1055. 1055

    Plugin could not be activated because it triggered a fatal error.

    Any help?

  1056. 1056

    Cool man, I love it!

  1057. 1057

    hi, I also get a fatal error and i’m using wordpress 2.6.1…. any ideas? i would love to run it. thx

  1058. 1058

    Hello!

    This plugin is very useful for blogs.

    Cumps

  1059. 1059

    Any updates to this? I can’t get it to work in wordpress 2.6.3 for some reason. I deactivated it to troubleshoot and then when I tried to reactivate it it gives a fatal error. How do I figure out what this fatal error is?

  1060. 1060

    great plugin! I like it.

  1061. 1061

    Simple and great tool for Wordpress. Keep it up bro

  1062. 1062

    Thanks for the nice plugin, i wil us it at my Free Wallpapers site. http://www.wallpapers2k.com

  1063. 1063

    I can’t activate this plugin due to a FATAL error. I’m on Wordpress 2.7, any ideas?

  1064. 1064

    This is a great plug in just testing it now ready to install it on the live site.

  1065. 1065

    Thanks for this plugin I want use it for my new site http://www.skyrid.com

  1066. 1066

    great plugin! I like it.

  1067. 1067

    i’ve downloaded it.

    where are the instructions? I’m usre its a great product but……..

    i have a useless txt file that I am not going to spend ages looking at.

    i want to click something once or twice and for it to be installed working.

    sy for being negative the getsocial plugin is the same.

  1068. 1068

    Great Plugin! very usefu, thanks!

    cumps

  1069. 1069

    Thanks for this plugin, is a great plugin!

  1070. 1070

    When will an update for 2.5 version be released?

  1071. 1071

    Great plugin. Great for building traffic by social bookmarking. Is DIG the only site this integrates with?

  1072. 1072

    I tried several ways to install the plugin.
    Even tried ansii and auto FTP uploads.
    I get a message when trying to activate it
    It is:
    Plugin could not be activated because it triggered a fatal error

    Any suggestions?
    Ron

  1073. 1073

    Hello!
    Very Interesting post! Thank you for such interesting resource!
    PS: Sorry for my bad english, I’v just started to learn this language ;) See you!
    Your, Raiul Baztepo

  1074. 1074

    nice plug-in…any ways I am obsessed wid social bookmarking!

  1075. 1075

    returning here after i tried the thing actually…never thought it ll cum out 2b so awesome!!! I literally struggled wid wordpress at the beginning but nw it has become a better place 4me to try different seo strategies…such gr8 plug-ins make it even better…thanx!

  1076. 1076

    nice plugin thanks for the info.
    My new blog http://passatemposblog.blogspot.com

  1077. 1077

    Hi
    Thanks for the great plugin, but Im having a problem when trying to activate it on the plugins page.
    After I click activate I get the following error:
    “Plugin could not be activated because it triggered a fatal error.”

    Any ideas how to solve this?

  1078. 1078

    Do you think that this plugin works for 2.7 and above wordpress version. I tried it and it did not work in my website. Please help me if you can.

  1079. 1079

    great plugin! I use it now.

  1080. 1080

    great plugin! I like it.

  1081. 1081

    NIce Pluggin I will for sure use it on my pligg website

  1082. 1082

    Great Plugin, it is amazing the support and value we get from designers, wether you support the plugin or not due to time constraints, I will say that it is still a job well done

  1083. 1083

    I really like this plug in! Thanks for sharing.
    Keep up the good work!

  1084. 1084

    Great plugin for my blog. Will integrate with more sites than just Digg?

  1085. 1085

    Conservancy- board member Joe Rota e-mailed back that they liked the concepts. ,

  1086. 1086

    really cool for express socially. thanks

  1087. 1087

    Hi,

    Fatal Error here too, on version 2.8.5 would love to see this working?

    Any ideas?

    Thanks - PJ

  1088. 1088

    Great update, thanks.

  1089. 1089

    Error with latest wordpress version too..!!

  1090. 1090

    great plugin - anyway to resize the images to make them bigger?

  1091. 1091

    i am alter dna blog admin.

    is this plugin compatible with version 2.9.

  1092. 1092

    hey really it works nice plugin for sharing

  1093. 1093

    Wont work for me, due a fatal error :( i´ll try to fix this

  1094. 1094

    Thanks for this wonderful list! Going to check few right now. i was looking for such plugin, thanks for avail. thanks man

  1095. 1095

    Hi
    Thanks for the great plugin, but Im having a problem when trying to activate it on the plugins page.
    After I click activate I get the following error:
    “Plugin could not be activated because it triggered a fatal error.”

    Any ideas how to solve this?

RSS feed for comments on this post.

Leave a comment

Comments may be edited for formatting.