Version: 3.0.5, by mtbikemike
Developer Last Online: Apr 2014
Category: Integration with vBulletin -
Version: 3.8.7
Rating:
Released: 09-12-2011
Last Update: 09-29-2011
Installs: 56
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage
No support by the author.
I rewrote this plugin using ideas from sllik's mod.
Not Supported!!
This code is not supported. The Facebook API has since changed. Only provided for open source purposes ... feel free to modify at your own risk.
As you'll see, you get the pop up for app connection permission. But after agreeing, it doesn't log you in and anytime you click the fb connect button again, nothing happens. But if you go to https://socialnetwork.bz/vb4/ the button works fine. So it is only within canvas not working.
In your clientscript/vbulletin_facebook.js file find the vB_Facebook.prototype.do_fbRedirect function block. Replace it with this ...
Code:
vB_Facebook.prototype.do_fbRedirect = function() {
var A = window.location.href.replace(/#.*/, "");
var B = (window.location.search.substring(1) ? "&" : "?");
window.location = A + B + "dofbredirect=1" + window.location.hash
};
The original function was calling window.top.location which will throw the error ...
Code:
Unsafe JavaScript attempt to access frame with URL http://apps.facebook.com/vbfourtest/ from frame with URL https://socialnetwork.bz/vb4/forum.php. Domains, protocols and ports must match.
I have no way to test, so I'm hoping it'll work. Let m know
Edit: I just realized the vbulletin_facebook.js file is obfuscated. Try running with the attached file (make sure to remove the ".txt" in the filename)
I didn't modify any of your templates - just followed the instructions exactly.
Viewing the source, there's no reference to fbconnect.png at all.
It shows up perfectly when I'm logged in; everything else seems to be working OK. Just nothing when visiting as a guest. Nothing on register.php, either.
I understand what's supposed to happen. Only.... it's not.
The instructions say to put the button after <if condition="$show['member']">
I'm not an expert, but if that's a conditional of some kind, is it perhaps telling it not to display?
Ooops! My bad. The documentation should say BEFORE the <if condition="$show['member']">
After a couple of hours first time you load a forum's page i'm getting the facebook connect image, after reloading page everything it's fine as it should be.
--
Yesterday i cleaned up cookies, and today after loging in i (using vbulletin login) the facebook connect image never shows up as a connected user
Thanks to everyone for putting up with these errors/bugs and helping test. I'm hoping to get this rock solid very shortly, then I'll be able to start adding more interesting features
PS - I saw Zuckerburg's presentation at F8 on FB timelines and Open Graph's new action types, object types and aggregation features last night. Looks like it'll be acceptable to start posting when users log in/out of vb, what threads they're reading, etc. What other features would you like to see?
PS - I saw Zuckerburg's presentation at F8 on FB timelines and Open Graph's new action types, object types and aggregation features last night. Looks like it'll be acceptable to start posting when users log in/out of vb, what threads they're reading, etc. What other features would you like to see?
The big one for me would be to take advantage of the new "Lists" functionality on FB so that you can choose who sees your auto-wall posts (so as not to spam, say, my mother with posts about a website she doesn't understand).
Of course, it's easy to log in to Facebook and edit the post in question, but being able to set that permanently would be awesome.
1) When you use a Quick Reply, the board substitutes the usual Quick Reply text "Please click one of the Quick Reply icons...". The only way to post now is a quick reply followed immediately by an Edit.
2) Frequent occurences of "The message you have entered is too short. Please lengthen your message to at least 3 characters."
Either of these are site-killers; both are pretty devastating.
Also, this from a user:
---- I clicked on the FB connect button, clicked yes on the FB "allow this page access" and then was logged out of EN World and logged in as a different user (nedjer specifically) without inputting a password.
Update - I asked for browsers and versions. The above is happening on IE6, iE8, and FF6 at minimum (probably more). New posts are down to under 10% normal, so it's clearly widespread.
I'm uninstalling for now, for obvious reason (can't afford it!)
After a couple of hours first time you load a forum's page i'm getting the facebook connect image, after reloading page everything it's fine as it should be.
--
Yesterday i cleaned up cookies, and today after loging in i (using vbulletin login) the facebook connect image never shows up as a connected user