[Snippet] Google +1 Button for each post

Google +1 Button for each post
Adds Google +1 Button for each post, not for the entire topic
Instruction
find
after add (or wherever you want that in
Adds Google +1 Button for each post, not for the entire topic
Instruction
find
- Code: Select all
<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
after add (or wherever you want that in
postrow.array
)- Code: Select all
<g:plusone href="http://www.your_domain.com/only_if_forum_is_not_in_root/viewtopic.php?p={postrow.POST_ID}#p{postrow.POST_ID}"></g:plusone>