Extension talk:Social Bookmarking
Could you please tell me what to edit in bookmark.php so I can relocate the bookmark icon on my page? Thankyou--Rovo 21:20, 8 January 2008 (UTC)
postion of the bookmarking button
edithow can i move the button? it often gets in the way of my editing buttons on the skin im using, id like it up near the search
- hi there,
- would be nice, if someone could answer. i have the same problem --85.16.57.236 14:10, 26 June 2008 (UTC)
- I've moved it to the right by doing the following in the source:
$out->mBodytext .='<div align="right"><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12"></script></div>'; $out->mBodytext.='<div align="right"><a href="javascript:window.location = \'http://www.socialmarker.com/?link=\'+encodeURIComponent (location.href)+\'&title=\'+encodeURIComponent( document.title);"><img src= "http://www.socialmarker.com/bookmark.gif" border="0" /></a></div>';
Only On Main Page?
editIs there any way I could get this so it only appears on the main page?--78.86.159.72 19:19, 17 June 2008 (UTC)
Bug?
editI recently installed this extension on a test box. I really like it, but it has not functioned as expected in some instances. I went to the main page of my site, clicked on the bookmarks link, and chose the favorites option. This successfully added a link to the page to my Firefox bookmarks. However, when I went into my Firefox bookmarks and clicked on the recently added link, it opened the link in the bookmark window pane on the left side of my browser window. I would expect the link to open in my current tab (or a new tab according to browser preferences). I also replicated the steps on another website (with which I am not affiliated) using this extension with the same results. I was also not able to add a link to Favorites using Safari. What can be done to fix this? I do not experience the same problem using IE 7. IE7 works as I would expect. Molliewog 14:59, 23 October 2008 (UTC)
Nevermind. I found that this is a FF bug. Thanks! Molliewog 17:14, 23 October 2008 (UTC)
Other position?
editIs there a possibility to place the bookmark icon at another position, for example below the sidebar (if possible also for other skins than Monobook). Unfortunately I haven't found a solution yet to catch the icon with CSS.
Thanks a lot --Filburt 16:00, 25 November 2008 (UTC)
User space
editI am trying to get the user pages to get included by changing the if statement to
if ($wgArticle->getTitle()->mNamespace != 0 && $wgArticle->getTitle()->mNamespace != 2) return $out;
However, that doesn't seem to work, Does anybody know the answer to this predicament? 141.241.202.33 19:56, 30 April 2009 (UTC)
Optional positions?
editI see this is already a much requested feature, but it would be great to have some added options to affect the default position of the button. To simply move it to the right side of the page by a <div align="right">, as already suggested above, is simple enough. However, how can I position the button in for example the footer section along the hit-counter etc., or floated to the far-right on top of the page at the Page_Title level, or even placed within a designated "bookmarklets" toolbox below any other existing portlets in the left column of the Monobook skin?
Any ideas from extension coders or the original author?
Tab intergration, wiki-style
editIdeally, a bookmark feature would best exist as a wiki-style tab. The flyout selection menu and sub-menu could perhaps be similar to AddThis. After all, social bookmarking is an integral part of how people use the web and that should not exist only as a stand-alone proprietary button. Someone should hack together a complete open-source version of all social bookmark options, it is not complicated, just tedious....
Relocating the buttons to the sidebar
editHi, I wonder how to relocate the buttons to the sidebar. I would like the button to appear above my search bar in Malaysiafactbook.
Has that got anything to do with "location.href"?: $out->mBodytext.='<div align="right"><a href="javascript:window.location = \'http://www.socialmarker.com/?link=\'+encodeURIComponent (location.href)+\'&title=\'+encodeURIComponent( document.title);"><img src= "http://www.socialmarker.com/bookmark.gif" border="0" />