vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Disallow Registrations, Allow only Facebook (https://vborg.vbsupport.ru/showthread.php?t=315336)

TheAdminMarket 11-09-2014 02:23 PM

Disallow Registrations, Allow only Facebook
 
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

Dave 11-09-2014 02:32 PM

Hmm I think you can do this in the register_addmember_process hook and by doing something like:

PHP Code:

if(!is_facebookenabled() || (!vB_Facebook::instance()->userIsLoggedIn())){
   
standard_error(fetch_error('your_only_fb_registrations_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

Quote:

Originally Posted by ForceHSS (Post 2523079)
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

Quote:

Originally Posted by NickTheGreek (Post 2523081)
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

Quote:

Originally Posted by ForceHSS (Post 2523083)
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.


All times are GMT. The time now is 02:48 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.01166 seconds
  • Memory Usage 1,724KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete