Osclass Support Forums

Osclass plugin support => SMS Payments Plugin => Topic started by: mwindey on August 01, 2021, 08:30:05 AM

Title: Move to top does not change anything at all - SOLVED it was my own mistake
Post by: mwindey on August 01, 2021, 08:30:05 AM
When i am paying for move to top i expect that the publish date should be set to current date so i am actually on top of the search list after the premiums.
Expire date does not have to be affected but the publish date and edit date are also not changing so the payement for move to top is just psychological and not actually present at the moment :D
In index.php i found this line
Code: [Select]
function sp_move_top( $item_id ) {
  ModelSP::newInstance()->moveTopByItemId( $item_id );                                   // reset listing publish date to current date
}

Will this trigger the date??? I think some lines are missing here or am i wrong?

Title: Re: Move to top does not change anything at all
Post by: MB Themes on August 01, 2021, 09:23:56 AM
As you see in comment: reset listing publish date to current date
Title: Re: Move to top does not change anything at all
Post by: mwindey on August 01, 2021, 07:10:09 PM
@MB Themes

I understand that is correct but at my website it does not affect any date after payment is done.
Premium however works perfectly.
Any idea how that is possible please?
Title: Re: Move to top does not change anything at all
Post by: MB Themes on August 02, 2021, 09:38:34 AM
Code looks correct.
If problem persists and you have setup everything on fortumo properly (incl. return routes), please create support ticket.
Title: Re: Move to top does not change anything at all
Post by: mwindey on August 03, 2021, 11:36:28 AM
@MB Themes,

Forgive me please... It was due my own stupid mistake.... I actually had a wrong from address in Fortumo setup....
To future buyers who are thinking about buying this plugin i would say....Just DO it  ;) ;)
Title: Re: Move to top does not change anything at all - SOLVED it was my own mistake
Post by: MB Themes on August 03, 2021, 11:41:50 AM
@mwindey
Cool, thanks for info ;)