rejetto forum

как дать доступ на 30 дней?

densio · 2 · 3279

0 Members and 1 Guest are viewing this topic.

Offline densio

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
как дать доступ юзеру на 30 дней?
тоисть помогите составить скрипт
типа того
если сегодня 30.12.2015 то юзер test = ban



Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Google translate englsih - O mesage:
how to give access to the user for 30 days?
toist help create a script
like that
If today is 12/30/2015 user test = ban
---------------------------------------------------------------
===================================
https://translate.google.com/

Его быстрее вручную отключить / удалить учетную запись после 30 дней ...
http://stackoverflow.com/questions/1985822/how-to-measure-code-execution-time-in-vbscript-or-javascript

Ну, я думаю лучше / СТС макро TPL пользователь программа для исправления / обновления кода, но вы должны будете установить счетчик.
Затем, когда день изменения, то есть в полночь нового дня .. или то, что вы ожидаете, ...
Объявление 1 до прилавка
когда счетчик парад 30, запрет пользователю ...

Вы можете связаться с нами VBS интегрированы и HTML шаблонов что-то вроде этого:

http://www.w3schools.com/vbscript/showasp.asp?filename=demo_vb_date

----------- то, что некоторые - не работает код (но структура там ...) ----------------------
то, что некоторые в в VBS (его было в то время ...):

автоматическое conutban interger

установить countban = 0
"нечто вроде этого ...
response.write ("Сегодняшняя дата" и Date ())
response.write ("<br>")
response.write ("время" и время ())

если response.write = 12:00, то countban +1

если countban = 30, то (СТС запрет пользователю ...)

и т.д. .. и т.п ...

===========================================

https://translate.google.com/

Its faster to manually disable/delete the account after 30 days...
http://stackoverflow.com/questions/1985822/how-to-measure-code-execution-time-in-vbscript-or-javascript

well, i expect a better/ macro hfs tpl program user to fix/ update the code, but you will have to set a counter.
then when the day changes ie midnight of new day.. or what time you expect...
ad 1 to the counter
when the counter hits 30, ban user...

you can us  vbs integrated in to HTML template something like this:

http://www.w3schools.com/vbscript/showasp.asp?filename=demo_vb_date

-----------some what - not working code (but structure is there...) ----------------------
some what in in vbs(its been a while...):

dim conutban interger

set countban = 0
'somethings like this...
response.write("Today's date is " & Date())
response.write("<br>")
response.write("The time is " & Time())

if response.write = 12:00  then countban +1

if countban = 30 then (hfs ban user...)

etc.. etc...
« Last Edit: April 08, 2015, 04:06:14 AM by bmartino1 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing