vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point Better Facebook Registration (https://vborg.vbsupport.ru/showthread.php?t=262758)

digitalpoint 04-27-2011 10:00 PM

Digital Point Better Facebook Registration
 
1 Attachment(s)
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.

rob01 04-27-2011 11:01 PM

but, if they don't have a username?

BigDog007 04-27-2011 11:11 PM

Thanks Shawn nice mod.. Like your Forum too have learned alot.. Visit daily

digitalpoint 04-27-2011 11:17 PM

Quote:

Originally Posted by rob01 (Post 2189464)
but, if they don't have a username?

Then it will simply let them pick one. Although, doesn't everyone have to have a Facebook username these days?

BigDog007 04-28-2011 01:08 AM

Everyone has a Facebook Username.. Your right shawn 100%

venom2124 04-28-2011 01:14 AM

Nice thanks.

Brandon Sheley 04-28-2011 02:31 AM

Nice mod

/me tags

Boofo 04-28-2011 04:01 AM

Quote:

Originally Posted by digitalpoint (Post 2189466)
Then it will simply let them pick one. Although, doesn't everyone have to have a Facebook username these days?

Quote:

Originally Posted by BigDog007 (Post 2189503)
Everyone has a Facebook Username.. Your right shawn 100%

Nope, not everyone. I don't have a facebook account and no desire to. Would this mod not work for my site then for the users?

0verl0rd 04-28-2011 05:01 AM

downloaded and installed thanks a lot!

Would you happen to share the twitter updates below the menu of your forum? I love the shadow effect and animation between replying to threads..

if not.. that's fine too.. I truly understand the feeling of being copied and it is very annoying.. :P

digitalpoint 04-28-2011 05:33 AM

Quote:

Originally Posted by Boofo (Post 2189547)
Nope, not everyone. I don't have a facebook account and no desire to. Would this mod not work for my site then for the users?

It will work fine... but it's only useful if you use Facebook Connect so users can register with their Facebook account. But since you would need a Facebook App ID in order to offer Facebook Connect, I assume you don't have one since it requires a Facebook account (which you don't have). :)

Quote:

Originally Posted by 0verl0rd (Post 2189556)
Would you happen to share the twitter updates below the menu of your forum? I love the shadow effect and animation between replying to threads..

if not.. that's fine too.. I truly understand the feeling of being copied and it is very annoying.. :P

Maybe someday... it's not really a standalone system currently. It's pretty tightly wound into our other systems (for example when someone adds/removed premium membership, it has to trigger related actions for adding/deleting those people's Twitter accounts and so forth)... Not a big priority to spend a ton of time so others can have it for free to be honest when all the extra work isn't something I would be using myself. :)


All times are GMT. The time now is 10:06 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.01218 seconds
  • Memory Usage 1,736KB
  • 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
  • (5)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