User talk:Zedomax~mediawikiwiki

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)

Hi there,
If you want to place it anywhere in your template, you can use the following instead:

 'Bookmark Extension - 12/02/2007', 'author' => 'Max Lee http://zedomax.net', 'url' => 'http://zedomax.com/wiki', 'version' => 'v.0.1', 'description' => 'Bookmark plugin for MediaWiki', );
 * 1) After installation, Bookmark buttons should appear at the bottom of every page.

$wgHooks['bookmark'][] = array("wfBookmark");

function wfBookmark { global $wgArticle,$wgTitle; if ($wgArticle == null) return $out; //if ($wgArticle->getTitle->mNamespace != 0 || $wgTitle->getArticleId<=1) return $out; if ($wgArticle->getTitle->mNamespace != 0) return $out;

$out =''; $out .='addthis_url   = location.href;'; $out .='addthis_title = document.title;'; $out .='addthis_pub   = \'zedomax\';'; $out .=' '; $out .='   ';

$out .='   ';

echo $out;

return true;

}

?>

Then add this code to your template file (monobook.php under skins directory):



You can add now use CSS to place it anywhere in your wiki.

I hope that helps! :)

If it did, check out my new wiki site, http://sitehoppin.com!

How do i center the AdSense adverts, or right-align them?
Hey,

How do i center the adverts or right-align them?

When i try i get nothing, and when i try  i get nothing.

It's only when i have neither of the above, i actually get the ads.

My URL is here: http://www.hobbsknowledgebase.co.uk/wiki/Template:Adsense_468x60

Somehow, when i use either or  it inserts a  tag just in here:



You can add this to your CSS file: float:right; }
 * 1) bookmark {

or you can even do this:



There are other ways to do it for example you can place it exactly in a location but I won't go into that unless you really need it.