The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Google Plus and Facebook Like Button
Hi,
Can someone guide on how can I add Google +1 and FB Like button exactly like in the image below? |
#2
|
||||
|
||||
You have to edit your SHOWTHREAD template...
Find this code: Code:
<if condition="$show['firstunreadlink']"> <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a> <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a> </if> |
#3
|
|||
|
|||
Hello,
Thanks so much for the response. I tried to put a button using this method but: > The button is not aligned towards left. > The background is appearing as a second alternative colour. > The second button (Facebook like) is appearing below Google +1 rather than its side. Can you please help in this regard? |
#4
|
||||
|
||||
You're just going to have to play with the HTML to get it how you want... try using <DIV> or <TABLE> code to keep everything in line, I don't know the code off hand- it's not going to be a simple copy and paste.
|
#5
|
|||
|
|||
I'm trying to figure it out from over a week. Please let me know if you can provide the required custom code.
|
#6
|
|||
|
|||
thanks alot
|
#7
|
|||
|
|||
Hi, I could achieve a little success here. Now I just want to know how to align this on the left and also how to align the facebook like button on its side.
|
#8
|
||||
|
||||
The problem with left aligning is sometimes the "View First Unread" link will be there and sometimes it won't.
Somewhere in the HTML code you will have to set a specific width for the "View First Unread" column- probably 185 pixels should do it. If it has an assigned width and the column with the share button(s) doesn't then that will be the column that automatically resizes based on the width of the window. Once you do that the default alignment of the share buttons should be to the left anyway. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|