Viewing 15 replies - 31 through 45 (of 49 total)
  • If we change the field “gear_isDone” to “gear_inUse” we could use this directly to select items that should be shown (we just need the opposite value of what we have currently).

    Im not sure if I understand this…

    Should we add a new field there is the oposite value of the gear_isDone?

    Else we could create

    If gear_idDone = '0' {
    blabla 1;
     } else {
    blabla 2;
    }

    Thread Starter TheRealEyeless

    (@therealeyeless)

    I mean no additional field, a field called “gear_inUse” instead of the one “gear_idDone”, since the it would be possible to use it directly for the visibility in the metabox without any line of source code for interpretation.
    Surely an If-clause would be a soulution but otherwise you can directly just check the value in the DB and if it’s 1 it is shown in the metabox and if its 0 its not shown.
    Is it clear what I mean ?!

    I just think it’s easier and much faster this way ??

    Cheers Eyeless

    Well, Are you able to make the changes?

    I have uploaded a new meta_box-file – I also have problems related to that one :S

    It will not store data in the field….

    Im sorry but Im a little helpless…. :S

    Thread Starter TheRealEyeless

    (@therealeyeless)

    I will have a look at it and also to the new meta_box, but till the evening I don’t have access to my development enviroment (and don’t want to setup an apache on my netbook ?? )

    But I will have a look or two ??

    Cheers Eyeless

    Thank you…

    I only have a notebook/laptop…

    Thread Starter TheRealEyeless

    (@therealeyeless)

    Hehe, I’ve got a desktop pc and a 9″ netbook with a celeron core. On the netbook it takes about one minute to start firefox so I don’t try to start an apache server. My “dev. enviroment” is my desktop since it does not stand still if I start an apache …
    So if you’va got a laptop it might be that you have much more computation power than I have ??

    Cheers Eyeless

    Thread Starter TheRealEyeless

    (@therealeyeless)

    ok, the feature with the select box is nice, also the header styling for items!

    I adapted that for Temperature, hope you like it (and you aren’t angry since I used your idea too).

    From now on I am working on this construction site, but for today its enough I have to go to bed ??

    Cheers Eyeless

    Its GPL, so feel free to use ??

    construction site?

    Thread Starter TheRealEyeless

    (@therealeyeless)

    in german you can say construction site for something big to do and I’d like to help you here ??

    Cheers Eyeless

    Ahahah – sry my german is a little rusty… ??

    Thread Starter TheRealEyeless

    (@therealeyeless)

    sry for being offline the last two evenings, had way to much to do at work …

    Ahahah – sry my german is a little rusty… ??

    In german it would be something like “Baustelle”, I just translated it to english and hoped that it would keep its intention ??

    @GearPicture: Wouldn’t it be possible to upload the picture via the media uploader of wp and just copy the URL from this media uploader into the table? So I mean that you upload it seperated from the geartable since there shouldn’t be too much pictures?

    Cheers Eyeless

    Not a problem – this is a spare time project ??

    Well, the problem is not the gear image upload. I think it is handled quite well at the moment. The problem is it will not store the path to image (the $image varible) and I cant figure out why? The path to the image is automaticlly inserted into the formular.

    At the moment my idea is there only should be support of one image and the problem is to store the path in gear_image using $image …

    Does it make sence? Or?

    Thread Starter TheRealEyeless

    (@therealeyeless)

    Well how do you insert the path to the file via the formula, since, I can’t work it out. The only way I am able to insert a path ist to copy it menually and insert it in the field.

    Will have a look at this later (and then why it’s not working ?? )

    Cheers Eyeless

    Hey,

    I do it this way:

    1. go to gear manager
    2. add a new gear item
    3. In “upload image” fields press “Upload image”
    4. The media library opens
    5. either upload a new image from your computur or use one of the images in your media library
    6. Find your image and press “Show”
    7. Then press “insert into post”
    8. Now you see the path to the shown image in the path field eg like in my case: https://localhost/wordpress/wp-content/uploads/2010/08/runners-log-graph-150×150.png

    The problem is when you press “Add item” the path is not stored in the database and the field is therefor empty….

    Thread Starter TheRealEyeless

    (@therealeyeless)

    ok, since we used IRC this worked out quite well.

    Unfortunately there were some problems with the planning of our vacation, so we have to strat travelling today instead of tomorrow. See you in about one and half week! ??

    Cheers Eyeless

Viewing 15 replies - 31 through 45 (of 49 total)
  • The topic ‘[Plugin: Runners Log] Running gear statistics’ is closed to new replies.