The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
facebook "like" help with Vb code
Hey all am trying to add a Facebook like button to my Albums page
like this Attachment 117099 This is the code so far but the {vb:raw session.sessionurl} will not link the URL for the image HTML Code:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%253A%252F%252Fwww.myanimeisland.com%252Falbum.php&{vb:raw session.sessionurl};layout=standard&show_faces=true&width=450&action=like&font&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe> It does link but only http://www.myanimeisland.com/album.php Not say http://www.myanimeisland.com/album.php?albumid=3&attachmentid=62 Anyway Thanks |
#2
|
|||
|
|||
Yes, I'm wondering.
|
#3
|
|||
|
|||
I always thought that to have a facebook like button, you also had to have a facebook api & secret code from the www.facebook.com/developers page?
Have you tried installing the more share options add-on? from BirdOPrey5? |
#4
|
|||
|
|||
This Thread is very old, I am sure he have figured it out!
Are you using VBSEO, ? That can cause problems too and uses another method for a LIKE Button, Here is an example for VBSEO forums: Code:
<iframe src="http://www.facebook.com/plugins/like.php?href=http://(DOMAIN)$_SERVER[VBSEO_URI]?p=$post[postid]&layout=button_count&show_faces=false&width=&action=like&colorscheme=l ight" scrolling="no" frameborder="0" allowTransparency="true" title="hihi" style="border:none; overflow:hidden; width:100px; height:20px"></iframe> Else goodluck |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|