MyBB Community Forums

Full Version: Google +1 button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I want to add code to my forums but i don't know where to add to just show in the first post of every topic next to postbit's buttons .

Many thanks.
(2011-06-03, 10:23 PM)IranDeliver Wrote: [ -> ]I want to add code to my forums but i don't know where to add to just show in the first post of every topic next to postbit's buttons .

Install and activate this plugin: http://mybbhacks.zingaburga.com/showthread.php?tid=260
Now edit the template 'postbit_author_user' and add this to the end:
<if $postcounter == 1 then>
<br/><br/><g:plusone></g:plusone>
</if>
is there a way to put it in a thread? or topic? so like I make a new topic and I want to google +1 it can I do that for that topic? or would it like the whole thread itself?
(2011-06-03, 10:52 PM)dakillerclown87 Wrote: [ -> ]is there a way to put it in a thread? or topic? so like I make a new topic and I want to google +1 it can I do that for that topic? or would it like the whole thread itself?

http://community.mybb.com/thread-95635-p...#pid699289

And a +1 is unique for every page.
thanks aries for the fast reply Smile
Can't find the headerinclude in my current theme >_> I'm using portal2 theme
nevermind found it just don't know where to place it now lol
meh I get an error for trying to use it Sad
(2011-06-03, 10:57 PM)dakillerclown87 Wrote: [ -> ]meh I get an error for trying to use it Sad

Can you please print the screen of the error ?
(2011-06-03, 10:36 PM)Aries-Belgium Wrote: [ -> ]
(2011-06-03, 10:23 PM)IranDeliver Wrote: [ -> ]I want to add code to my forums but i don't know where to add to just show in the first post of every topic next to postbit's buttons .

Install and activate this plugin: http://mybbhacks.zingaburga.com/showthread.php?tid=260
Now edit the template 'postbit_author_user' and add this to the end:
<if $postcounter == 1 then>
<br/><br/><g:plusone></g:plusone>
</if>

Ty worked as i wanted.
Pages: 1 2