karlm
12-05-2011, 06:45 AM
http://tracker.vbulletin.com/browse/VBIV-13618?page=com.atlassian.jira.plugin.system.issuet abpanels%3Aall-tabpanel
On the tracker is a patch released earlier today - YAY!
What the hell am I supposed to do with it though?
Current instructions consist of: Give the attached patch a try.
Having selected the patch, it opens a tab in firefox with the following code:
Index: clientscript/vbulletin_facebook.js
================================================== =================
--- clientscript/vbulletin_facebook.js (revision 56167)
+++ clientscript/vbulletin_facebook.js (working copy)
@@ -41,9 +41,7 @@
[{id : "fb_loginbtn"}, {id : "fb_regloginbtn"}, {id : "fb_getconnected"}]
};
- // if auto-reg is enabled, we need to prompt
- // for email permissions on first login
- this.loginperms = this.get_config('autoreg') ? {perms:'email'} : {perms:'email,user_about_me,user_activities,user_b irthday,user_interests,user_likes,user_website,use r_location,user_work_history'};
+ this.loginscope = {scope:'email,user_about_me,user_activities,user_b irthday,user_interests,user_likes,user_website,use r_location,user_work_history'};
// init the Facebook API
FB.init({
@@ -177,7 +175,7 @@
{
vBfb.do_fbRedirect();
}
- }, this.loginperms);
+ }, vBfb.loginscope);
}
});
}
Which, to be blunt, means nothing to me.
I tried editing the vbulletin_facebook.js (as that is the name of the file judging by information supplied) and it did nothing aside from stop my fb connect functioning entirely.
Any ideas on what I'm supposed to do with this, anyone?
On the tracker is a patch released earlier today - YAY!
What the hell am I supposed to do with it though?
Current instructions consist of: Give the attached patch a try.
Having selected the patch, it opens a tab in firefox with the following code:
Index: clientscript/vbulletin_facebook.js
================================================== =================
--- clientscript/vbulletin_facebook.js (revision 56167)
+++ clientscript/vbulletin_facebook.js (working copy)
@@ -41,9 +41,7 @@
[{id : "fb_loginbtn"}, {id : "fb_regloginbtn"}, {id : "fb_getconnected"}]
};
- // if auto-reg is enabled, we need to prompt
- // for email permissions on first login
- this.loginperms = this.get_config('autoreg') ? {perms:'email'} : {perms:'email,user_about_me,user_activities,user_b irthday,user_interests,user_likes,user_website,use r_location,user_work_history'};
+ this.loginscope = {scope:'email,user_about_me,user_activities,user_b irthday,user_interests,user_likes,user_website,use r_location,user_work_history'};
// init the Facebook API
FB.init({
@@ -177,7 +175,7 @@
{
vBfb.do_fbRedirect();
}
- }, this.loginperms);
+ }, vBfb.loginscope);
}
});
}
Which, to be blunt, means nothing to me.
I tried editing the vbulletin_facebook.js (as that is the name of the file judging by information supplied) and it did nothing aside from stop my fb connect functioning entirely.
Any ideas on what I'm supposed to do with this, anyone?