Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 10-10-2014, 02:16 PM
DreadsUK's Avatar
DreadsUK DreadsUK is offline
 
Join Date: Jan 2014
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Male or Female only forums

in every community there are both men and women, connection grows and they start to take interest in one another.

I want to create a space on our forum for men only and women only discussion so the girls can get together and chat with the girls and vice versa.

How would i do this?

I have added male or female in the profile details for each member already.... i'd ideally like the forums and its posts to only be seen and available to each gender...

Which one of you awesome sexy dorks knows how??

im afraid my dork level is embarrassingly low! Ha
Reply With Quote
  #2  
Old 10-10-2014, 04:23 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At the risk of being labeled an "awesome sexy dork" I will point out the obvious - there is no way you will know for certain if a member is male or female unless you met them in person so what's the point in trying to design a gender restricted forum?
Reply With Quote
Благодарность от:
tbworld
  #3  
Old 10-10-2014, 04:43 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And in case what Disco_Stu said is not a problem, you could simply deny or grant access based on the gender field of the user, would be a matter of a few if statements and displaying an error message.
Reply With Quote
  #4  
Old 10-10-2014, 04:53 PM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the best solution is to add 2 usergroups. One for Males and the other for Females. With a help of a simple script you can add each member to corresponding usergroup. Then just use the forum permissions to restrict access to those usergroups depending on their gender.
Reply With Quote
  #5  
Old 10-10-2014, 05:10 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best you can do is use social media for registration. One of my boards uses 'Facebook' only registration, it is the type of board that people do not mind this kind of registration style. This will not work for the average board, but maybe yours fits the category. You should also know that the Facebook login in vbulletin will no longer function after December 21, 2014, unless it is updated to the new API.

Of course you cannot beat a "sexy awesome dork --- @disco_stu" if he signs up at Facebook as an alternate gender.
Reply With Quote
  #6  
Old 10-10-2014, 05:15 PM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@tbworld
At April 30th, 2015 Facebook will stops offering automatic registration/login for any third party script (or service).
Reply With Quote
  #7  
Old 10-10-2014, 05:35 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks @NickTheGreek, I will have to look into that. Thanks for the heads up.

I see that I have the API change-over date incorrect, but I do not see a notice for the deprecation of facebook log-in. If you have a reference, I would appreciate it.

https://developers.facebook.com/docs/apps/changelog

I do not see the deprecation of the service, just the current changes.

https://developers.facebook.com/docs...ook-login/v2.1

I have already designed new IOS and android apps for the new API login, so I know that is being continued. My interest/question is only for the desktop/web APP process.

--------------- Added 10 Oct 2014 at 11:50 ---------------

Update ---

https://developers.facebook.com/docs...w-for-web/v2.1

Doesn't appear that Facebook web log-in is being deprecated, but I will continue to look into the matter.
Reply With Quote
  #8  
Old 10-10-2014, 05:54 PM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@tbworld
I don't remember if I read it somewhere out (eg at admin-talk.com) or at the developers.facebook.com or maybe at Envato marketplace forums. There is no explanation. Simple announcement that auto registration/login will stops works after that date.

Just see the "trick" (in other words: bring more traffic to FB). Applications that can work as FB tab applications will continue having this feature. But ONLY if the request is made under FB shell. So vB facebook application will continue works, but only if the user tries to register and/or login from the FB tab application.

Once more FB stops all suddently valuable services. The same happen when they were offering free SSL hosting for FB applications. Now ... nothing. You must buy SSL for your domain to be able to run a FB application.

I'll try to find the link. As for the new API I need to read what changes they did as I've a Forum Application for FB (Tab application) and I must change the code. Hope that they will not have other idiot changes like the last time that they changed the Gender from number to string.

A big change that I noticed is that $facebook->getUser(); does not returns your personal account but the current account (in case that you're logon as page's admin).
Reply With Quote
  #9  
Old 10-10-2014, 06:20 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you @NickTheGreek, I will continue to look into this and touch base with you. I have an update scheduled to handle the new AP starting next month and just assumed (because of the mobile APPS) it was going to be a "major" issue, but not a insurmountable one -- just the normal Facebook crap (sorry for explicative).

You are right about how "Facebook" operates.

Thanks again.

In three weeks I will have to deal with this mess for work, by that time I will have sorted out the details.

PS: I have a few questions on your Article that you graciously wrote. I did not want to post it in your article thread as I thought it might distract from your article. So with your permission I would like to PM you.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:28 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.04341 seconds
  • Memory Usage 2,238KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete