Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Dates in Profile

10 years 11 months ago
  • John's Avatar
    Topic Author
  • John
  • Offline
  • Fresh Boarder
  • Posts: 37
  • Thank you received: 1
Licenses:
JomSocial Expired

I have two related problems:
We use Date fields in our user profiles. Not just for birth but for other activities.

1. When we select a date from the calendar, it displays correctly. After a save, it changes to the preceding day. FYI, we are in the Pacific time zone. While we can trick it by entering the wrong date, that is not a solution for our general users

2. Other than using phpmyadmin, there seems to be no way to erase an accidentally entered date. Our users are not perfect; sometimes they type or enter in the wrong field. We ust have the ability to either select and Delete or have an option on the calendar

10 years 11 months ago
Licenses:

Hi, John.

You're using outdated version of JomSocial. Current version is: 3.2.0.5

1. We was writing about it on our blog: www.jomsocial.com/blog/3-1-0-2-hot-fix-and-bugs-that-are-not

Calendar miss by one day ahead or before. In a highly unlikely event that you expierence issue which will manifest as "one day wrong" date after saving the calendar field, please use your favorite editor to open the following file:

ROOT/components/com_community/libraries/fields/date.php and look for this line

$html .= "dateFormat: 'yy-mm-dd',n";

and replace it with

$html .= "dateFormat: 'yy/mm/dd',n"

Oddly, we did tried to implement this fix into the release, but on every development server of ours it completely breaks the calendar functionality. On the other side, on a sites where the issue happens, seems like the change do the job. These sites are however, very rare and we believe that this issue is actually raised by wrongly configured servers which for whatever reason, do not support yy-mm-dd format.

2. I can't confirm that. I was able to change date in both front- and backend.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 10 months ago
  • John's Avatar
    Topic Author
  • John
  • Offline
  • Fresh Boarder
  • Posts: 37
  • Thank you received: 1
Licenses:
JomSocial Expired

1. I updated to 3.2.0.5. Note that Joomla 2.5.20 said it was already up to date and clicking on the update in the JomSocial backend did nothing. I applied your hack. EVERY DATE in JomSocial was deleted. This will cost me many hours of work to repair. I am angry. Are these things tested? In addition, after I applied the fix, Every time I saved the profile it cleared the date. I have backed out the "fix" but now must try to recover the data.

2. Please read my post again. The problem is no way to erase an accidentally entered date. Erase: delete, get rid of, clear, purge .... Our users make mistakes and staff does not have time to use phpmyadmin to clear a field. Of course we can change a date (althouogh off by one day) but we can't CLEAR it

10 years 10 months ago
  • John's Avatar
    Topic Author
  • John
  • Offline
  • Fresh Boarder
  • Posts: 37
  • Thank you received: 1
Licenses:
JomSocial Expired

Quick update - after recovering the dates to be fixed, I find that they weren't actually deleted - just displayed as a blank field. So, please downgrade my very angry to rather displeased.

10 years 10 months ago
Licenses:

Hi, John.

1. So this fix works for you or not?

2. No, you can't ERASE date to make field EMPTY in front- or backend.
Is it really necessary to ERASE field? Users can correct wrong entry... or this field is not editable for users? Well, if so then only PHPmyAdmin remains.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 10 months ago
  • John's Avatar
    Topic Author
  • John
  • Offline
  • Fresh Boarder
  • Posts: 37
  • Thank you received: 1
Licenses:
JomSocial Expired

I do not see my last post although it is 'Pending Support'. To repeat

1. NO it is not fixed. The 'fix' hid all my dates. When I entered a date using the calendar it showed correctly but when I SAVE'ed. the field was clear.

2. YES - It is really necessary to be able to clear a date. Ou r user's sometimes enter the wrong field. Having our non-technical staff need to learn and use phpmyadmin (which is dangerous!) is NOT and acceptable solution

10 years 10 months ago
Licenses:

Hi, John.

1. Ok, please, apply fix and let me know. I'll investigate why dates are hidden.

2. Only solution for this is to request a feature here: uservoice.jomsocial.com/forums/101561-feature-request or here: www.jomsocial.com/community/groups/viewg...stions-for-the-staff


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW