I'm retired and started designing websites for charities (as a hobby) which in turn has led me to accumulate 5 paying clients which brings in around £100 a month (in hosting fees) and an additional £100 a month in tweaks/changes. Over the 2 years I've done it, the mini-business has brought in just shy of £15,000 of design work.
I'm allowing my users to enter an article link/URL in a project/link field. A lot of the links are coming from social media. When they copy and paste a URL that they have followed from FB, for example, it has extended URL data attached to it.
I am in need of some real help - there must have been an automatic update because the owner of the site and I are positive we were not in the site, and the site is down - i've spent days trying to figure it our, but I am sooooo not drupal literate!
we have php 7.1, we have drupal 7.69,
I have a computed field for a user add or edit form.
How can I check if the user is adding or editing the user, with php code? I need that the calculate composed field of user's form only when it is been added, but not when it's editing.