Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

[Solved] Date Field Type Shows Inconsistent Values


Taras Melnychenko
Posts: 2
Customer
Topic starter
(@taras-melnychenko)
Member
Joined: 2 months ago

We have discovered a very interesting bug that happens to a selected group of members. 

 

On My Account tab, when I change the date of birth field value, on the Profile tab it always displays 1 day earlier compared with the desired set date. When other registered users look at my profile, it shows the correct value.

 

We have tried removing the field and creating a new one, but it didn't help. Your help is highly appreciated.

 

InkedFireShot Capture 1142   starlite – Profile – Pernell Roberts Forum   pernelleroberts.net LI
InkedFireShot Capture 1143   starlite – Account – Pernell Roberts Forum   pernelleroberts.net LI
2 Replies
Kyle
Posts: 52
 Kyle
Moderator
(@kylew)
Trusted Member
Joined: 2 months ago

Hi @taras-melnychenko,

Please Follow these steps`

1. Go to wp-content\plugins\wpforo\wpf-includes

2. Open class-forms.php file

3. Find the below code and remove it

$f['value'] = wpforo_date($f['value'], 'date', false);

4. Save the PHP file

5. Clean your website cache and refresh the page in the browser by pressing 2 times Ctrl + F5.

1 Reply
Taras Melnychenko
Customer
(@taras-melnychenko)
Joined: 2 months ago

Member
Posts: 2

@kylew Perfect! It worked, thank you.

Share:
Scroll to top