+ Reply to Thread
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 59

Thread: CRITICAL FLAW: Renew upgrade feature doesn't work as it should

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    18
    lang_key - must be User Interface not Common etc..

    Hi all, thanks on code for this function (Renew Listing Date button) but it is not full and not work corect for me - the ads in listing.tpl list dont go on top of ads only in listing box new ads. This is good function for special box with renew ads.
    regards..

  2. #2
    Quote Originally Posted by Drazen Corak View Post
    lang_key - must be User Interface not Common etc..

    Hi all, thanks on code for this function (Renew Listing Date button) but it is not full and not work corect for me - the ads in listing.tpl list dont go on top of ads only in listing box new ads. This is good function for special box with renew ads.
    regards..
    That means your listings order is not Date by default and seems customized

  3. #3
    Junior Member
    Join Date
    Oct 2012
    Posts
    18
    That means your listings order is not Date by default and seems customized
    Hi Mike F. thanks for the reply, can you tell me where I can check the listing order date in which file?

  4. #4
    Quote Originally Posted by Drazen Corak View Post
    Hi Mike F. thanks for the reply, can you tell me where I can check the listing order date in which file?
    It's includes/classes/rlListings.class.php function getListings

    i have looked into it and it seems default order is not date.. strange.

    Ok, to fix issue open above mentioned function and find code
    PHP Code:
    Only registered members can view the code
    and change last line with

    $sql .= ", `T1`.`Date` DESC ";

    I think it will fix your problem.

  5. #5
    @Mike, the message for the user after renewing the listing doesn't work for me. Have the key's in user and ext module and the sql update is OK, the listing adds up on first place but message doesn't pop up.

    //Morgan
    Free Advertising at Fyndklippet.se


  6. #6
    Quote Originally Posted by Morgan Bohman View Post
    @Mike, the message for the user after renewing the listing doesn't work for me. Have the key's in user and ext module and the sql update is OK, the listing adds up on first place but message doesn't pop up.

    //Morgan
    try to replace {$lang['notice_listing_renewed']}

    with just text

    Code:
    Only registered members can view the code.
    if it worked problem is in lang module, try to change then to common instead of ex, maybe i was wrong with module..
    if no luck please pm me details i will check

  7. #7
    Hi Mike
    You have been very helpful with this particular idea. But could you please help guide us how to limit the Renew Listing Date button / or even upgrade plan button to a specific time like: 1 hour, 2 hours, or 1 day, 2 days?

  8. #8
    Junior Member
    Join Date
    Oct 2012
    Posts
    18
    Thanks Mike F. now it work. Jes I did not have date in that line. Thank you.

  9. #9
    Please clarify,

    Limit to use the button one time per hour for each listing, in other words you may renew all your listings one time per hour
    Or one time per hour no matter for what listing, you will need to choose what listing to renew

  10. #10
    Hi Mike,
    Thank you for your throughout thought.
    I think this is the best bet
    " Limit to use the button one time per hour for each listing, in other words you may renew all your listings one time per hour"

+ Reply to Thread