Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2014, 09:13 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Time zone viewer restriction

A while back I used an add on that let me restrict certain time zones from viewing my site. I've done several searches on this site trying to locate it but nothing like I ran is showing up.

Anyone know the add on I'm speaking of?
Reply With Quote
  #2  
Old 01-27-2014, 09:54 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the idea about this?

You can easily check a users timeoffset in the user array and then do a print_no_permission() but that seems like it'd be complicated. What if a user goofs and sets it accidently, what would you want to do?
Reply With Quote
  #3  
Old 01-27-2014, 10:17 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
What is the idea about this?

You can easily check a users timeoffset in the user array and then do a print_no_permission() but that seems like it'd be complicated. What if a user goofs and sets it accidently, what would you want to do?
It allowed me to exclude any time zone other than those in the USA. I don't want any foreign viewers/members.
Reply With Quote
  #4  
Old 01-27-2014, 10:30 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No it doesn't. -4 to -10 includes a lot of timezones in North, Central, and Southern America.

What if someone is from the USA but wants to contribute but now lives in UK/Euro Land? What if someone prefers that their times display in GMT0 (for whatever reason).

What if someone makes a mistake, how are you going to handl that? If you let them change their profile to update their timezone, your entire plan is a bit silly, since they could just keep trying timezones until it works.
Reply With Quote
  #5  
Old 01-27-2014, 10:49 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
No it doesn't. -4 to -10 includes a lot of timezones in North, Central, and Southern America.

What if someone is from the USA but wants to contribute but now lives in UK/Euro Land? What if someone prefers that their times display in GMT0 (for whatever reason).

What if someone makes a mistake, how are you going to handl that? If you let them change their profile to update their timezone, your entire plan is a bit silly, since they could just keep trying timezones until it works.
I'm aware that the USA's time zones are not inclusive to our borders. I don't care about whether they could just "keep trying timezones". At least it won't be as easy as it seems to be by using the system vb comes with. Those trying to gain membership on my site are all out of the timezones that are in the US.

BTW, I'm speaking of an add on that I got from this site. It worked for me then, it will work for me now. I'm just trying to locate it. I'm not open for discussion on whether or not it's a good idea. What's been proven good enough for me may make you think silly thoughts about me even caring about your opinion.

You took this post off topic. I would like to keep it on target.

Thanks you
Reply With Quote
  #6  
Old 01-27-2014, 10:53 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Might be what you're thinking of:

https://vborg.vbsupport.ru/showthread.php?t=141554
Reply With Quote
Благодарность от:
K4GAP
  #7  
Old 01-27-2014, 10:54 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, discussion of a modification, how it has ramifications to you/your community, and the potential that I'm already sitting on the code, and want you to understand how it would work is not ontopic? Okay then. Good luck.
Reply With Quote
  #8  
Old 01-27-2014, 10:57 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
Might be what you're thinking of:

https://vborg.vbsupport.ru/showthread.php?t=141554
That's it Max! Thanks so much. I was beginning to believe maybe I was in a bad dream
Reply With Quote
  #9  
Old 01-27-2014, 10:58 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
So, discussion of a modification, how it has ramifications to you/your community, and the potential that I'm already sitting on the code, and want you to understand how it would work is not ontopic? Okay then. Good luck.
I think he is looking to block registrations by time zone, to be able to disallow parts of the world where most spammers originate.

If I'm not too much mistaken.

Quote:
Originally Posted by GaryT View Post
That's it Max! Thanks so much. I was beginning to believe maybe I was in a bad dream
I dunno how this ports to vB 4, if at all. But it's the first one i thought of when i saw your post. I had tagged it previously, made it easy for me to go back to.
Reply With Quote
  #10  
Old 01-27-2014, 11:01 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Max Taxable View Post
I think he is looking to block registrations by time zone, to be able to disallow parts of the world where most spammers originate.

If I'm not too much mistaken.

I dunno how this ports to vB 4, if at all. But it's the first one i thought of when i saw your post. I had tagged it previously, made it easy for me to go back to.
Normally I will leave things marked as installed but, with the transition from the 3 series to the 4 series, I unchecked all the items I had for the old vb3 series.

--------------- Added [DATE]1390867967[/DATE] at [TIME]1390867967[/TIME] ---------------

Quote:
Originally Posted by Zachery View Post
No it doesn't. -4 to -10 includes a lot of timezones in North, Central, and Southern America.

What if someone is from the USA but wants to contribute but now lives in UK/Euro Land? What if someone prefers that their times display in GMT0 (for whatever reason).

What if someone makes a mistake, how are you going to handl that? If you let them change their profile to update their timezone, your entire plan is a bit silly, since they could just keep trying timezones until it works.
Wasn't "my" plan.
It's a mod that was submitted and that I used once and will use again.

I've got what I need now (Thanks to Max) and I consider this thread closed.
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 12:08 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.05849 seconds
  • Memory Usage 2,262KB
  • 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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete