vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Facebook Connect: View "mapped" users (https://vborg.vbsupport.ru/showthread.php?t=219464)

wolfstream 07-25-2009 10:00 PM

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:
  • Uncompress the zip file
  • Upload everything in the upload folder to your forum directory. Make SURE to overwrite the cpnav file.
  • NO xml to import, you're done.

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

wolfstream 07-25-2009 11:01 PM

Reserved

m2006 07-26-2009 04:01 AM

Nice mods thank somuch

Brandon Sheley 07-26-2009 04:08 AM

interesting
will check it out

janslu 07-26-2009 07:37 PM

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.

wolfstream 07-26-2009 07:57 PM

Quote:

Originally Posted by janslu (Post 1856054)
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

Thanks for pointing that out, I have fixed the file. I could have sworn I got all that, but apparently not ;)

Quote:

Originally Posted by janslu (Post 1856054)
2. It works slow on my 50.000+ userbase, but works.

Yikes!!! I'll say it'd be slow. I'll see what I can do about paging, but it'll be a bit difficult to do right now.

erel34 07-26-2009 09:16 PM

Thanks

zajmal 07-29-2009 03:11 PM

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

wolfstream 07-29-2009 03:21 PM

How many facebook users do you have in your usergroup?

zajmal 07-29-2009 03:35 PM

Only 2.

PS. I have figured it out. I get the error if I am not logged in using FB connect.


All times are GMT. The time now is 06:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01035 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete