Fork me on GitHub

Facebook like button, Twitter and sexybookmarks for Zikula  Bottom

Go to page 1 - 2 [+1]:

  • Based on the module ShareThis I wrote a new module with the name socialise.

    The new module is a collection of social web plugins. At the moment there are 3 plugins:

    * {like} adds a facebook like button
    * {twitter} adds a twitter button
    * {sexybookmarks} adds a sexybookmarks menu

    The detailed usage you can find in the admin section.

    A first alpha version can be found here.

    This module is Zikula 1.3 only. (There is no plan to write a version for Zikula < 1.3)
  • demo?
  • Nice work there! Lovely to see use of the new event system icon_smile

    There are a couple of inconsistencies I noticed, like you can (and should) use $this->*Var() for your modvars - this will ensure you have the correct casing - since everything should match the module name that way.

    Rather than calculate the $URL manually also, you might want to consider using System::getBaseURL() because this will also take into account http(s) should that be enabled.

    I think the zip file is missing the facebook library, and it is recommended to include it in lib/vendor.

    Do you have a github account, if so it would be a great way to get some collaboration for the module as you could accept patches with a click.

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • Quote

    demo?

    http://www.isha-international.org/

    Quote

    Rather than calculate the $URL manually also, you might want to consider using System::getBaseURL() because this will also take into account http(s) should that be enabled.


    I will fix that.

    Quote

    I think the zip file is missing the facebook library, and it is recommended to include it in lib/vendor.


    Thanks for the hint. Actually it's not needed. I have removed this "requirement".

    Quote

    Do you have a github account, if so it would be a great way to get some collaboration for the module as you could accept patches with a click.


    No but I will try to make one.

    Quote

    There are a couple of inconsistencies I noticed, like you can (and should) use $this->*Var() for your modvars - this will ensure you have the correct casing - since everything should match the module name that way.


    Can you make an example? Because I'm not sure if I understand you right. Thanks.



    Edited by phaidon on Feb 08, 2011 - 11:40 PM.
  • Sure, stuff like this: https://github.com/zikula/core/blob/master/src/system/Admin/lib/Admin/Installer.php#L72

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • There is now a Cozi page and a github repository:

    http://code.zikula.org/socialise
    https://github.com/phaidon/Socialise
  • I wanted to check this out - installed it and the first admin page opens without a problem, but then the sexybookmarks and fb-like pages give me 500 server errors in zk 1.3 build 2428.
  • Both this and the Piwik modules give me

    Quote

    NOTICE (5): PHP issued an error at line 0, so reporting entire trace to be more helpful: NOTICE: FormUtil::newForm should also include the Zikula_Controller as the second argument to enable hooks to work


    --
    Home Page | Find on Facebook | Follow on Twitter
  • Was ShareThis a 1.2x module ? I looked for it in the extdb but couldn't find it. I happen to need this for a 1.2.x site that isn't ready to be upgraded yet.
  • ccandreva

    Was ShareThis a 1.2x module ? I looked for it in the extdb but couldn't find it. I happen to need this for a 1.2.x site that isn't ready to be upgraded yet.


    I have no idea why the Cozi for ShareThis is giving an "Environment not found" error here, but you may give this version a try.



    Edited by Roadrunner on Feb 12, 2011 - 02:18 AM.

    --
    Cheers, Sascha

    Philivision, Inc. - User of Zikula since 2002...
  • Nice work.
    If I can help you with something then please let me know.
  • @TakeIT2 and HalbrookTech: I can not reproduce your errors. Can you please test the module with the newest git version of zikula.

    Quote

    Was ShareThis a 1.2x module ? I looked for it in the extdb but couldn't find it. I happen to need this for a 1.2.x site that isn't ready to be upgraded yet.


    You can find the old version of ShareThis here: http://code.zikula.org/webservices/. But functions are limited. You just have the ShareThis pop up menu.

    Quote

    Nice work.


    Thank you.

    Quote

    If I can help you with something then please let me know.


    Help is always welcome. If somebody want to add another plug-in or has another idea to improve socialise let it me know.

    --
    https://github.com/phaidon/
  • phaidon - you may need to 'turn up' your error reporting. check config.php and make sure the error reporting is at least 5. and determine where your errors are being reported to (screen, log, etc)
  • @craigh: thanks for the hint, but I have error reporting already at 6.

    --
    https://github.com/phaidon/
  • I have added the old ShareThis plug-in. The new version is available on git.

    --
    https://github.com/phaidon/

Go to page 1 - 2 [+1]:

This list is based on users active over the last 60 minutes.