Ok it worked now it's centered.
I have another problem:
my paypal account is Italian.
When a user from USA tries to pay via paypal. It redirects to the paypal page but he cannot find the US country in the country list and he also sees the Paypal page in Italian rather than English.
I have contacted Paypal and they replied it's not their problem
Can you help me to address this problem?
Thank you
Or can you tell me how to get the Paypal page only in English?
thank you very much
(2012-05-26, 12:31 PM)marduk Wrote: [ -> ]I have contacted Paypal and they replied it's not their problem
Can you help me to address this problem?
paypal said that?
me too , I say its not my plugin problem
however, I think you can control the language of payment page in your paypal account settings.. as you are in italy I am not really sure if that option is there. just try . If it didn't work, then contact paypal support one more time.. trying ask your friends(italian) who use paypal if any had a such problem..
final option available: you try other payment options, moneybookers/ skrill is well-supported in europe
Ok thanks
If i try to use paypal i don't get the country list (I'm in Italy). The list appears only to foreign countries other than Italy.
Is there a way to force English? I have tried to change the language in the paypal account but i get the same thing (Italian page)
Thanks
If i create a paypal button with English language it keeps the English language. Can you tell me how to integrate the code Paypal generates for its button ?
That way i can mantain English language
The code looks like this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="xxxxxxxxxxxxxxxxxxx">
<input type="image" src="https://www.paypalobjects.com/en_US/IT/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
ok open
donate.php
and search for
$additional = "<input type=\"hidden\" name=\"cmd\" value=\"_donations\" /><input type=\"hidden\" name=\"item_name\" value=\"{$lang->naoardonate_front_donation}#$insert_id:$uid | $name\" />";
and replace it with
$additional = "<input type=\"hidden\" name=\"cmd\" value=\"_donations\" /><input type=\"hidden\" name=\"country\" value=\"US\" /><input type=\"hidden\" name=\"item_name\" value=\"{$lang->naoardonate_front_donation}#$insert_id:$uid | $name\" />";
hope that works
Wow i works! Thank you very much
(2012-05-19, 08:51 PM)FooFighter Wrote: [ -> ]thanks tera!
(2012-05-19, 09:28 PM)zero_X Wrote: [ -> ]Awesome tera, thanks a lot for this. Going to be using it in a near future!
(2012-05-26, 01:47 PM)marduk Wrote: [ -> ]Wow i works! Thank you very much
welcome at any time
I found a typo in your code. In file naoardonate.php in ../inc/plugins/ line 743 it has the following code:
<td styke="padding:0"><a href="{$mybb->settings[\'bburl\']}/donate.php"><img alt="" src="{$mybb->settings[\'bburl\']}/images/naoar/donate_now.gif" width="100" height="21" style="vertical-align:baseline" border="0" /></a>{$naoardonate_top}</td>
The typo is at STYLE, where is written styke here.
thats right, another proof that I am a human :P,
well it was a mistake and hopefully fixed it in the next release,,
thank you for pointing to this
----------------
cheers
Plugin activated, but will not save changes in some of the settings. Also it didn't show up in the template.
I figured it out by changing some of the code to require_once and now it works fine.
Thanks!
Is there any way you can add features for it to move to a usergroup once a minimum or specific amount has been chosen? Or also do timed usergroup moves? Aka, a person donates 10 dollars or more and is moved to x usergroup for 30 days.