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)
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Facebook like button, Twitter and sexybookmarks for Zikula
-
- Rank: Freshman
- Registered: Jul 28, 2010
- Last visit:
- Posts: 98
-
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
-
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Last visit: May 31, 2010
- Posts: 624
Nice work there! Lovely to see use of the new event system
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 -
- Rank: Freshman
- Registered: Jul 28, 2010
- Last visit:
- Posts: 98
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. -
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Last visit: May 31, 2010
- Posts: 624
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 -
- Rank: Freshman
- Registered: Jul 28, 2010
- Last visit:
- Posts: 98
There is now a Cozi page and a github repository:
http://code.zikula.org/socialise
https://github.com/phaidon/Socialise -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: May 31, 2010
- Posts: 303
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. -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
Both this and the Piwik modules give meQuote
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
-
- Rank: Developer
- Registered: Aug 15, 2002
- Last visit: May 21, 2010
- Posts: 149
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... -
- Rank: Team Member
- Registered: Jul 15, 2004
- Last visit: May 27, 2010
- Posts: 277
Nice work.
If I can help you with something then please let me know. -
- Rank: Freshman
- Registered: Jul 28, 2010
- Last visit:
- Posts: 98
@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/ -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1967
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) -
- Rank: Freshman
- Registered: Jul 28, 2010
- Last visit:
- Posts: 98
@craigh: thanks for the hint, but I have error reporting already at 6.
--
https://github.com/phaidon/ -
- Rank: Freshman
- Registered: Jul 28, 2010
- Last visit:
- Posts: 98
I have added the old ShareThis plug-in. The new version is available on git.
--
https://github.com/phaidon/
- Moderated by:
- Support
