• Welcome to NIWA Community Forums.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Koroku

#1
Wiki References / Tweet/Facebook Buttons
June 23, 2011, 03:32:30 AM
So, I added these to Wikimon, and if anyone is interested in my hackjob of a mod, here it is:

For the bottom, underneath the content:

In MonoBook.php, find:<?php if($this->data['catlinks']) { $this->html('catlinks'); } ?>and add this after:
<!-- BEGIN SHARE BOX -->
<hr width="100%" align="center" />
<div width="100%" align="center" style="padding-top: 10px;">
<div style="float: left; padding-left: 150px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="digiwikimon">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>
<div style="float: right; padding-right: 150px;"><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><g:plusone size="tall"></g:plusone></div>
<?php $url "http" . ((!empty($_SERVER['HTTPS'])) ? "s" "") . "://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($url); ?>&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=recommend&amp;font=trebuchet+ms& amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:50px"></iframe>
</div>
<!-- END SHARE BOX -->


If you want the Tweet/Facebook icons over in the sidebar, right under the logo... in MonoBook.php, find<script type="<?php $this->text('jsmimetype'?>"> if (window.isMSIE55) fixalpha(); </script>
<?php
$sidebar $this->data['sidebar'];
and add above:<!-- begin of banner1 -->
        <div class='generated-sidebar portlet'>
        <div style="border: none;" align="center">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="digiwikimon">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<?php $url "http" . ((!empty($_SERVER['HTTPS'])) ? "s" "") . "://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($url); ?>&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=trebuchet+ms& amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:30px"></iframe>
        </div></div>
<!-- end of banner1 -->



Hackjobs,  but a bit of social media never hurt anyone :-D

Oh, and for the Twitter ones, make sure to change data-via="digiwikimon" to your own Twitter usernames~
#2
NIWA Discussion / Help out with Golden Sun's move
November 25, 2010, 10:44:33 PM
So, Golden Sun Wiki has moved! Or at least done the bulk!

I know a lot of you have dealt with moving off of Wikia, so any help would be appreciated - getting templates fixed and up and everything!


Thanks!!
#3
The Lounge / Celebrating a birthday
November 09, 2010, 02:37:19 AM
So, it would appear that my wiki (Wikimon) is going to be turning 5 years old December 16th.

We've done a bit of planning, but if you guys have any suggestions - being big wiki nerds :P - I would appreciate some ideas.

I've done fansub group birthdays, but that's about it. @_@ So I don't really know what all could be fun. (And if it brought in new traffic, I'd be down with that too)