zhengkk
V2EX  ›  问与答

限制注册满一定时间后才能发帖或者看帖是怎么做到的?

  •  
  •   zhengkk · May 5, 2023 · 2501 views
    This topic created in 1281 days ago, the information mentioned may be changed or developed.
    没错,我说的就是 V 站。
    9 replies  •  2023-05-07 02:23:53 +08:00
    LxExExl
    LxExExl
    May 5, 2023 via iPhone
    1
    if ($reg_time < SEC_IN_60_DAYS) {
    return false;
    }
    Lazycodingcat
    Lazycodingcat
    May 5, 2023
    2
    我看看我能回复了吗
    dingdh110
    dingdh110
    May 5, 2023
    3
    我看看我能回复了吗
    yinho
    yinho
    May 5, 2023
    4
    我看看我能回复了吗
    yuqiuqiu
    yuqiuqiu
    May 5, 2023
    5
    我看看我能回复了吗
    honus
    honus
    May 5, 2023
    6
    我看看我能回复了吗
    nothingistrue
    nothingistrue
    May 5, 2023
    7
    虽然 V 站是前端为主的程序员社区,但也还是程序员社区。这种简单的过滤行为的原理,不该成为问题。
    Haaaaaat
    Haaaaaat
    May 5, 2023
    8
    now - created_date >= 60
    MiketsuSmasher
    MiketsuSmasher
    May 7, 2023
    9
    你都能上 V 站了,写个具备这样功能的条件语句应该不难吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   944 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 19:38 · PVG 03:38 · LAX 11:38 · JFK 14:38
    ♥ Do have faith in what you're doing.