Blog Moved

Blog Moved to: www.techwn.com

Saturday 29 October 2011

phpBB adding "AddThis" Social sharing button

Sharing on social networking sites are very good and traffic generating. There are many plugins that adds social sharing button in wordpress but its a bit hard to add social sharing buttons in phpBB bulletin board. Well, Here everything explained how to add these buttons to your forums.

1. Login to your hosting account and open file manager.
2. Navigate to Forums > Styles > Your current Style > Template > Viewtopic_body.html
3. Open viewtopicbody.html and edit it.
4. Press CTRL+F and find the code below:

</span><br />{postrow.SIGNATURE}</div>
5. Add the code below right after the above code:
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4eac6d5c6431ec66"></script>
<!-- AddThis Button END --> 

6. Login to your phpBB admin account and Purge the Cache under General tab.

That's all, You are done!

See the result below:


If you have questions, please let me know. :)




Wednesday 26 October 2011

Windows 7 Themes: New look to your Windows 7

Are you bored with the current look of your windows 7? Don't worry Windows provides you many of customized themes to give a new look to your operating system.
Using these themes you can add brilliant graphics and other accessories that will enhance your windows graphics and looks. There are many sites which offers free themes for windows 7.
You can customize these themes according to your wish and can give your PC a genuine look.
So Why don't you try Windows 7 Themes?


Go to the official Windows 7 Themes Page
Alternatively: Windows7Theme

Tuesday 25 October 2011

Age calculator in Visual Basic 6

Age calculator is a simple program to calculate the accurate age by given date of birth. You don't need to write today's date because it is automatically grabbed from your PC time and date.
The Age calculator gives the accurate age even in seconds that How many seconds you have spent on this earth LOL!
You can contact me if you want this project with synopsis and source code.



Download this: Age Calculator on Sourceforge 
Download this from Softpedia: Age Calculator - Softpedia

AdRorator Control in ASP.NET


The AdRoatator control displays a sequence of images, known as advertisements, on a Web page. The sequence in which the images appear can be predefined on random in nature. These advertisements, which all Internet users are familiar with, are image files in GIF, JPEG, or other formats that the user can click to navigate to the advertiser's website.
Inheritance hierarchy of Adrotator class:
System.Object
  System.Web.UI.Control
        System.Web.UI.Webcontrols.WebControl
             System.Web.UI.WebControls.BaseDataBoundControl
                 System.Web.UI.WebControls.DataBoundControl
                     System.Web.UI.WebControls.AdRotator

Sunday 23 October 2011

Happy Diwali to all you surfers!


Now, Its Diwali season, The most important festival in india. I won't be telling you the whole story behind this festival because you must be knowing about Diwali already IF you are celebrating it. Those who doesn't know can use google.
Wish you all a very happy and prosperous Diwali. May you be blessed ! :)