Home Forums Plugin Support WP User Frontend Pro I found a Very important BUG! help please..

This topic is: resolved

This topic contains 32 replies, has 4 voices, and was last updated by  Nayem 3 years, 8 months ago.

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • #55028

    R & F Tecnologic
    Member
    Post count: 47

    If I make any subscription package, I see in Subscription Details that Remaining Post: (Say a number of post available for that package, but it just go down.

    For example, my Subscription is for 3 Post for 1 month.(expire time)

    SUBSCRIPCION DATAILS:
    Remaining post: 3

    The point is that the number 3 when I post again it become to 2 And if I post other it become 1.
    (BUT IF I DELETE ONE POST IT SHOULD SAY)
    Remaining post: 2

    Because I delete one. If I delete all my post it should say again:
    Remaining post: 3

    Because I don't have post in my acount. (BUT DON'T DO THAT) this number just go down and never UP. and when the number finish I can't post again until I choose other pack subscription.

    I need ofcourse that if I delete a post it become available again in my account as suppouse to be.

    Thank. What can I do?

    #55055

    R & F Tecnologic
    Member
    Post count: 47

    Hello. Any Answer?

    This is the only thing I need to launch my site. Please.

    #55131

    towhid
    Participant
    Post count: 4505

    Hello,

    This is not a bug so far. If your subscription pack allows you to publish 10 products, you can only publish 10 products. If you delete one or more products after publishing them, your quota will not be back. Even if you have 1 remaining product, and you delete an existing product, you will still have 1 remaining product. Deleting your published products will not increase your number of available quota.

    Thanks

    #55173

    R & F Tecnologic
    Member
    Post count: 47

    Hello, towhid.

    But this no have sense. I mean for simple logic.

    If you have subscription pack that allow you to publish 10 products for 30 days.
    You paid for this time (30 DAYS) and you should be able to do what you want with this 10 products in this time. Example: If you want to delete 4 products of 10 in total. them should have 10 avalible again. BECAUSE YOU PAID FOR 30 DAYS – buying a subscription pack).

    Because what's the point of putting the DELETE button on my account, if you don't have that space again?

    You say is not a bug, Ok. How can I do that? Can be really difficult just be able to do that.

    Restore you space to publish after you delete a publish in your xx days pack subscription?

    Thank in advance?

    #55206

    Yves
    Participant
    Post count: 23

    Can only agree with the above comment. It makes sense for when I'llalso need this.

    #55247

    towhid
    Participant
    Post count: 4505

    Hello,

    Actually this is not a bug.

    We always try to provide customers the comfortable environment. We had a plan to provide a delete facility. But we have moved from that planning. Because we have think deeply that if we provide a delete facility an unethical user can take illegal benefit.

    For say, Seller has 30 days subscription and that seller can add 10 product. If we provide delete facility he can sell a product and earn some money. Then he will delete that product and add another product and earn some money and so on. So that the subscription with a product will not give you any favour.

    Thanks

    #55262

    R & F Tecnologic
    Member
    Post count: 47

    Hello again, towhid:

    No, no, no…. your answer still is without sense.. I mean. In my case I don't care if the client who pay for a 30 days (1 Month) and 10 ads. Delete or Edit her publish. (You have the DELETE Option in MY ACOUNT). Just that don't work as should be.

    We just need that when the client delete the ad it become available again. He pay for 30 days.

    I understand that you say is not a BUG. Ok. But how can we do that if we want? The plugin should need to have the posibilities to let us do that if we want..

    But ok. Can you just tell me what I have to change in the code or something to accomplish that. Should not be difficult.

    Thank in advance.

    #55445

    towhid
    Participant
    Post count: 4505

    Hello,

    Step 1: Please navigate to plugins/wedevs-dokan-subscription/dokan-product-subscription.php

    Step 2: Find this line // add_action( 'dokan_after_delete_product_item', array( $this, 'update_meta_for_delete_product' ) );' ) );

    Step 3: Replace add_action( 'dokan_after_delete_product_item', array( $this, 'update_meta_for_delete_product' ) );

    Thanks

    #55491

    R & F Tecnologic
    Member
    Post count: 47

    Hello, Towhid.

    I have WP USER FRONTEND PRO – Not Dokan.

    I'm happy because I see the support is really amazing, I mean you always answer, That's good.

    Well, thank in advance. but remember I need this for WP USER FRONTEND PRO. Not for DOKAN.

    I'm waiting for this.. thank..

    #55604

    R & F Tecnologic
    Member
    Post count: 47

    Hello. Please answer…. for WP USER FRONTEND. (Not for Dokan) Thank.

    #55835

    R & F Tecnologic
    Member
    Post count: 47

    Please, I really need that. Just that for launch my site. NOT FOR DOKAN – for (WP USER FRONTEND PRO).

    thank

    #55978

    towhid
    Participant
    Post count: 4505

    Hello,

    This is literally not easy to provide you a good solution. But if you hire a developer that would be better to do some customization works. Because a developer has a good understanding of code block its referencing.

    Please navigate to plugins/wpuf/class/subscription.php and find this function function subscription_info() . This function act to show subscripion info for user. You must coustomize this function code block which can meet your requirements.

    Thanks

    N.B: I am not good at programming. Our lead developers are now in Eid vacation. After their coming back, I can give you further instruction if possible.

    #56089

    R & F Tecnologic
    Member
    Post count: 47

    Hello, Towhid

    I know a little of code in wp PHP. And I saw what you say in plugins/wpuf/class/subscription.phpand find this function function subscription_info().

    Bur really I don't know how to do it. I think is not difficult but I need your help for this.

    Thank. I waiting for some solution.

    #56124

    Nayem
    Moderator
    Post count: 6480

    Hello,

    We do not provide support for any custom work. IF you want to modify our function or feature then you may require a developer for this.

    Thanks.

    #56410

    R & F Tecnologic
    Member
    Post count: 47

    But this don't should be a custom work.

    This should be include in the plugin.(To give that option) I mean what I go to do now. You don't want to give me a support for this.. And I need just this thing to lounch my site.

    When the user delete a ads it become available again. that's all.

Viewing 15 posts - 1 through 15 (of 33 total)

The topic ‘I found a Very important BUG! help please..’ is closed to new replies.