Google +1 button
#11
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.
Reply
#12
(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>
Reply
#13
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?
Reply
#14
(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.
Reply
#15
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
Reply
#16
(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 ?
Reply
#17
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)