Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 05-04-2011, 06:46 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet. Thanks!
Reply With Quote
  #33  
Old 05-04-2011, 07:03 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works as advertised for me.
Reply With Quote
  #34  
Old 05-04-2011, 11:26 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried with your own Facebook account by chance?
Reply With Quote
  #35  
Old 05-05-2011, 03:08 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey dp, do you have a branding free option for this? Or how can I remove the the copyright in the footer?
Reply With Quote
  #36  
Old 05-05-2011, 05:43 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should only be a copyright on the actual registration page, no?
Reply With Quote
  #37  
Old 05-06-2011, 02:43 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
It should only be a copyright on the actual registration page, no?
Correct
Reply With Quote
  #38  
Old 05-10-2011, 05:33 PM
MarceloS MarceloS is offline
 
Join Date: Aug 2008
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi DP. Nice mod! Does it make the system remember the user when he comes back to the forum?
Reply With Quote
  #39  
Old 06-16-2011, 03:29 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*installs*
Reply With Quote
  #40  
Old 07-14-2011, 10:03 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalpoint View Post
Then it will simply let them pick one. Although, doesn't everyone have to have a Facebook username these days?
I don't - I decided it would make me too easy to track down.

Anyway, what happens with me is my username gets entered as "profile.php"

Personally I'd like to see the username field blank by default - thus forcing the user to think.
Reply With Quote
  #41  
Old 07-15-2011, 08:17 PM
digitalpoint's Avatar
digitalpoint digitalpoint is offline
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moonclamp View Post
I don't - I decided it would make me too easy to track down.

Anyway, what happens with me is my username gets entered as "profile.php"

Personally I'd like to see the username field blank by default - thus forcing the user to think.
Strange... makes me think Facebook is giving an odd profile URL in your case for some reason. I just double checked it with my Facebook account, and it works as expected.

Could you create a plug-in at the register_form_complete hook location with the following code:
PHP Code:
print_r ($fb_userinfo); 
Then if you go to your registration page and use the Facebook connect, it will barf out the data we are getting from Facebook.

If you want to PM me that data, I could try to figure out what's going on with your FB account (and presumably some others)...

If you do, don't forget to disable the plug-in after you get the dump.
Reply With Quote
Reply


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 10:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13306 seconds
  • Memory Usage 2,334KB
  • 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
  • (1)bbcode_php
  • (3)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