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. :)

27 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
    Replies
    1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

      IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

      corporate training in chennai corporate training in chennai

      corporate training companies in india corporate training companies in india

      corporate training companies in chennai corporate training companies in chennai

      I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai

      Delete
  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. I read a weblog, I hope that it doesnt sadden me as much as this one. I’m talking about, I know it was my selection to read, but I actually thought youd have something interesting to say. Great work admin..

    Digital marketing company in Chennai

    ReplyDelete
  8. 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
  9. 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
  10. Hey, very nice site. I came across this on Google, and I am stoked that I did. I will definitely be coming back here more often. Wish I could add to the conversation and bring a bit more to the table, but am just taking in as much info as I can at the moment. Thanks .

    DedicatedHosting4u.com

    ReplyDelete
  11. Consistently learning the new skills and using them to improve myself in the form of performance for betterment.

    Thanks
    Cpa offers

    ReplyDelete

  12. This is a fantastic idea! I like it a lot because it's super easy for the audience to see the value of opting in. wonderful and amazing post very use full your post thanks for sharing your article
    Android Application development
    Web application

    ReplyDelete

  13. 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
  14. Natural Treatment for Waldenstrom’s Macroglobulinemia is intended to treat symptoms and prevent complications. Herbal Supplement is a safe and effective treatment.

    ReplyDelete

I Tech - Technology Updates's Facebook Wall