The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Facebook Connect is working but small problem..
Hi guys..
The Facebook connect works great but! : Code:
Like Button - Threads Enabling this option will make a "Like" button appear on all threads. Users will then be able to "Like" individual threads. Note: users do not have to have Facebook linked accounts to use this feature How can i configure that every forum will have that LIKE button or at least configure more groups who can see it? (I.E Registered members group) Will be happy to get your help. |
#2
|
||||
|
||||
Take the condition off of the SHOWTHREAD template here:
HTML Code:
<vb:if condition="$show['fb_likebutton']"> {vb:raw fblikebutton} </vb:if> |
#3
|
|||
|
|||
Did that already ,removed the condition but still the same..
any other suggestions? --------------- Added [DATE]1337028323[/DATE] at [TIME]1337028323[/TIME] --------------- Found this code on facebook developers: Code:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-send="true" data-width="450" data-show-faces="false"></div> |
#4
|
||||
|
||||
Probably need to modify/remove the else condition in the function contruct_fblikebutton in functions_facebook.php:
PHP Code:
|
#5
|
|||
|
|||
Still does not work..
Another suggestion? --------------- Added [DATE]1337100046[/DATE] at [TIME]1337100046[/TIME] --------------- There is any difference if i put custom facebook code or i use vbulletin code? Cuase use custom code may be easier.. |
#6
|
||||
|
||||
If that doesn't work, then most likely there is something else perhaps in the javascript and I just can't look through all of that, sorry.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|