Saturday, December 3, 2011

How to add "AddThis" Social sharing button in phpBB Forum

How to add "AddThis" Social sharing button in phpBB Forum : 

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 phpBB Forum into Admin Account. or Login to 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>
Or, 
<div id="sig{postrow.POST_ID}" class="signature">{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 of the action taken below : 

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

15 comments:

  1. Works perfect on my custom style"3.0.10", i had to use the second code and add: ahead of it but that was it.

    ReplyDelete
  2. Add the ENDIF line, sry multiple post

    ReplyDelete
  3. It is really working....TQ very much

    ReplyDelete
  4. Thank you so much......it really worked.......Thanks again

    ReplyDelete
  5. Hi....it would be very grateful if you could guide me on how to add similar facility(social sharing button) in bbpress forum.

    ReplyDelete
  6. Thanks. I hope it will be also helpful for all bloggers.

    ReplyDelete
  7. Hello today, together with a friend found a bombed little sylochku to entertain and to spend fun time Lucky online casino games where you can win real money do you want as well as we have fun come in

    ReplyDelete
  8. Very good information. we need learn from real time examples and for this we choose good training institute, I'm interested to know about php which is quite interesting. i need a good training institute for my learning .. so am attending the free demo class which is provided by Apponix Technologies.
    https://www.apponix.com

    ReplyDelete

  9. Your post is very good. I got to learn a lot from your post. Thank you for sharing your article for us. it is amazing post
    what is seo
    types of seo


    ReplyDelete
  10. Natural Treatment for Waldenstrom’s Macroglobulinemia is intended to treat symptoms and prevent complications. Herbal Supplement is a safe and effective treatment.

    ReplyDelete
  11. Eminent . Kindly continue to compose more on this subject . I need more material on this point. What is the Kenya visa cost for US citizens ? The visa expenses for Kenya are no different for all nations . It is just impacted by the sort of e visa which one you select. .


    ReplyDelete
  12. Very nice . thankyou, Finally I reached that article . Which I was trying to find for many days. Do you know how to get a Vietnam e visa? Yes, I know and this process is very simple . you only need to apply online and pay online.

    ReplyDelete
  13. Amazingly unimaginable really, these blogs are very attractive. How to apply e visa India? Apply online , pay online and get your visa online in your updated email. Id.


    ReplyDelete

I Tech - Technology Updates's Facebook Wall