Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Digital Point Better Facebook Registration Details »»
Digital Point Better Facebook Registration
Version: 1.01, by digitalpoint digitalpoint is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.3 Rating:
Released: 04-27-2011 Last Update: 08-19-2011 Installs: 98
Uses Plugins
 
No support by the author.

About
I was getting terribly annoyed with the number of users registering with Facebook Connect, only to say they accidentally registered with their real name and wanted to change it.

So with this, the default username will be their Facebook username, NOT their real name.

This will work with 4.0.3 or higher (4.0.3 was the first version with Facebook Connect).

Installation
  • Install the product-dp_better_facebook_reg.xml product under AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product
You can see a live version in action here (assuming you are logged into Facebook of course):
http://forums.digitalpoint.com/register.php


Details
Let's say my name is "Shawn Hogan" and my Facebook username is "dpoint" (which it is) and I sign up for a forum that utilizes the Facebook Connect integration that came with vBulletin 4.0.3 or higher...

By default, vBulletin will make my username "Shawn Hogan".

With this addon, my default username will be "dpoint"... if "dpoint" is taken, it will default to "dpoint75" (1975 is the year I was born)... if "dpoint75" is taken, it will default to "dpointXX" (XX being a random number).

By default vBulletin also resets the username back to "Shawn Hogan" if I overrode it, but there was an error with my registration. So as an added bonus, the system will always remember the username if it was set by the user registering.

Download Now

File Type: xml product-dp_better_facebook_reg.xml (2.7 KB, 315 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-28-2011, 08:15 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm gonna have th slide on this one, although I was looking forward to getting it working. I can't get past the captcha when I go to create the app. It won't accept my input for the correct words. It keeps giving me an error.
Reply With Quote
  #23  
Old 04-28-2011, 08:24 PM
HellRZR HellRZR is offline
 
Join Date: Feb 2011
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds great, marked as installed, thanks.
Reply With Quote
  #24  
Old 04-28-2011, 08:32 PM
HellRZR HellRZR is offline
 
Join Date: Feb 2011
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tested this, doesnt work for me. used my wife account which she uses her real name and no username on facebook and it created a VB user with her real name. I installed the XML file as indicated, did I miss something? BTW running VB 4.1.3.
Reply With Quote
  #25  
Old 04-28-2011, 09:51 PM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BigDog007 View Post
Everyone has a Facebook Username.. Your right shawn 100%
wrong you only have a facebook username if your facebook account is confirmed via telephone. i just opened 50 of my facebook friends to test it, and only 13 of them had a facebook username.
Reply With Quote
  #26  
Old 04-28-2011, 10:33 PM
HellRZR HellRZR is offline
 
Join Date: Feb 2011
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wordplay View Post
wrong you only have a facebook username if your facebook account is confirmed via telephone. i just opened 50 of my facebook friends to test it, and only 13 of them had a facebook username.
I think wordplay is right,

I tested as follows. Using again my wifes account I created her a username in FB (account not confirmed via telephone). I then deleted her from my VB users and then tired to register her again using FB connect and once again it created a VB user using her real name.

So it didnt pickup the FB username, nor did it give me an option to change username on VB.
Reply With Quote
  #27  
Old 04-29-2011, 12:51 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want the user to be able to optionally pick/override their username, you would set the AdminCP -> Settings -> Options -> Facebook Options -> Enable Auto-Register option to "No".
Reply With Quote
  #28  
Old 04-29-2011, 02:10 AM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, I should have been more specific... it will only use the Facebook username if they HAVE a Facebook username. If they don't, it will stick to what vBulletin uses by default (their real name).
Reply With Quote
  #29  
Old 04-29-2011, 12:39 PM
HellRZR HellRZR is offline
 
Join Date: Feb 2011
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you use on your site may I ask? do you have auto-resister set to Yes or No?
Reply With Quote
  #30  
Old 04-29-2011, 05:28 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We don't auto register.
Reply With Quote
  #31  
Old 05-04-2011, 06:44 PM
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Location: California
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this plugin but it doesn't seem to be working for me. Since installing it yesterday, I've had about 20 registrations from facebook, and each of them still have their first and last name as their username. I think it would be kind of unlikely that out of 20ish people, none of them would be using a username. Any ideas?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:21 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
  • Page Generation 0.07531 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete