User talk:Dryguy

From OpenTutorial
Jump to navigation Jump to search

Social Bookmarks

Congtratulations on creating a Wiki! When you get it up and running feel free to link to it on our Links page.

Helpful sites you may want to consider visiting:

As for the bookmarks on my Wiki:

I created an include file called sidead.php then I included it into my monobook.php file

I did it this way so I keep the monobook.php file as clean as possible, and so if MediaWiki changes the monobook.php file dramaticaly I don't have to re-invent my code, I just include it where I want it to go.

Here's what my sidead.php file looks like. Keep in mind that I didn't write this code to be easy for others to read.

I hope this helps you, and good luck with your Wiki!!!


<?php
	$kdm='http://';
	$kdm=$kdm.$_SERVER['SERVER_NAME'];
	$kdm=$kdm.$_SERVER['REQUEST_URI'];
	$kdm=rawurlencode($kdm);
	$km_Pagename=$_SERVER['REQUEST_URI'];
	$km_Pagename = str_replace("_", "+", $km_Pagename);
	$km_Pagename = str_replace("/", "", $km_Pagename);
	$delmark='http://del.icio.us/post?url='.$kdm.'&title=How+to+'.$km_Pagename;
	$furlmark='http://www.furl.net/store?s=f&to=0&ti='.$kdm.'&t=How+to+'.$km_Pagename;
	
?>
<?php if ($ShowAd=="side"){ ?>
<BR>
<div class="portlet">
<br />
<div class="pBody">
<script type="text/javascript"><!--
google_ad_client = "pub-4452383759975954";
google_ad_width = 160;
google_ad_height = 90;
google_ad_format = "160x90_0ads_al_s";
google_ad_channel ="8757848555";
google_color_border = "FFFFFF";
google_color_link = "0066CC";
google_color_bg = "FFFFFF";
google_color_text = "333333";
google_color_url = "336699";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<?php }  ?>


<br />
<h5 align="left">bookmarks</h5>
<div class="pBody">

<ul style="text-align: left">
    <li><a href="<?php echo($delmark); ?>">[+] Del.icio.us: Bookmark this article</a>
    </li>
    <li><a href="http://feeds.feedburner.com/OpenTutorialNewPages"><img src="/images/5/5a/Feed-icon-10x10.png"> New Pages RSS Feed</a>
    </li>
    <li><a href="http://feeds.feedburner.com/Opentutorial-RecentChanges"><img src="/images/5/5a/Feed-icon-10x10.png"> Recent Changes RSS Feed</a>
    </li>
    <li><a href="http://fusion.google.com/add?feedurl=http://feeds.feedburner.com/OpenTutorialNewPages"><img src="http://buttons.googlesyndication.com/fusion/add.gif" width="104" height="17" style="border:0" alt="Add to Google"/></a>
    </li>
    <li><a href="http://add.my.yahoo.com/rss?url=http://feeds.feedburner.com/OpenTutorialNewPages" title="OpenTutorial - New Pages"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" alt="" style="border:0"/></a>
    </li>
    <li><a href="http://feeds.my.aol.com/add.jsp?url=http://feeds.feedburner.com/OpenTutorialNewPages"><img src="http://myfeeds.aolcdn.com/vis/myaol_cta1.gif" alt="Add to My AOL" style="border:0"/></a>
    </li>
</ul>
</div>

<div align="center">

<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4452383759975954";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="7414139919";
google_color_border = "C3D9FF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_url = "336699";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<br />
<br />
<?php
echo('<iframe src="http://rcm.amazon.com/e/cm?t=tsickist-20&o=1&p=8&l=st1&mode=books&search=');
$testing=$this->text('title');
echo('&=1&fc1=&lt1=&lc1=&bg1=&f=ifr" marginwidth="0" marginheight="0" width="120" height="240" border="0" frameborder="0" style="border:none;" scrolling="no"></iframe>');
?>
<br />
<br />
</div>

</div>