Results 1 to 4 of 4

Thread: STRANGE BUG - ADS DAYS LEFT ....

  1. #1
    Thread Starter
    anunturitop_ro's Avatar
    Join Date
    May 2009
    Location
    Romania
    Posts
    69
    Thanks
    0
    Thanked 1 Time in 1 Post

    STRANGE BUG - ADS DAYS LEFT ....

    Hello,

    I have a problem .. I chosed 60 days for any ads posted to the site, but when i click to see ads details insted of 60 days it show me 14409 days, 24 hours to all ads...


    Where can be the problem ???

    Where to find the code for this error ? In post-form ?? I don't modified anything only i translated the script ..

    I wait an resolvation for this strange problem...

    Many thanks

  2. #2
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: STRANGE BUG - ADS DAYS LEFT ....

    Did you just put in digits in the "days left" field in classipress? (i.e. 60 and not 60 days)

    It calculates the days left from that based on your web server time/date

    I'm guessing it has something to do with your server or wordpress time/date settings. You can see this code in functions.php...it's called "cp_timeleft".

  3. #3
    Thread Starter
    anunturitop_ro's Avatar
    Join Date
    May 2009
    Location
    Romania
    Posts
    69
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: STRANGE BUG - ADS DAYS LEFT ....

    I don't know but how to delete that line with expiration date of the ads. ???

  4. #4
    Senior Member herb_'s Avatar
    Join Date
    May 2009
    Posts
    230
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: STRANGE BUG - ADS DAYS LEFT ....

    Quote Originally Posted by r3mus24
    I don't know but how to delete that line with expiration date of the ads. ???
    The way I did it was to find div#expires in master.css and add display: none

    So I changed

    Code:
    div#expires{background:url(../images/hourglass.png) no-repeat scroll 0 60%; padding-left:20px; padding-right:5px; float:left; display:block; font-weight:normal; text-transform:none; color:#000000; font-family:'Trebuchet Ms','Arial','Verdana'; }
    to this;

    Code:
    div#expires{background:url(../images/hourglass.png) no-repeat scroll 0 60%; padding-left:20px; padding-right:5px; float:left; display:block; font-weight:normal; text-transform:none; color:#000000; font-family:'Trebuchet Ms','Arial','Verdana'; display: none }
    ... always backup files before editing.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)