View Full Version : Disallow Registrations, Allow only Facebook
TheAdminMarket
11-09-2014, 02:23 PM
Hello,
To avoid start modifying (maybe a dozen of) files, I want to know if there is a setting to disallow normal registrations and allow registrations only by using Facebook connect.
I know that it sounds incredible (maybe idiot) but the site should be very sensitive on rude discussions (it's about Politics) and I want to avoid such posts from users being hidden behind a username. Also 95+% of the potentials members are well known that they've Facebook account.
Thank you
Hmm I think you can do this in the register_addmember_process hook and by doing something like:
if(!is_facebookenabled() || (!vB_Facebook::instance()->userIsLoggedIn())){
standard_error(fetch_error('your_only_fb_registrat ions_phrase'));
}
There may be better ways, but this came up when I looked at the register.php code.
My personal opinion about the idea of only allowing FB registrations is kind of stupid, you will receive less registrations since forums are kinda meant to post things under an "anonymous" name.
You could just make it so that only people who made a forum account with their FB account can post in certain forums/threads.
TheAdminMarket
11-09-2014, 03:39 PM
Thank you for your suggestion. I'll give it a try.
As for the "stupid", I already called it before "idiot" :) . But is a special case. We don't want lots of users. In real, even with Facebook, if someone register and we don't know him/her, we'll ban him.
It will be the official site of the Municipality in our town (~10.000 citizens) and our Mayor wants a clean discussions for social and anyother type of problems in our area.
Thank you again.
TheAdminMarket
11-17-2014, 07:14 AM
Finally, by accident, I found a way to do it. Turning off site registrations does not allows new registrations, but FB connect allows them.
ForceHSS
11-17-2014, 07:57 AM
fb reg bypasses all spam settings one reason I dont use
TheAdminMarket
11-17-2014, 08:49 AM
fb reg bypasses all spam settings one reason I dont use
Facebook has much more stronger anti-spam system. In my first post I called this client's request "idiot", but seems that I'll use it even in my own site.
ForceHSS
11-17-2014, 09:03 AM
Facebook has much more stronger anti-spam system. In my first post I called this client's request "idiot", but seems that I'll use it even in my own site.
it bypasses many things one reason why I dont allow reg from fb
TheAdminMarket
11-17-2014, 09:12 AM
it bypasses many things one reason why I dont allow reg from fb
For this, I totally agree. Even by passing the forum rules is a big minus.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.