+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Count of properties, new properties

  1. #11
    Join Date
    Jul 2005
    Posts
    159

    Default Re: Count of properties, new properties

    Reference to earlier questions about sharing, I'm afraid I don't actually have any working SW to share.

    The problem is that I use CSVLoader to add properties, and CSVLoader first purges the data and then adds the data. Without going into a long explanation, this means that if I have 100 properties and add 10, the SW tells me I have 110 new rather than 10 new.

    I'm working on this with my programmer and will be contacting the CSVLoader prime this week to discuss approaches. After that, if my programmer agrees, I will be happy to share (I have to ask my programmer if I've purchased right to use or right to use and right to distribute; a point which I didn't think to ask when I commissioned the work but will keep in mind for future).

    As this is slightly down the list of priorities, expect will be another week or two before sorted. I'll post later but wanted to respond now so noone would think I was ignoring earlier posts.

    regards,
    Doug

  2. #12
    Join Date
    Jul 2005
    Posts
    159

    Default Re: Count of properties, new properties

    I've spoken to the programmer reference this code. There are several scenarios:
    - I installed OR in a sub-directory. The code he wrote for me runs on a non-OR web site, to pull and display OR statistics (e.g. number of properties, number of new properties, etc.).
    - He says that the code could be used on a OR site, but if it is being put on an OR site then there is a more elegant solution. My code is more complicated than otherwise necessary because it is not running within OR as such.
    - If people are interested, he could also develop an ADDON version. Obviously this is better as one doesn't have to worry about overwritting the code when updating OR to the next release.
    Last edited by the_sandking; 01-12-2006 at 06:06 PM.

  3. #13
    Join Date
    Jul 2005
    Posts
    159

    Default Here is the code

    Code to do property counts (total, added-this-month, added-this-week, added-today) attached.

    Let me know if you have any problems.
    Attached Files

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts