Osclass forums

Support forums => Plugins => Topic started by: abc500x500 on June 13, 2016, 07:04:40 pm

Title: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: abc500x500 on June 13, 2016, 07:04:40 pm
Hi
There is a problem with more edit 1.1 using in osclass 3.6.1:

After submit an ads it show in first page each category items double!!!
for example  we submit 8 ads in a category it show 16 !!

Please solve this problem
Thanks
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: abc500x500 on June 13, 2016, 08:02:37 pm
this check boxes has been enabled:

Moderate all ads (admins have to moderate them) enabled
Moderate edit (admins have to approve them, ads previouslyapproved will not be visible  enabled

other checkbox has not tik ;disabled
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: osclassLover on June 14, 2016, 08:26:35 am
please tell us your site address, i will try to solve it.

Thanks.
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: abc500x500 on June 15, 2016, 10:30:05 pm
please tell us your site address, i will try to solve it.

Thanks.

thanks
if you want see problem you can exam in your osclass in localhost.
I wrote this problem for:
1) creators of more edit repair this plugin.
2) in this topic answer of problem will be written.
3) creators of osclass insert abilities of more edit in osclass by default.
it is very wonder osclass has not moderation ability but all old and new scripts has ability of moderation. blogs,portals,forums and other classifieds ads has moderation ability. drupal,wordpress,phpnuke,joomla,smf,phpbb and ... all have ability of moderation.
because we must protect again junk posts and spam and ...
please insert this by default
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: Aficionado on June 16, 2016, 01:20:33 pm

it is very wonder osclass has not moderation ability but all old and new scripts has ability of moderation. blogs,portals,forums and other classifieds ads has moderation ability. drupal,wordpress,phpnuke,joomla,smf,phpbb and ... all have ability of moderation.
because we must protect again junk posts and spam and ...


True. Osclass doesn't support Ads moderation for unknown reason. And yes all old scripts have that.

But this is not the only fundamental function missing from Osclass. RENEW an expired ad is also missing and (also for unknown reason) the Osclass team do not consider this as a must.

And before someone steps in and tell me to buy a plugin for the above, we are not talking about exotic features but for things missing and things they should have been included from the day 1.

 ;)
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: abc500x500 on June 17, 2016, 03:13:58 pm

it is very wonder osclass has not moderation ability but all old and new scripts has ability of moderation. blogs,portals,forums and other classifieds ads has moderation ability. drupal,wordpress,phpnuke,joomla,smf,phpbb and ... all have ability of moderation.
because we must protect again junk posts and spam and ...


True. Osclass doesn't support Ads moderation for unknown reason. And yes all old scripts have that.

But this is not the only fundamental function missing from Osclass. RENEW an expired ad is also missing and (also for unknown reason) the Osclass team do not consider this as a must.

And before someone steps in and tell me to buy a plugin for the above, we are not talking about exotic features but for things missing and things they should have been included from the day 1.

 ;)
you are right.
I think osclass can be very better than now.
it is true that osclass is free but a free program should perfect.
Linux,php,mysql,apache,phpbb,smf,drupal, all are free but are perfect.

by the way why this problem occurred in more edit and osclass? how can solve by editing code.
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: abc500x500 on June 17, 2016, 04:52:51 pm


I found this topic:
http://forums.osclass.org/plugins/more-edit-plugin-bug-report-suggestion/

several years ago several user reported this bug but now in 2016 problem is exist.
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: abc500x500 on June 20, 2016, 03:13:46 pm
This problem is:
each time an ads edited and submitted more edit plugin add 1 to total items.
for exam an user submit an add then more edit block that for approving after unblock we see 2 adds added to category in front site afterward that user edited the ad after unblock edited we see total item now 3 item but real is 1.

Why anybody do not show wich section of codes must edited for solving problem.
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: Liath on June 22, 2016, 09:42:47 pm
maybe this could be helpful


http://forums.osclass.org/plugins-20/issue-with-moreedit-on-osclass-3-2-1/msg136103/#msg136103
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: shamim_biplob on June 24, 2016, 10:17:09 am
There is a plugin in market that has this features with many more features.
http://market.osclass.org/plugins/ad-management/simple-item-moderation_369

Also who wants to use more edit please edit as follows

in moreedit/index.php ~line 100
Code: [Select]
Item::newInstance()->update(array('b_enabled' => 0), array('pk_i_id' => $item['pk_i_id']));to
Code: [Select]
$mItems  = new ItemActions();
$mItems->disable($item['pk_i_id']);

and in moreedit/index.php ~line 145

Code: [Select]
Item::newInstance()->update(array('b_enabled' => 0), array('pk_i_id' => $item_id));to
Code: [Select]
$mItems  = new ItemActions();
$mItems->disable($item_id);

in moreedit/index.php ~line 180
Code: [Select]
Item::newInstance()->update(array('b_enabled' => 0), array('pk_i_id' => $item['pk_i_id']));to
Code: [Select]
$mItems  = new ItemActions();
$mItems->disable($item['pk_i_id']);
Title: Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
Post by: abc500x500 on June 25, 2016, 02:35:16 pm
Thanks for solving this problem.
Good luck