![]() |
Facebook Connect: View "mapped" users
1 Attachment(s)
This mod is a very simplistic hack that will allow you to view the users that have connected to your forum via facebook, and, if necessary, edit those users. It's a very quick and easy hack, no major credit needed. Since the author's pretty much not handling public support, I figured I'd throw it into it's own mod for now.
Requirements: You must have the facebook connect mod installed. Caveats: This mod will take time to load up, because it has to query facebook and see who's who. I did this deliberately, so you can get a real name for those users. This mod will REALLY take a while to load up if you have a lot of fb users on your forum, because it was a very simple mod to put together (ie: I didn't add any paging, that I may consider doing in a future version). This throws all your fb users together on one page. Install Instructions:
Support will be provided only to those with the mod installed. Version History: 1.01 : 07-26-09 Fixed bug here 1.03 : 08-05-09 Fixed bug here |
Reserved
|
Nice mods thank somuch
|
interesting
will check it out |
Thanks for sharing! It really helps :-)
I've had some problems: 1. There's an error in line #52 of fbconnect_users.php: There's a space before "user" in table name. It should be " . TABLE_PREFIX . "user 2. It works slow on my 50.000+ userbase, but works. |
Quote:
Quote:
|
Thanks
|
I am getting this error:
Code:
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /home/mehfil/includes/facebook/facebookapi_php5_restlib.php:2403 Stack trace: #0 /home/mehfil/includes/facebook/facebookapi_php5_restlib.php(1184): FacebookRestClient->call_method('facebook.users....', Array) #1 /home/mehfil/admincp/fbconnect_users.php(33): FacebookRestClient->users_getInfo('718255428', Array) #2 {main} thrown in /home/mehfil/includes/facebook/facebookapi_php5_restlib.php on line 2403 |
How many facebook users do you have in your usergroup?
|
Only 2.
PS. I have figured it out. I get the error if I am not logged in using FB connect. |
That error has nothing to do with you being logged in using FB Connect at all, it is a session error, which is not script related, but server related.
Either the script was timing out getting the information from facebook (check the connection from your server to facebook), your server lost the session data somehow (someone removed session files), or your session cookie got destroyed somehow. None of those have anything to do with the plugin itself. I just tested to be absolutely positive that this didn't require fbconnect login, and it doesn't. Not sure what's causing your problem, but it's not the plugin. |
When i click on edit i get this error????
Not Found The requested URL /moderator.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.ladiesletsride.com Port 80 |
Re-download the plugin, because you did something wrong.
This plugin does not care about moderator functions, or moderator.php. The 'settings' link should take you somewhere in admincp (I think options.php, but don't recall right off hand). |
1 Attachment(s)
I re-uploaded it and i still get this error when i click on Edit user
What is there that i can be doing wrong. it's a simple upload |
Sorry, got my mods confused for a second, thought you were referring to the facebook app itself and replied a bit early in the day (for me ;)).
This didn't occur on my forums (any of them), but if you have a custom modcpdir setup, it could occur on yours. Try downloading the mod now, this problem SHOULD be resolved now, as I made an adjustment to how that's called. |
installed but a problem. when I click to edit a user get the following error
Not Found The requested URL /admincp/modcp/moderator.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. the moderator.php on my server is in the folder /admincp/moderator.php Thats the way it's always been I have not changed any folder structures at all since I set up this board. So is that the problem? |
If you want help, make sure that you have "installed" the app. It's not really that much to ask for.
|
Done, I don't normally do it till they are working sorry
|
moderator.php is actually in the forumroot and in the admincp directory. The one that should be called is the one in the forum root. I have no clue where I got a link to the other (modcpdir), but this should be resolved in the latest update.
As far as the mod working, it was, of course, working, otherwise you wouldn't have seen the users and the link to edit them. Just because a link doesn't work doesn't mean the whole thing is broken ;) |
Thanks for the update :) Working fine
|
Cool that fixed it.. if you know of any other mods that are cool please let me know Tom. your the best
|
Must have.
thanks. |
Very nice! Makes it easier to find mapped users, works like a charm! :)
|
Are you ever going to add paging to this? Or if not can you or anyone else give me a hint on how I may go about adding paging. Id like to install this but its whats holding me back from doing so as I have like 9000 facebook connect users
|
You're more than welcome to look at adding paging to this yourself, but since I no longer use (or support) the product it was written for, it's highly doubtful that I'll advance this any further. There's no problem with how it is right now, though
|
where do you go to view the list of "mapped" users?
|
Quote:
http://example.com/forum/admincp/fbconnect_users.php Crude way, if you ask me ... The mod still leaves a lot to be desired :
|
Very very nice i love it. look forward to updates
|
This is great..thank you!! :)
|
Can anyone explain why the creator of this useful mod is now Banned?
|
Was not aware, what do you mean?
|
*edit*
|
All times are GMT. The time now is 05:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|