vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328466

JavaScript
by Hostboard
27 Dec 2020 14:22

I am trying to modify:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To output: January 1, 2020

I'm pretty sure the variables I need are: today.getMonth () and today.getDate()

I just can't seem to get the syntax correct...

shka 27 Dec 2020 16:59

You don't need <script type="text/javascript">, <script> is ok.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But better this way


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Examples https://developer.mozilla.org/en-US/...caleDateString


All times are GMT. The time now is 08:34.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.