{"id":3206,"date":"2012-08-13T17:17:00","date_gmt":"2012-08-13T17:17:00","guid":{"rendered":"https:\/\/wiki.melberi.com\/uncategorized\/phpbb-social-network-sharing-button-how-to-add-facebook-google-twitter-sharing-button-after-the-first-post"},"modified":"2017-10-23T09:52:08","modified_gmt":"2017-10-23T09:52:08","slug":"phpbb-social-network-sharing","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/wiki\/phpbb\/phpbb-social-network-sharing","title":{"rendered":"phpBB Social Network Sharing Button"},"content":{"rendered":"<p>How to Add Facebook Google+ Twitter sharing button after the first Post in phpBB<\/p>\n<div dir=\"ltr\" style=\"text-align: left;\">\n<h2 style=\"text-align: left;\"><u><b><span style=\"font-size: large;\">phpBB Social Network<br \/>\n<\/span><\/b><\/u><\/h2>\n<p><b>1) To add the Social Sharing button after the first Post.<\/b><br \/>\nLogin to phpBB Admin <b>Go to -&gt; Styles -&gt; Templates -&gt; Edit (Your default template, eg :Prosilver) -&gt; Template File -&gt; Select viewtopic_body.html<\/b><br \/>\n<u><b>Search for:<\/b><\/u><br \/>\n<b> \u00a0\u00a0 <\/b><b>&lt;!&#8211; END postrow &#8211;&gt;<\/b><br \/>\nand paste the code before this line as shown in this picture.<\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"http:\/\/1.bp.blogspot.com\/-suue-WoEuIk\/UXYr1f1K7hI\/AAAAAAAAAyI\/J3a0acM1TkM\/s1600\/phpBB+Enable+Social+Network+Sharing+Button+Facebook+Like(1).JPG\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/1.bp.blogspot.com\/-suue-WoEuIk\/UXYr1f1K7hI\/AAAAAAAAAyI\/J3a0acM1TkM\/s1600\/phpBB+Enable+Social+Network+Sharing+Button+Facebook+Like(1).JPG\" width=\"400\" height=\"307\" border=\"0\" \/><\/a><\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p>* Code Should be pasted Between<br \/>\n<b style=\"color: red;\"> <\/b><code><b style=\"color: red;\">&lt; !-- IF postrow.S_FIRST_ROW == 2 -- &gt; <span style=\"color: black;\">code<\/span> &lt; !-- ENDIF -- &gt;<\/b><\/code><br \/>\n<b>Now Go to Template -&gt; Cache and <span style=\"color: red;\">Delete all cached template files<\/span>.<\/b><br \/>\n<b>Sample Page: <a href=\"http:\/\/forum.melbia.com\/phpbb\/phpbb-advertisement-management-mod-installation-t2.html\" target=\"_blank\" rel=\"noopener\">http:\/\/forum.melbia.com\/<\/a><\/b><\/p>\n<h3 style=\"text-align: left;\"><b><u>Social Sharing Codes:<\/u><\/b><\/h3>\n<h4 style=\"text-align: left;\"><u><b>AddThis Button Code (Facebook, Twitter, Google+) :<\/b><\/u><\/h4>\n<p><textarea style=\"background: #eee; height: 15em; width: 100%;\" title=\"Click to highlight\" readonly=\"readonly\" rows=\"20\">&lt;br \/&gt;&lt;!&#8211; IF postrow.S_FIRST_ROW  &#8211;&gt;&lt;br \/&gt;&lt;!&#8211; AddThis Button BEGIN &#8211;&gt;&lt;br \/&gt;&lt;div&gt;&lt;br \/&gt;&lt;a&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;a&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;a&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;a&gt;&lt;\/a&gt;&lt;br \/&gt;&lt;\/div&gt;&lt;br \/&gt;&lt;br \/&gt;&lt;!&#8211; AddThis Button END &#8211;&gt; &lt;br \/&gt;&lt;!&#8211; ENDIF &#8211;&gt;&lt;br \/&gt;<\/textarea><\/p>\n<h4 style=\"text-align: left;\"><u><b>To add Only Facebook like button phpbb3<\/b><\/u><\/h4>\n<p><textarea style=\"background: #eee; height: 8em; width: 100%;\" title=\"Click to highlight\" readonly=\"readonly\" rows=\"10\">&lt;div&gt;&lt;br \/&gt;&lt;\/div&gt;&lt;br \/&gt;&lt;br \/&gt;&lt;div&gt;&lt;br \/&gt;&lt;\/div&gt;&lt;br \/&gt;<\/textarea><\/p>\n<h4 style=\"text-align: left;\"><u><b>Linked-in Code for phpBB:<\/b><\/u><\/h4>\n<p><textarea style=\"background: #eee; height: 6em; width: 100%;\" title=\"Click to highlight\" readonly=\"readonly\" rows=\"10\">&lt;br \/&gt;<\/textarea><\/p>\n<h4 style=\"text-align: left;\"><u><b>MySpace Code for phpBB:<\/b><\/u><\/h4>\n<p><textarea style=\"background: #eee; height: 6em; width: 100%;\" title=\"Click to highlight\" readonly=\"readonly\" rows=\"10\">&lt;a href=&#8221;\/\/www.myspace.com\/Modules\/PostTo\/Pages\/?u=&#8217;+encodeURIComponent(document.location.toString()),&#8217;ptm&#8217;,&#8217;height=450,width=550&#8242;).focus())&#8221;&gt;&lt;br \/&gt;&lt;img src=&#8221;http:\/\/cms.myspacecdn.com\/cms\/\/ShareOnMySpace\/Myspace_btn_Share.png&#8221; border=&#8221;0&#8243; alt=&#8221;Share on Myspace&#8221; \/&gt;&lt;br \/&gt;&lt;\/a&gt;<\/textarea><br \/>\n<b>More Codes :\u00a0 <\/b><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Add Facebook Google+ Twitter sharing button after the first Post in phpBB phpBB Social Network 1) To add the Social Sharing button after the first Post. Login to&#8230; <a href=\"https:\/\/www.melberi.com\/wiki\/phpbb\/phpbb-social-network-sharing\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1187],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts\/3206"}],"collection":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/comments?post=3206"}],"version-history":[{"count":3,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts\/3206\/revisions"}],"predecessor-version":[{"id":4567,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts\/3206\/revisions\/4567"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/media?parent=3206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/categories?post=3206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/tags?post=3206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}