Search found 14 matches

by undergrid
21 Jun 2006, 17:08
Forum: Help
Topic: Help! Manage Custom Fields Bug
Replies: 2
Views: 3409

You should just be able to put the values you want to use in the possible values field seperated by a | (pipe) character.

For Example:

Code: Select all

Option 1|Option 2|Option 2
by undergrid
21 Jun 2006, 17:01
Forum: Help
Topic: Creating and assigning a password for User
Replies: 1
Views: 3169

By default the new user is emailed a link to follow to set his (or her) own password. That does require email to be working and an email address to be specified though.
by undergrid
16 Jun 2006, 08:20
Forum: Customizations
Topic: Customize a custom field using a date attribute
Replies: 2
Views: 6910

Hi there,

The custom date controls use the format defined in the g_short_date_format configuration option. To change it as you require it, add the following to your config_inc.php


$g_short_date_format = 'd-M-Y';


Note that this will change all dates currently in the M-d-Y format to d-M-Y.

To ...
by undergrid
20 Mar 2005, 22:19
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

Sorry for the delay in replying, I've been somewhat busy at work.

Yes GenlyAi, your fix is correct, I've uploaded patches for both cvs head and 0.19.2 (with date custom field patch) under bug #5056.
by undergrid
07 Mar 2005, 19:32
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

A new patch has been attached to #5056.
by undergrid
03 Mar 2005, 19:20
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

Right now I'm using a simple year-year format (eg 1990-2010), for a full date I was considering using strtotime to do all the hard work, just have something like:

<date> | <date>

Where <date> is a format accepted by strtotime.
by undergrid
03 Mar 2005, 00:03
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

I've got changes already that allow you to specifiy a year range (ie 1990 to 2010), would this suffice or would you prefer a date specification that includes day and month?
by undergrid
28 Feb 2005, 12:10
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

Actually forget that first query, I think I see where the problem is but its with the After search rather then the On or After. Theres an additional +1 near the end of the following line (around line 572 in filters_api.php, in the CUSTOM_FIELD_DATE_AFTER clause of the switch).


$t_custom_where ...
by undergrid
26 Feb 2005, 14:56
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

Guess what I forgot to do.... I've checked the remember me box this time :)
by undergrid
25 Feb 2005, 22:43
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

Don't know how I managed to get an old config_defaults in there..

Anyway I've just uploaded a zip to #5056 that contains both a context diff of the changes plus complete copies of the files I modified, its also got a few fixes for things I came accross today. I've checked this set of files three ...
by undergrid
25 Feb 2005, 14:49
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

^^ forgot to log in again.
by undergrid
25 Feb 2005, 13:04
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

I downloaded the zip file, but I am unable to extract it. It seems to be corrupt.

Regards,
Victor
http://www.futureware.biz

Yeah, looks like the upload got cut off before it was complete, no idea why. I've re-uploaded the file and it should be fine now, you may need to clear your browser cache ...
by undergrid
25 Feb 2005, 12:39
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

Theres a bug in the diff patch whereby date pre 09-09-2001 (ish) can be incorrectly included in filtered results (earlier dates have a lower number of digits when the number of seconds since 1970 is stored in a string, adding 0 to the value before doing the comparison forces SQL to evaluate the ...
by undergrid
25 Feb 2005, 01:01
Forum: Customizations
Topic: Date Custom Fields patch.
Replies: 21
Views: 43717

Date Custom Fields patch.

I've recently had the need to create a date custom field that allows proper filtering (between date, before date, after date etc) and I've seen issues in bugs.mantis.org requesting the same sort of thing (#5056 and #4935 for example) so I've had a go.

The following patch is a first pass at ...