I am going to start a new forum where my target market is facebook users. I was wondering if I disable account register in admincp, if people could still create accounts using facebook connect as I'd like to require all forum accounts to have a facebook account and use the account to connect to the forum.
Register only with facebook connect
Collapse
X
-
If you disable registration, I believe you disable it for FB Connect also although I haven't tried this... -
Yeah, I found that out, but I figured out a way to do it after reading a bit more on FB Intergration plug-ins. Putting the code below in the footer template right below the fb connect call. Even with registering off, it still creates an account using your facebook info.
Code:<script> window.fbAsyncInit = function() { FB.init({appId: 'your-app-id-goes-here', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script>
Comment
-
Hi Stabatha
This is my situation..
I have a landpage which is parked. http://www.gaga.com and the forums which I am developing http://f.gaga.com
I also want to basically market to the facebook user..
Will the above script remove the regular login option?
Can I put a link on my splash page indicating a click directly to facebook?
Can I see your webpage and how it works?
And last but not least.. exactly what template did you add this code too? And how do I access it?
Thanks for any help
Yeah, I found that out, but I figured out a way to do it after reading a bit more on FB Intergration plug-ins. Putting the code below in the footer template right below the fb connect call. Even with registering off, it still creates an account using your facebook info.
Code:<script> window.fbAsyncInit = function() { FB.init({appId: 'your-app-id-goes-here', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script>
Comment
-
Should I add this to the bottom of the template titled
facebook_footer
?Comment
-
Yeah, I found that out, but I figured out a way to do it after reading a bit more on FB Intergration plug-ins. Putting the code below in the footer template right below the fb connect call. Even with registering off, it still creates an account using your facebook info.
Code:<script> window.fbAsyncInit = function() { FB.init({appId: 'your-app-id-goes-here', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script>
Is it this code that I should paste it under in the existing footer?
{vb:raw ad_location.ad_footer_end}
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_footer}
</vb:if>
ThanksComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment