Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #11183 > unrolled thread

Looking for a Monday-Friday J/S

Started bydennism3@dennism3.invalid (Dennis M)
First post2012-02-03 20:54 -0600
Last post2012-02-07 05:18 -0800
Articles 4 on this page of 24 — 11 participants

Back to article view | Back to comp.lang.javascript


Contents

  Looking for a Monday-Friday J/S dennism3@dennism3.invalid (Dennis M) - 2012-02-03 20:54 -0600
    Re: Looking for a Monday-Friday J/S Jeff North <jnorthau@yahoo.com.au> - 2012-02-04 14:58 +1100
      Re: Looking for a Monday-Friday J/S dennism3@dennism3.invalid (Dennis M) - 2012-02-03 22:33 -0600
        Re: Looking for a Monday-Friday J/S Swifty <steve.j.swift@gmail.com> - 2012-02-04 08:56 +0000
          Re: Looking for a Monday-Friday J/S "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-04 09:11 +0000
            Re: Looking for a Monday-Friday J/S Dr J R Stockton <reply1205@merlyn.demon.co.uk> - 2012-02-05 17:50 +0000
              Re: Looking for a Monday-Friday J/S "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-06 11:22 +0000
                Re: Looking for a Monday-Friday J/S Dr J R Stockton <reply1206@merlyn.demon.co.uk> - 2012-02-07 22:17 +0000
                  Re: Looking for a Monday-Friday J/S "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-08 08:56 +0000
                    Re: Looking for a Monday-Friday J/S Gene Wirchenko <genew@ocis.net> - 2012-02-08 09:22 -0800
                      Re: Looking for a Monday-Friday J/S "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-09 16:49 +0000
                    Re: Looking for a Monday-Friday J/S Dr J R Stockton <reply1206@merlyn.demon.co.uk> - 2012-02-09 18:53 +0000
                      Re: Looking for a Monday-Friday J/S "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-10 08:13 +0000
                        Re: Looking for a Monday-Friday J/S Dr J R Stockton <reply1206@merlyn.demon.co.uk> - 2012-02-11 23:12 +0000
                      Re: Looking for a Monday-Friday J/S John G Harris <john@nospam.demon.co.uk> - 2012-02-10 16:02 +0000
                        Re: Looking for a Monday-Friday J/S Dr J R Stockton <reply1206@merlyn.demon.co.uk> - 2012-02-11 23:24 +0000
          Re: Looking for a Monday-Friday J/S Andrew Poulos <ap_prog@hotmail.com> - 2012-02-04 20:13 +1100
            Re: Looking for a Monday-Friday J/S Swifty <steve.j.swift@gmail.com> - 2012-02-05 10:01 +0000
              Re: Looking for a Monday-Friday J/S Andrew Poulos <ap_prog@hotmail.com> - 2012-02-06 08:00 +1100
                Re: Looking for a Monday-Friday J/S Swifty <steve.j.swift@gmail.com> - 2012-02-06 12:20 +0000
          Re: Looking for a Monday-Friday J/S dennism3@dennism3.invalid (Dennis M) - 2012-02-07 01:05 -0600
      Re: Looking for a Monday-Friday J/S Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-04 14:02 +0100
    Re: Looking for a Monday-Friday J/S Dr J R Stockton <reply1205@merlyn.demon.co.uk> - 2012-02-05 17:41 +0000
    Re: Looking for a Monday-Friday J/S Captain Paralytic <paul_lautman@yahoo.com> - 2012-02-07 05:18 -0800

Page 2 of 2 — ← Prev page 1 [2]


#11430

Fromdennism3@dennism3.invalid (Dennis M)
Date2012-02-07 01:05 -0600
Message-ID<dennism3-ya02408000R0702120105520001@news.datemas.de>
In reply to#11186
In article <gdspi7d1fnt81q2ohupeumu6vjjj6erefg@4ax.com>, Swifty
<steve.j.swift@gmail.com> wrote:

>On Fri, 03 Feb 2012 22:33:02 -0600, dennism3@dennism3.invalid (Dennis
>M) wrote:
>
>>Yeah I'm fully aware of that. I was counting on people not wanting to make
>>the effort to turn off JS if they can come back in a day or two and submit.
>
>Depending on your audience, you could suppress the submission by
>default and enable it with JavaScript Mon-Fri.
>
>This would eliminate cheating, at the risk of alienating people who
>run with JavaScript off. 
>
>The people who routinely turn JavaScript off is one of the worlds
>smallest minorities, so it will probably be a few years before
>disenfranchising them becomes a crime.

I was thinking even better than restricting submissions to M-F is get the
script to only accept the, say, first 20 entries for any 24 hr. time
period, then put up some kind of notice saying the limit has been reached.
Of course that's not a job for javascript.

I'm afraid it's starting to get so many submissions each day that I'm going
to have to take it down because I always have a certain percentage of
dummies who pick the wrong category for their submission and/or try to
stuff the title with too many keywords and I have to fix that.

The site is running an older version (2.2.0) of PHP Link Directory if
anyone happens to have any knowledge of it.

[toc] | [prev] | [next] | [standalone]


#11191

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-02-04 14:02 +0100
Message-ID<2260195.FRqVoOGUtd@PointedEars.de>
In reply to#11184
Jeff North wrote:

> (Dennis M) wrote:
>>| One of my sites is a free link directory that's becoming increasingly
>>| popular and so it doesn't drive me crazy approving new submissions I was
>>| wanting to install a javascript on the link submission page that would
>>| load that page on Monday through Friday, then on the weekends load a
>>| page where I could say I "only accept new submissions M-F." Anybody?
>>| Looked around on a well known javascript site but couldn't find what I
>>| want to do.
> 
> Bad idea. If the visitor has javascript turned off then your script
> will not work.

ACK.

> Is the Mon-Fri your time, the ISP time? I'm in Australia so on *my*
> Monday I still wouldn't be able make a submission.

No, you would, because client-side scripts by default use your system-local 
time, and _not_ that of the server.  You would not be able to submit if this 
was done on the server or the server time was used by the client-side 
script, and it was still Sunday there, but not at your location.

Since the author's local time, the server's local time, and the visitor's 
local time may all be different, it appears to be a good idea to settle on 
UTC.

> But if you insist. Have a look at the Date object and getDay().
> 
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/getDay

That would be 

<https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/getUTCDay>

then.
 

PointedEars
-- 
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee

[toc] | [prev] | [next] | [standalone]


#11201

FromDr J R Stockton <reply1205@merlyn.demon.co.uk>
Date2012-02-05 17:41 +0000
Message-ID<JLtdr9Ji9rLPFwO5@invalid.uk.co.demon.merlyn.invalid>
In reply to#11183
In comp.lang.javascript message <dennism3-ya02408000R0302122054100001@ne
ws.datemas.de>, Fri, 3 Feb 2012 20:54:10, Dennis M
<dennism3@dennism3.invalid> posted:

>One of my sites is a free link directory that's becoming increasingly
>popular and so it doesn't drive me crazy approving new submissions I was
>wanting to install a javascript on the link submission page that would load
>that page on Monday through Friday, then on the weekends load a page where
>I could say I "only accept new submissions M-F." Anybody? Looked around on
>a well known javascript site but couldn't find what I want to do.


The appropriate way to do it would be to put a sufficiently conspicuous
statement on the page stating, in GMT, what your working hours and days
actually are in a normal week, with a nearby site that shows your local
holidays and another for any holidays peculiar to any faith that you
might have.

None of that will actually help you very much, however, because many of
those who wanted to submit on Saturday or Sunday will all do so early on
Monday, and some of the rest will be lost users.

Just say that you work Monday to Friday, except for the usual
Potarneyland holidays, and submissions will be considered in order of
receipt.  Don't be a control freak,  Bung Ho!, etc.

-- 
 (c) John Stockton, nr London, UK.    ?@merlyn.demon.co.uk     Turnpike v6.05.
 Website  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

[toc] | [prev] | [next] | [standalone]


#11442

FromCaptain Paralytic <paul_lautman@yahoo.com>
Date2012-02-07 05:18 -0800
Message-ID<d48691f4-8927-4511-a801-389eb1268577@o13g2000vbf.googlegroups.com>
In reply to#11183
On Feb 4, 2:54 am, denni...@dennism3.invalid (Dennis M) wrote:
> One of my sites is a free link directory that's becoming increasingly
> popular and so it doesn't drive me crazy approving new submissions I was
> wanting to install a javascript on the link submission page that would load
> that page on Monday through Friday, then on the weekends load a page where
> I could say I "only accept new submissions M-F." Anybody? Looked around on
> a well known javascript site but couldn't find what I want to do.

Sorry that by replying to this, the data in your post will end up
getting archived!

Will doing this really help? Surely one of 2 things will happen:
1) All the folks who couldn't register over the weekend will register
on Monday (or at least in the following week) so you'll just have
loads more to do the.
2) They will go away and not register at all.

If (1) was to happen, is there any difference between that and simply
approving the ones submitted at the weekend throughout the following
week? If you just state on the site that approvals may take up to a
week then folks know what to expect.

If (2) was to happen then you might as well just switch off
registrations.

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.javascript


csiph-web