The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem with facebook auto-register
Hello guys,
I need some help here about Facebook Platform. I have set in my options NO to Enable Auto-Register as you can see here: But my guests see this in the register page: If they not logged on facebook: If they are logged on facebook: What Im doing wrong? Why facebook platform appears in my register page if I have set NO in Auto-Register? Can someone please help me? Thanks! |
#2
|
|||
|
|||
Disable auto register does disable the auto registration system, it does not disable the Facebook platform or its link. Easy fix would be to comment out or add a vb:conditional to your registration template code. Since you are using the standard template anyone here can give you a hand if you need it, but look up vb:conditionals first in the manual, it is worth your time
|
#3
|
|||
|
|||
Put Facebook usergroup as none
|
#4
|
|||
|
|||
ForceHSS, I already did but didn't solve my problem.
tbworld, here goes what I did: I removed this code lines from my register template file: FIND: Code:
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> Code:
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"> Code:
<vb:if condition="$vboptions['enablefacebookconnect']"> <h3 class="blocksubhead">{vb:rawphrase facebook_connect}</h3> <div class="section"> <div id="fbregbox" class="blockrow hidden"> <vb:if condition="$show['facebookuser']"> <a href="{vb:raw fbprofileurl}"> <img src="{vb:raw fbprofilepicurl}" title="{vb:var fbname}" alt="{vb:var fbname}" /> </a> {vb:rawphrase welcome_x_link_y, {vb:var fbname}, {vb:raw fbprofileurl}} <a style="cursor: pointer" onclick="vBfb.register_logout();"><img src="{vb:stylevar imgdir_misc}/facebook_logout.gif" alt="{vb:rawphrase logout_of_facebook}" /></a> <vb:else /> <a id="fb_regloginbtn" href="#"><img src="{vb:stylevar imgdir_misc}/facebook_login_long.gif" alt="{vb:rawphrase facebook_connect}" /></a> </vb:if> </div> <vb:if condition="$show['facebookuser']"> <div class="blockrow"> <label for="facebookusername">{vb:rawphrase already_a_member}</label> <div class="rightcol"> <input type="text" class="textbox" name="facebookusername" id="facebookusername" maxlength="50" tabindex="1" value="{vb:rawphrase username}" /> <input type="text" class="textbox" name="facebookpassword_hint" id="facebookpassword_hint" maxlength="50" tabindex="1" value="{vb:rawphrase password}" /> <input type="password" class="textbox" name="facebookpassword" id="facebookpassword" maxlength="50" tabindex="1" style="display: none;" /> <input type="button" class="button" name="facebookassociate" id="facebookassociate" value="{vb:rawphrase log_in}" tabindex="1" /> <p class="description">{vb:rawphrase associate_facebook_with_x_account, {vb:raw vboptions.bbtitle}}</p> <script type="text/javascript"> YAHOO.util.Dom.setStyle('facebookpassword_hint', "display", "inline"); YAHOO.util.Dom.setStyle('facebookpassword', "display", "none"); YAHOO.util.Dom.setStyle('facebookusername', "color", "#828282"); YAHOO.util.Dom.setStyle('facebookpassword_hint', "color", "#828282"); vB_XHTML_Ready.subscribe(function() { // YAHOO.util.Event.on('facebookusername', "focus", facebookusername_focus); YAHOO.util.Event.on('facebookusername', "blur", facebookusername_blur); YAHOO.util.Event.on('facebookpassword_hint', "focus", facebookpassword_hint); YAHOO.util.Event.on('facebookpassword', "blur", facebookpassword); }); function facebookusername_focus(e) { // var textbox = YAHOO.util.Event.getTarget(e); if (textbox.value == '{vb:rawphrase username}') { // textbox.value=''; textbox.style.color='black'; } } function facebookusername_blur(e) { // var textbox = YAHOO.util.Event.getTarget(e); if (textbox.value == '') { // textbox.value='{vb:rawphrase username}'; textbox.style.color='#828282'; } } function facebookpassword_hint(e) { // var textbox = YAHOO.util.Event.getTarget(e); YAHOO.util.Dom.setStyle('facebookpassword_hint', "display", "none"); YAHOO.util.Dom.setStyle('facebookpassword', "display", "inline"); YAHOO.util.Dom.get('facebookpassword').focus(); } function facebookpassword(e) { // var textbox = YAHOO.util.Event.getTarget(e); if (textbox.value == '') { YAHOO.util.Dom.setStyle('facebookpassword_hint', "display", "inline"); YAHOO.util.Dom.setStyle('facebookpassword', "display", "none"); } } </script> </div> </div> </vb:if> </div> {vb:raw fbimportform} </vb:if> When the user is logged on facebook, the fields username and email are automatically filled. Any idea how to fix this auto-fill? I just don't understand why the Auto-Register set to NO doesn't work... is this a bug? Thanks! |
#5
|
|||
|
|||
Please, anyone?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|