Wei, may i know the instructs? and yes it is another issue. please check and confirm
Ok Rudi... i put required code for hiding. Also please read my explanations about the 2nd problem and also i will try to find a solution for both of them. Thanks
Wei, may i know the instructs? and yes it is another issue. please check and confirm
Ok Rudi... i put required code for hiding. Also please read my explanations about the 2nd problem and also i will try to find a solution for both of them. Thanks
Yes you can check fix for it here
http://forum.flynax.com/showthread.p...highlight=plan
Basically if user used up a free plan usage, they can no longer edit their page. You can reproduce this my create a free plan then set limited usage to 3 times. Try to use up the plan then edit listing.
Hello guys,
Could you try this code regarding the problem with editing listing when single plan is used up:
- go to includes > classes > EditListing.php > private function validatePlan
change:
to:PHP Code:
Only registered members can view the code.
then go to templates > controllers > edit_listing > step_form.tplPHP Code:
Only registered members can view the code.
change:
toCode:Only registered members can view the code.
Code:Only registered members can view the code.
tell me about results please
Hello Rudi, It is a progress but still if you change the category in edit page and try to save, it generates error Please choose a listing plan below Or $lang.notice_listing_plan_does_not_chose
By the way i think below code the same as yours but a little better in syntax.
Code:Only registered members can view the code.
I also found another problem. If you choose another category in Edit page, then you won't be able to change back to your old category. A refresh would fix this. Can I disable changing category in edit page as well similar to disable in changing plan? I tried the disabled="disabled" but it seems not to do the trick
Hello Wei, yes changing category in edit page causes some other problems, but if we disable it, then how user change it?
there is no other place to edit category.
About disabled="disabled" , yes you right, forget it , but below temporary solution is a little better except for category change.
Find:
Change to:Code:Only registered members can view the code.
Find:Code:Only registered members can view the code.
Change to:Code:Only registered members can view the code.
Code:Only registered members can view the code.
Last edited by Bahram Soltanirad; August 9, 2018 at 10:49 AM.
Hello all,
This is the final temporary solution for Edit page problem. It disables changing Plan in Edit listing page. Also there is no problem with category change.I tried to use minimum code and changes. Enjoy!
your_template_folder/controllers/edit_listing/step_form.tpl
Find:
Change to:Code:Only registered members can view the code.
Find:Code:Only registered members can view the code.
Change to:Code:Only registered members can view the code.
includes/classes/EditListing.phpCode:Only registered members can view the code.
Find:
Add below it:Code:Only registered members can view the code.
includes/classes/rlPlan.class.phpCode:Only registered members can view the code.
Find:
Add below it:Code:Only registered members can view the code.
Again... this is a temporary solution until Flynax solve the problem. Please let me know if there is any issue with this solution.Code:Only registered members can view the code.
EDIT: I changed some codes . please use latest changes.
Last edited by Bahram Soltanirad; August 12, 2018 at 11:13 AM.