Extension talk:Social Sidebar
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Is it possible to change the position of the Social Bar? | 0 | 02:04, 3 April 2012 |
| Parse error | 1 | 15:54, 29 January 2012 |
| Width issue | 0 | 19:27, 20 November 2011 |
| ERROR! | 4 | 10:46, 14 September 2011 |
I get this after install: Parse error: syntax error, unexpected T_VARIABLE in /home/content/65/6092565/html/scientolipedia/LocalSettings.php on line 204
Is that enough to give you an idea what I need to fix? Thanks MediaWiki 1.18.0 (Semantic Bundle Version 2011-08-24.20111208-dev) PHP 5.2.17 (cgi-fcgi) MySQL 5.0.91-log
Nice extension, first of all, many thanks! Question though, is there something I can set to change the width of the Follow button or to insert a linebreak? MountWiki is just about short enough to display but my Twitter name is akerbeltzalba, which makes the last -a creep into my text body area. Any hints would be greatly appreaciated! Akerbeltz 19:27, 20 November 2011 (UTC)
ERROR!
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method SocialSideBar::FBTwitter() should not be called statically in C:\xampp\htdocs\includes\Hooks.php on line 158
Localsettings code:
$wgFBImage = "/extensions/SocialSideBar/facebook.png"; $wgFBLink = "http://www.facebook.com/pages/Cole-Stuff/162794417087497"; $wgTwitterImage = "/extensions/SocialSideBar/twitter.png"; $wgTwitterLink = "http://www.twitter.com/colejohnson66";
Which MediaWiki version are you using?
Updated to 0.2, now this:
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method SocialSideBar::FBTwitter() should not be called statically in C:\xampp\htdocs\includes\Hooks.php on line 158
Localsettings.php
require_once("$IP/extensions/SocialSideBar/SocialSideBar.php"); $wgFB = "http://www.facebook.com/pages/Cole-Stuff/162794417087497"; $wgTwitter = "colejohnson66";
That is really strange.
I am testing all my extensions on 15.5 and have no problems, so not really sure what is causing it.
Could you try to add 'static' to the FBTwitter function (in SocialSideBar.php): So it should look like
// Class & functions class SocialSideBar { static function FBTwitter( $skin, &$bar ) { ....
And let me know if this fixes it