WordPress.org

Ready to get started?Download WordPress

Forums

Donate Extra
[resolved] Strange Styling on Hypax theme (24 posts)

  1. comax@gmx.net
    Member
    Posted 1 year ago #

    Just installed and setup Donation Extra (already loving it!) only thing I can complain about is the styling that's going on when implementing the DonationExtra Shortcut (Donation Form) into my projects page.

    Have a look here:

    When I check the author's page the plugin seems to behave normal, meaning the form won't go over the whole page.

    Basic question: How can I solve that?

    http://wordpress.org/extend/plugins/donate-extra/

  2. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    Ah yes i see the issue & i will have this resolved in the next release very shortly.

  3. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    Will have the update V1.97 for you try as soon as the svn server is back online as it is down for maintenance.

    Let me know if it help.

    Justine

  4. comax@gmx.net
    Member
    Posted 1 year ago #

    Thanks for the fast support! Outstanding & Awesome!

  5. globalaperta
    Member
    Posted 1 year ago #

    It's look like not fit on my pages, please take a look at http://chuanamquang.com/donation From where i must fix this to be fit?

    Thank You.

  6. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    @globalaperta Are you using version 1.97 of Donate Extra ?

    It looks like you have modified the plugin ?

    What does not fit , it looks like it fits apart from you no longer have the option to donate in private.

    Justine

  7. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    @globalaperta looking at the code on your site it doesn't seem like you are using the Donate Extra plugin with the shortcode [donateextra]

  8. globalaperta
    Member
    Posted 1 year ago #

    Sorry, i test a jot form, now i am will activate Donate Extra plugin again. Please see my page again.

    Thank's

  9. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    @globalaperta It all seems to fit from where i'm looking.
    What do you think doesn't fit ??

  10. globalaperta
    Member
    Posted 1 year ago #

    For more clear please see my screen shoot here

  11. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    @globalaperta i think thats something to do with your theme / css on your site.
    Leave it with me and i'll get back to you with some answers although it might be tomorrow.

    Justine

  12. globalaperta
    Member
    Posted 1 year ago #

    @justinesmithies Thank You For your help, Awesome!

  13. comax@gmx.net
    Member
    Posted 1 year ago #

    Just installed the new version but it doesn't seem to fix the problem, please have a look at the site.

    And another question. I am using 2 plugins to process paypal payments, yours for donations and another one for my shop. Now will it break your plubin if I point Paypal's IPN to the other plugin or will your's continue to work anywayys?

  14. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    Will get a look at it tonight. I see a common issue between yourself comax@gmx.net & globalaperta .
    Hopefully will have a fix for you both later.

    Justine

  15. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    Can you two try this please ? @comax@gmx.net @globalaperta

    Edit your donate-extra.php file and look for this section of code.

    $output .= '
    <input type="hidden" name="notify_url" value="'.$notify.'">
    <input type="hidden" name="item_name" value="'.$dextra['donate_desc'].'">
    <input type="hidden" name="business" value="'.$dextra['paypal_email'].'">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="no_note" value="1">
    <input type="hidden" name="no_shipping" value="1">
    <input type="hidden" name="rm" value="2">
    <input type="hidden" name="return" value="'.$tyurl.'">
    <input type="hidden" name="currency_code" value="'.$dextra['paypal_currency'].'">
    <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
    <p class="submit"><input type="image" src="'.$button.'" border="0" name="submit" alt="">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></p>
    </form>';

    Change it to :

    $output .= '
    <div style="height: 10px;">
    <input type="hidden" name="notify_url" value="'.$notify.'">
    <input type="hidden" name="item_name" value="'.$dextra['donate_desc'].'">
    <input type="hidden" name="business" value="'.$dextra['paypal_email'].'">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="no_note" value="1">
    <input type="hidden" name="no_shipping" value="1">
    <input type="hidden" name="rm" value="2">
    <input type="hidden" name="return" value="'.$tyurl.'">
    <input type="hidden" name="currency_code" value="'.$dextra['paypal_currency'].'">
    <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
    <p class="submit"><input type="image" src="'.$button.'" border="0" name="submit" alt="">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></p>
    </form></div>';

    All i have done is add the div at the top and bottom with a height style.

    Let me know if it fixes your two pages as i can fix it by trying Chromiums code inspector on your pages.
    Strange though as it doesnt affect my them but then it could have something to do with the fact i'm using a full page and your not ?

    Justine

  16. comax@gmx.net
    Member
    Posted 1 year ago #

    I'm on it, give me a second^^

  17. comax@gmx.net
    Member
    Posted 1 year ago #

    Made the change. Have a look, it looks better but still a little misplaced.

  18. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry try moving the closing `</div>' so it looks like this :

    $output .= '
    <div style="height: 10px;">
    <input type="hidden" name="notify_url" value="'.$notify.'">
    <input type="hidden" name="item_name" value="'.$dextra['donate_desc'].'">
    <input type="hidden" name="business" value="'.$dextra['paypal_email'].'">
    <input type="hidden" name="lc" value="US">
    <input type="hidden" name="no_note" value="1">
    <input type="hidden" name="no_shipping" value="1">
    <input type="hidden" name="rm" value="2">
    <input type="hidden" name="return" value="'.$tyurl.'">
    <input type="hidden" name="currency_code" value="'.$dextra['paypal_currency'].'">
    <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted"></div>
    <p class="submit"><input type="image" src="'.$button.'" border="0" name="submit" alt="">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></p>
    </form>';

    Let me know if that helps ?

    Justine

  19. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    Also make the <div style="height: 10px;">

    read

    <div style="height: 0px;">

    Justine

  20. comax@gmx.net
    Member
    Posted 1 year ago #

    Excellent Support! It seems to work! Last question if you don't mind, how can I get rid of the black rectangle around the Donate button?

  21. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    No problem ;-)

    Change this line from :

    <p class="submit"><input type="image" src="'.$button.'" border="0" name="submit" alt="">

    To

    <p class="submit"><input type="image" src="'.$button.'" style="background-color: transparent;" border="0" name="submit" alt="">

    And if that helps too , please feel free to make a donation to show your support of Donate Extra .

    Thanx
    Justine

  22. justinesmithies
    Member
    Plugin Author

    Posted 1 year ago #

    @comax@gmx.net & @globalaperta

    Version 1.98 should fix both your issues.

    Justine

  23. comax@gmx.net
    Member
    Posted 1 year ago #

    Now all you have to do is to give us the option to take a percentage of any donation we get to give it to you!

    I appreciate your support and I will donate as soon as I can afford it, but having the option to send you a percentage of my income generated by this plugin would be awesome!

  24. globalaperta
    Member
    Posted 1 year ago #

    @justinesmithies Thank's now it's has been fix, Awesome ..., waiting for next versions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.