zhengkk
V2EX  ›  问与答

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

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