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:
Im upgrading from VB 3.7 where i used the following code:
Could somebody tell me what is the vb code to use to call the full url of a thread.
Thanks.
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.
Comment