• Resolved Nykess

    (@nykess)


    Hi Gabriel,

    (Yes, another topic! That’s just how enthusiastic I am about your plugin!)

    I would like the ability to sell .zip files to people on my site. I tried the following code…

    [mycred_sell_this price=”20″ button_label=”Buy Now” expire=”0″]LINK TO FILE[/mycred_sell_this]

    It worked, but it somehow interacted with my theme and caused this to show up before the “Buy Now” button:

    AVATAR
    By Admin

    ” value=”1″ />
    Buy this Page for only 20 points BUY NOW

    In other words, the AVATAR seems to be the avatar of the page creator (as well as the “By Admin,” of course). Not sure where the value=”1″ is coming from.

    I enabled the default BuddyPress theme and didn’t have this problem, so I realize it’s theme-related, but I’m hoping you might have a clue what could be causing this because I won’t be able to use it otherwise.

    Also, I need the ability to hide the true path to the files I’ll be selling. I don’t want somebody to be able to buy my content, get the link and redistribute it. Do you have any recommendations that are compatible with “Sell Content”?

    Thank you.

    https://www.ads-software.com/plugins/mycred/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Nykess

    (@nykess)

    On your site I also just saw that I can’t sell multiple items in a single post. That makes things difficult as well. It would be great to have this capability added.

    Plugin Author myCred

    (@designbymerovingi)

    Hi Nykess.

    Could you show me an example of how you use the shortcode in your content (not what is shows when viewing the post)? It sounds like whatever you put between the [mycred_sell_this] and [/mycred_sell_this] tags are incorrect, but I could be wrong.

    Unfortunately I do not know any plugin for hiding download links but there must be something out there. Otherwise you could always write one if you feel comfortable with PHP.

    That is correct. You can only sell one thing per post and that is because you are selling your posts Content field and as you know, posts only have one content (post_content). You can sell parts of the content, thats what the shortcodes are for.

    Thread Starter Nykess

    (@nykess)

    Hi Gabriel,

    This is the code I tried using:
    [mycred_sell_this price=”5″]This part of the page is at a special rate of 5 points.[/mycred_sell_this]

    This is the error I’m seeing when a regular member tries to access that content:
    https://img9.imageshack.us/img9/4812/u5io.jpg

    Thank you.

    Plugin Author myCred

    (@designbymerovingi)

    Have you made any changes to the Sell Content templates?
    If you have, make sure the html you entered is valid.

    Thread Starter Nykess

    (@nykess)

    No, no changes to the templates; all default.

    Trying to figure out why the interaction, but stumped.

    Plugin Author myCred

    (@designbymerovingi)

    Can you paste the html codes that being output into pastebin so i can have a look?

    Thread Starter Nykess

    (@nykess)

    https://pastebin.com/QZLYJyzc

    I can obviously see where the code is going wrong, but I don’t know why it’s happening. All I did was use [mycred_sell_this price=”5″]This part of the page is at a special rate of 5 points.[/mycred_sell_this] on a page and it resulted in what you see @ that pastebin link.

    I really appreciate you taking a look.

    Plugin Author myCred

    (@designbymerovingi)

    Thank you for the code snippet.

    I think the issue is that your theme is adding your avatar to your content, and this avatar addition is inserted right into our form. You can see the avatar element is inserted inside a hidden input field which is invalid.

    The question is how this is done and why. If you can contact me though the mycred.me website with a URL I could have a look at your theme and see what the issue might be.

    It could be as simple as the avatar should be returned and not echoed.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Selling Download Links, Bugs, etc.’ is closed to new replies.