Announcement
Collapse
No announcement yet.
Thread full URL (how to)
Collapse
X
-
Have you tried {vb:raw thread_url} instead of [THREADURL]? Strictly speaking, you should post over at www.vbulletin.corg for assistance with this...
-
Trevo.
I have tried using the facebook connect integration, but the code uses {vb: raw href} and that links the like button to a single address (which would be my homepage)
What i want to do is add the like button under the title and link of the threads displayed in my forum homepage, so i need to call to the thread URL to add it to the fb code.
Leave a comment:
-
If you're upgrading to vB4, just use the built in Facebook Connect integration as it includes the Like button...
Leave a comment:
-
Thread full URL (how to)
Hi, im modifying my FORUMDISPLAY template to add a "facebook like" button under the title of the threads, but i cant find how to call to the full thread URL.
The code for the like button is:
PHP Code:<div style="padding:6px 0px 0px 6px;"><iframe src="http://www.facebook.com/plugins/like.php?href=[THREADURL]&layout=standard&show-faces=false&width=100&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:500px; height:26px"></iframe></div>
PHP Code:<div style="padding:6px 0px 0px 6px;"><iframe src="http://www.facebook.com/plugins/like.php?href=$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]&layout=standard&show-faces=false&width=100&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:500px; height:26px"></iframe></div>
Thanks.
Related Topics
Collapse
-
hello i am trying to add facebook share button just after the first post using following code
<div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/"...-
Channel: Support Issues & Questions
Wed 27 Apr '16, 9:22pm -
Leave a comment: