Google + 1 and PhpBB3
Posted: 07 Aug 2011, 20:07
Google + 1 and PhpBB3
Written by Stoker
The +1 button is shorthand for "this is pretty cool" or "you should check this out."
Click +1 to publicly give something your stamp of approval. Your +1's can help friends, contacts, and others on the web find the best stuff when they search.
Open styles/prosilver/template/overall_footer.html
Find:
Add before:
Open styles/prosilver/template/viewtopic_body.html
Find:
Add before:
Open styles/prosilver/template/viewforum_body.html
Find:
Add before:
Save, upload changed files and refresh the template.
Written by Stoker
The +1 button is shorthand for "this is pretty cool" or "you should check this out."
Click +1 to publicly give something your stamp of approval. Your +1's can help friends, contacts, and others on the web find the best stuff when they search.
Open styles/prosilver/template/overall_footer.html
Find:
Code: Select all
</body>
Code: Select all
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<!-- ENDIF -->
Find:
Code: Select all
<h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
Code: Select all
<!-- IF not S_IS_BOT -->
<div style="float:right;"><div class="g-plusone"></div></div>
<!-- ENDIF -->
Find:
Code: Select all
<h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
Code: Select all
<!-- IF not S_IS_BOT -->
<div style="float:right;"><div class="g-plusone"></div></div>
<!-- ENDIF -->