The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
mobile facebook register not working
just noticed that the login with facebook button specifically in my mobile version does nothing when you click it. I'm not sure why. It does work on desktop version.
Also, the actual footer template is not rendered during the mobile registration process. It simply doesn't show up even though the footer code is there in the register template page and verify age template too. The mobile 'register' template is: Code:
{vb:stylevar htmldoctype} <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}" id="vbulletin_html"> <head> {vb:raw headinclude} <title>{vb:raw vboptions.bbtitle}</title> {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} <div id="pagetitle" class="pagetitle ui-bar-b"> <h1 class="pagetitle">{vb:rawphrase vbulletin_registration}</h1> <vb:if condition="$vboptions['usecoppa']"><p class="description">{vb:rawphrase step_2_of_2}</p></vb:if> </div> <vb:if condition="$vboptions['enablefacebookconnect']"> <form id="facebookassociateform" method="post" action="login.php?do=login" data-ajax="false"> <input type="hidden" name="do" value="login" /> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="url" value="register.php" /> <input type="hidden" id="vb_login_username" name="vb_login_username" /> <input type="hidden" id="vb_login_password" name="vb_login_password" /> <input type="hidden" name="cookieuser" id="cb_cookieuser" value="1" /> </form> </vb:if> <div data-role="content"> <form id="registerform" action="register.php?do=addmember" name="register" method="post" class="vbform block" data-ajax="false"> <h3>{vb:rawphrase register_at_x, {vb:raw vboptions.bbtitle}}</h3> <vb:if condition="$show['errors']"> <h4 class="ui-bar ui-bar-e">{vb:rawphrase errors_occurred_during_registration}</h4> <div class="ui-body ui-body-e"> <ul class="blockrow"> {vb:raw errorlist} </ul> </div> </vb:if> <vb:if condition="$show['coppa']"> <p>{vb:rawphrase until_receive_signed_form}</p> </vb:if> <vb:if condition="$vboptions['enablefacebookconnect']"> <h3 class="ui-bar ui-bar-d">{vb:rawphrase facebook_connect}</h3> <div id="fbregbox" class="fbregbox ui-br"> <vb:if condition="$show['facebookuser']"> <img src="{vb:raw fbprofilepicurl}" title="{vb:var fbname}" alt="{vb:var fbname}" /> <a id="fb_reglogoutbtn" href="#"><img src="/images/mobile/facebook-mobile.png" alt="{vb:rawphrase logout_of_facebook}" width="244" /></a> <br /> {vb:rawphrase welcome_x_link_y, {vb:var fbname}, {vb:raw fbprofileurl}} <vb:else /> <a id="fb_regloginbtn" href="#"><img src="/images/mobile/facebook-mobile.png" alt="{vb:rawphrase facebook_connect}" width="244" /></a> </vb:if> </div> <vb:if condition="$show['facebookuser']"> <h4>{vb:rawphrase already_a_member}</h4> <p class="description">{vb:rawphrase associate_facebook_with_x_account, {vb:raw vboptions.bbtitle}}</p> <div data-role="fieldcontain"> <label for="facebookusername">{vb:rawphrase username}:</label> <input type="text" class="textbox" name="facebookusername" id="facebookusername" maxlength="50" tabindex="1" value="" /> <label for="facebookpassword">{vb:rawphrase password}:</label> <input type="password" class="textbox" name="facebookpassword" id="facebookpassword" maxlength="50" tabindex="1" /> <input type="button" data-theme="a" name="facebookassociate" id="facebookassociate" value="{vb:rawphrase log_in}" tabindex="1" /> </div> </vb:if> {vb:raw fbimportform} </vb:if> <h3 class="ui-bar ui-bar-d">{vb:rawphrase required_information}</h3> <div data-role="fieldcontain"> <label for="regusername">{vb:rawphrase username}:</label> <input class="primary textbox" id="regusername" type="text" name="username" maxlength="{vb:raw vboptions.maxuserlength}" value="{vb:raw username}" tabindex="1" /> </div> <div data-role="fieldcontain"> <label for="password">{vb:rawphrase password}:</label> <input type="password" class="textbox" name="password" id="password" maxlength="50" value="{vb:raw password}" tabindex="1" /> <label for="passwordconfirm">{vb:rawphrase confirm_password}:</label> <input type="password" class="textbox" name="passwordconfirm" id="passwordconfirm" maxlength="50" value="{vb:raw passwordconfirm}" tabindex="1" /> </div> <div data-role="fieldcontain"> <label for="email">{vb:rawphrase email_address}:</label> <input type="text" class="textbox" name="email" id="email" maxlength="50" value="{vb:raw email}" dir="ltr" tabindex="1" /> <label for="emailconfirm">{vb:rawphrase confirm_email_address}:</label> <input type="text" class="textbox" name="emailconfirm" id="emailconfirm" maxlength="50" value="{vb:raw emailconfirm}" dir="ltr" tabindex="1" /> </div> <vb:if condition="$show['coppa']"> <div data-role="fieldcontain"> <label for="parentemail">{vb:rawphrase parent_guardian_email}:</label> <input type="text" class="primary textbox" name="parentemail" id="parentemail" maxlength="50" value="{vb:raw parentemail}" dir="ltr" tabindex="1" /> </div> </vb:if> {vb:raw human_verify} <vb:if condition="$show['customfields_profile']"> <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_required_information_profile}</h3> {vb:raw customfields_profile} <vb:if condition="$show['birthday']">{vb:raw birthdayfields}</vb:if> </vb:if> <vb:if condition="$show['customfields_option']"> <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_required_information_option}</h3> {vb:raw customfields_option} </vb:if> <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_information}</h3> <vb:if condition="$show['referrer']"> <div data-role="fieldcontain"> <label for="referrerfield_ctrl">{vb:rawphrase referrer}:</label> <input id="referrerfield_ctrl" type="text" class="primary textbox popupctrl" name="referrername" value="{vb:raw referrername}" tabindex="1" maxlength="{vb:raw vboptions.maxuserlength}" /> </div> </vb:if> {vb:raw timezoneoptions} <div data-role="fieldcontain"> <fieldset data-role="controlgroup"> <legend>{vb:rawphrase receive_email}...</legend> <input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" tabindex="1" {vb:raw checkedoff.adminemail} /> <label for="cb_adminemail">{vb:rawphrase receive_email_from_bulletin_board_staff}</label> <vb:if condition="$show['email']"> <input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" tabindex="1" {vb:raw checkedoff.showemail} /> <label for="cb_showemail">{vb:rawphrase receive_email_from_other_members}</label> </vb:if> </fieldset> </div> <vb:comment> For performance reason, (Too many form elements perform really bad on iOS), we disable additional information. {vb:raw customfields_other} </vb:comment> <div data-role="fieldcontain"> <input type="checkbox" name="agree" id="cb_rules_agree" tabindex="1" value="1" /> <label for="cb_rules_agree" class="full">{vb:rawphrase read_agree_abide_by_rules, {vb:raw vboptions.bbtitle}}</label> <a href="mobile.php?do=agreement" data-rel="dialog" data-transition="pop" data-role="button">{vb:rawphrase view_rules}</a> </div> <button type="submit" data-theme="a">{vb:rawphrase complete_registration}</button> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="addmember" /> <input type="hidden" name="url" value="{vb:raw url}" /> <input type="hidden" name="password_md5" /> <input type="hidden" name="passwordconfirm_md5" /> <vb:if condition="!$show['birthday']"> <input type="hidden" name="day" value="{vb:raw day}" /> <input type="hidden" name="month" value="{vb:raw month}" /> <input type="hidden" name="year" value="{vb:raw year}" /> </vb:if> <vb:if condition="$show['coppa']"> <input type="hidden" name="coppauser" value="1" /> </vb:if> </form> </div> {vb:raw footer} </body> </html> The facebook_associate template is: Code:
{vb:stylevar htmldoctype} <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}" id="vbulletin_html"> <head> {vb:raw headinclude} <title>{vb:raw vboptions.bbtitle}</title> {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} <div id="pagetitle" class="pagetitle ui-bar-b"> <h1 class="pagetitle">{vb:rawphrase facebook_connect}</h1> <p class="description">{vb:rawphrase link_accounts}</p> </div> <div data-role="content"> <form action="register.php?do=fbconnect" name="register" method="post" class="vbform block" data-ajax="false"> <vb:if condition="$show['errors']"> <h4 class="ui-bar ui-bar-e">{vb:rawphrase errors_occurred_during_registration}</h4> <div class="ui-body ui-body-e"> <ul class="blockrow"> {vb:raw errorlist} </ul> </div> </vb:if> <div id="fbregbox" class="fbregbox ui-br"> <img src="{vb:raw fbprofilepicurl}" title="{vb:var fbname}" alt="{vb:var fbname}" /> <a id="fb_reglogoutbtn" href="#"><img src="{vb:stylevar imgdir_misc}/facebook_logout.gif" alt="{vb:rawphrase logout_of_facebook}"/></a> <p class="description">{vb:rawphrase welcome_x_link_y, {vb:var fbname}, {vb:raw fbprofileurl}}</p> <p class="description">{vb:rawphrase connect_facebook_account, {vb:raw vboptions.bbtitle}}</p> <vb:if condition="$show['fb_alreadyassociated']"> <p class="description">{vb:rawphrase facebook_already_associated_x_y, {vb:raw currentfbuserid}, {vb:var currentfbname}}</p> </vb:if> </div> <fieldset class="ui-grid-a"> <div class="ui-block-a"><button type="submit" name="link" data-theme="a">{vb:rawphrase link}</button></div> <div class="ui-block-b"><button type="submit" name="nolink" data-theme="d">{vb:rawphrase nolink}</button></div> </fieldset> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="fbconnect" /> </form> </div> {vb:raw footer} </body> </html> |
#2
|
||||
|
||||
Would appreciate help on this. Thank you.
|
#3
|
||||
|
||||
Sorry to bump this, but really need help on this please.
|
#4
|
||||
|
||||
I see the footer on the mobile register page.
However, I just ran the source code from this page in an HTML validator - http://www.talkjesus.com/welcome.php?do=checkdate - and you have problems with your form and div elements and that is most likely your problem. You have stray end form and end div tags. Fix those and then see if you still have problems. |
#5
|
||||
|
||||
I just tested default copy of this template, same issue. I don't think it's the div elements or form. I even copied original copies from developer to my custom templates, including footer, register, verify age and same issue. Nothing happens when I click facebook button.
Even on the developer's demo site registration itself is disabled so I can't test there. --------------- Added [DATE]1406923765[/DATE] at [TIME]1406923765[/TIME] --------------- Another thing I also noticed: 2 custom fields appear, but completely blank in drop down select option. Gender Country They're fine on desktop, but not on mobile version. My register template is: Code:
{vb:stylevar htmldoctype} <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}" id="vbulletin_html"> <head> {vb:raw headinclude} <title>{vb:raw vboptions.bbtitle}</title> {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} <div id="pagetitle" class="pagetitle ui-bar-b"> <h1 class="pagetitle">{vb:rawphrase vbulletin_registration}</h1> <vb:if condition="$vboptions['usecoppa']"><p class="description">{vb:rawphrase step_2_of_2}</p></vb:if> </div> <vb:if condition="$vboptions['enablefacebookconnect']"> <form id="facebookassociateform" method="post" action="login.php?do=login" data-ajax="false"> <input type="hidden" name="do" value="login" /> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="url" value="register.php" /> <input type="hidden" id="vb_login_username" name="vb_login_username" /> <input type="hidden" id="vb_login_password" name="vb_login_password" /> <input type="hidden" name="cookieuser" id="cb_cookieuser" value="1" /> </form> </vb:if> <div data-role="content"> <form id="registerform" action="register.php?do=addmember" name="register" method="post" class="vbform block" data-ajax="false"> <h3>{vb:rawphrase register_at_x, {vb:raw vboptions.bbtitle}}</h3> <vb:if condition="$show['errors']"> <h4 class="ui-bar ui-bar-e">{vb:rawphrase errors_occurred_during_registration}</h4> <div class="ui-body ui-body-e"> <ul class="blockrow"> {vb:raw errorlist} </ul> </div> </vb:if> <vb:if condition="$show['coppa']"> <p>{vb:rawphrase until_receive_signed_form}</p> </vb:if> <vb:if condition="$vboptions['enablefacebookconnect']"> <h3 class="ui-bar ui-bar-d">{vb:rawphrase facebook_connect}</h3> <div id="fbregbox" class="fbregbox ui-br"> <vb:if condition="$show['facebookuser']"> <img src="{vb:raw fbprofilepicurl}" title="{vb:var fbname}" alt="{vb:var fbname}" /> <a id="fb_reglogoutbtn" href="#"><img src="/images/mobile/facebook-mobile.png" alt="{vb:rawphrase logout_of_facebook}" width="244" /></a> <br /> {vb:rawphrase welcome_x_link_y, {vb:var fbname}, {vb:raw fbprofileurl}} <vb:else /> <a id="fb_regloginbtn" href="#"><img src="/images/mobile/facebook-mobile.png" alt="{vb:rawphrase facebook_connect}" width="244" /></a> </vb:if> </div> <vb:if condition="$show['facebookuser']"> <h4>{vb:rawphrase already_a_member}</h4> <p class="description">{vb:rawphrase associate_facebook_with_x_account, {vb:raw vboptions.bbtitle}}</p> <div data-role="fieldcontain"> <label for="facebookusername">{vb:rawphrase username}:</label> <input type="text" class="textbox" name="facebookusername" id="facebookusername" maxlength="50" tabindex="1" value="" /> <label for="facebookpassword">{vb:rawphrase password}:</label> <input type="password" class="textbox" name="facebookpassword" id="facebookpassword" maxlength="50" tabindex="1" /> <input type="button" data-theme="a" name="facebookassociate" id="facebookassociate" value="{vb:rawphrase log_in}" tabindex="1" /> </div> </vb:if> {vb:raw fbimportform} </vb:if> <h3 class="ui-bar ui-bar-d">{vb:rawphrase required_information}</h3> <div data-role="fieldcontain"> <label for="regusername">{vb:rawphrase username}:</label> <input class="primary textbox" id="regusername" type="text" name="username" maxlength="{vb:raw vboptions.maxuserlength}" value="{vb:raw username}" tabindex="1" /> </div> <div data-role="fieldcontain"> <label for="password">{vb:rawphrase password}:</label> <input type="password" class="textbox" name="password" id="password" maxlength="50" value="{vb:raw password}" tabindex="1" /> <label for="passwordconfirm">{vb:rawphrase confirm_password}:</label> <input type="password" class="textbox" name="passwordconfirm" id="passwordconfirm" maxlength="50" value="{vb:raw passwordconfirm}" tabindex="1" /> </div> <div data-role="fieldcontain"> <label for="email">{vb:rawphrase email_address}:</label> <input type="text" class="textbox" name="email" id="email" maxlength="50" value="{vb:raw email}" dir="ltr" tabindex="1" /> <label for="emailconfirm">{vb:rawphrase confirm_email_address}:</label> <input type="text" class="textbox" name="emailconfirm" id="emailconfirm" maxlength="50" value="{vb:raw emailconfirm}" dir="ltr" tabindex="1" /> </div> <vb:if condition="$show['coppa']"> <div data-role="fieldcontain"> <label for="parentemail">{vb:rawphrase parent_guardian_email}:</label> <input type="text" class="primary textbox" name="parentemail" id="parentemail" maxlength="50" value="{vb:raw parentemail}" dir="ltr" tabindex="1" /> </div> </vb:if> {vb:raw human_verify} <vb:if condition="$show['customfields_profile']"> <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_required_information_profile}</h3> {vb:raw customfields_profile} <vb:if condition="$show['birthday']">{vb:raw birthdayfields}</vb:if> </vb:if> <vb:if condition="$show['customfields_option']"> <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_required_information_option}</h3> {vb:raw customfields_option} </vb:if> <h3 class="ui-bar ui-bar-d">{vb:rawphrase additional_information}</h3> <vb:if condition="$show['referrer']"> <div data-role="fieldcontain"> <label for="referrerfield_ctrl">{vb:rawphrase referrer}:</label> <input id="referrerfield_ctrl" type="text" class="primary textbox popupctrl" name="referrername" value="{vb:raw referrername}" tabindex="1" maxlength="{vb:raw vboptions.maxuserlength}" /> </div> </vb:if> {vb:raw timezoneoptions} <div data-role="fieldcontain"> <fieldset data-role="controlgroup"> <legend>{vb:rawphrase receive_email}...</legend> <input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" tabindex="1" {vb:raw checkedoff.adminemail} /> <label for="cb_adminemail">{vb:rawphrase receive_email_from_bulletin_board_staff}</label> <vb:if condition="$show['email']"> <input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" tabindex="1" {vb:raw checkedoff.showemail} /> <label for="cb_showemail">{vb:rawphrase receive_email_from_other_members}</label> </vb:if> </fieldset> </div> <vb:comment> For performance reason, (Too many form elements perform really bad on iOS), we disable additional information. {vb:raw customfields_other} </vb:comment> <div data-role="fieldcontain"> <input type="checkbox" name="agree" id="cb_rules_agree" tabindex="1" value="1" /> <label for="cb_rules_agree" class="full">{vb:rawphrase read_agree_abide_by_rules, {vb:raw vboptions.bbtitle}}</label> <a href="mobile.php?do=agreement" data-rel="dialog" data-transition="pop" data-role="button">{vb:rawphrase view_rules}</a> </div> <button type="submit" data-theme="a">{vb:rawphrase complete_registration}</button> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="addmember" /> <input type="hidden" name="url" value="{vb:raw url}" /> <input type="hidden" name="password_md5" /> <input type="hidden" name="passwordconfirm_md5" /> <vb:if condition="!$show['birthday']"> <input type="hidden" name="day" value="{vb:raw day}" /> <input type="hidden" name="month" value="{vb:raw month}" /> <input type="hidden" name="year" value="{vb:raw year}" /> </vb:if> <vb:if condition="$show['coppa']"> <input type="hidden" name="coppauser" value="1" /> </vb:if> </form> </div> {vb:raw footer} </body> </html> |
#6
|
||||
|
||||
Seeing your template doesn't help me a bit. A link to the mobile style using a totally default style would help because it shouldn't have the html problems I was talking about.
|
#7
|
||||
|
||||
Thanks Lynne.
This is the untouched, default version (mobile). It's messed up as is but it's unmodified. http://www.talkjesus.com/index.php?styleid=229 This one is the absolute default vBulletin mobile version, unmodified too: http://www.talkjesus.com/index.php?styleid=230 Both don't work at all as far as facebook register/login goes. Just tested myself. Both have blank/empty drop down selectors for Country and Gender (2 custom profile fields) too. |
#8
|
||||
|
||||
I would appreciate help on this. I really would like my site to be fully accessible for visitors to my community. VB will not provide me support via ticketing system because my support is expired and I've waited so far 24hrs for a response on the forums at vb com. Anything to get this working right, I would be grateful for.
Thank you. |
#9
|
||||
|
||||
Anyone know how to fix this without having to upgrade VB? Too many template changes/mods to upgrade at this point.
Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|