Advertisement:

Author Topic: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!  (Read 1651 times)

abc500x500

  • Jr. Member
  • **
  • Posts: 96
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

abc500x500

  • Jr. Member
  • **
  • Posts: 96
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

osclassLover

  • Newbie
  • *
  • Posts: 39
  • thinking to achieve new in osclass
please tell us your site address, i will try to solve it.

Thanks.

abc500x500

  • Jr. Member
  • **
  • Posts: 96
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

Aficionado

  • Guest

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.

 ;)

abc500x500

  • Jr. Member
  • **
  • Posts: 96

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.

abc500x500

  • Jr. Member
  • **
  • Posts: 96


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.

abc500x500

  • Jr. Member
  • **
  • Posts: 96
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.

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near

shamim_biplob

  • Full Member
  • ***
  • Posts: 169
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']);

abc500x500

  • Jr. Member
  • **
  • Posts: 96
Re: Problem with MORE EDIT 1.1 plugin -- it show category items double!!!
« Reply #10 on: June 25, 2016, 02:35:16 pm »
Thanks for solving this problem.
Good luck