We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

"Deniro" Currency Converter Plugin

Development and Programming

Sean C. Smith's avatar
Sean C. Smith
3,818 posts
15 years ago
Sean C. Smith's avatar Sean C. Smith

Stephen,

excellent - I’m in no rush - won’t be launching for a couple of more weeks at least.

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
15 years ago
Stephen Lewis's avatar Stephen Lewis

Hi Sean,

The latest version (renamed Deniro) should meet your requirements.

You can also grab it from Git, should you be into that sort of thing.

Cheers, Stephen

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
15 years ago
Sean C. Smith's avatar Sean C. Smith

Stephen,

works exactly as I wanted - thank you so much.

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
15 years ago
Stephen Lewis's avatar Stephen Lewis
works exactly as I wanted - thank you so much.

Marvellous. You’re welcome.

Cheers, Stephen

       
reconsider's avatar
reconsider
18 posts
15 years ago
reconsider's avatar reconsider

Hey Stephen,

I’m using Deniro for a fashion e-commerce site. The site will be in UK sterling, but with the option to click through to convert the currency to either Dollars, Euro or Yen. If the user clicks through to a certain currency then any subsequent clicks to other product pages or search pages will maintain the foreign currency conversion.

Is there away to achieve this without duplicating all the templates and effectively having separate sites?

Thanks

Simon

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
15 years ago
Stephen Lewis's avatar Stephen Lewis

Hi Simon,

My first thought was that you could do something with URL segments. Check for the existence of a “preferred currency” segment and then use that to determine what you’re displaying.

If the preferred currency segment exists, use Deniro to display the base amount, converted to the preferred currency.

If the preferred currency segment does not exist, display the base amount, and use Deniro to display the alternative currencies.

I haven’t tried this out, so I’m not sure if you’ll encounter any parse order issues; you may need to enable PHP on input.

Cheers, Stephen

       
Fernando Maclen's avatar
Fernando Maclen
11 posts
15 years ago
Fernando Maclen's avatar Fernando Maclen

Hi Stephen, First of all: very nice plugin! At least that’s what I think before experiencing it because I can’t get it to work :(

I’m running EE 1.6.9 build 20100430 and the latest version of the plugin (I guess it’s 1.1.0). I installed correctly but it’ messes up something. When I try to access “Utilities > Plugin Manager” I get a blank screen and when I place the expression on a template I get this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /[my_server_path]/plugins/pi.deniro.php on line 32

At first I was using EE 1.6.8 so I recently updated it just in case an older version of EE was the problem but unfortunately it wasn’t. Any thoughts?

Thanks in advance! :D

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
15 years ago
Stephen Lewis's avatar Stephen Lewis

Sounds like you’re using PHP 4 Fernando. Deniro requires PHP 5.

Cheers, Stephen

       
Fernando Maclen's avatar
Fernando Maclen
11 posts
15 years ago
Fernando Maclen's avatar Fernando Maclen

Oops, I missed that one, I changed and it works great now. Thanks for the quick reply and now I can confirm: awesome plugin! 😉

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
15 years ago
Stephen Lewis's avatar Stephen Lewis

Great, glad you got it sorted Fernando.

Cheers, Stephen

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
15 years ago
Stephen Lewis's avatar Stephen Lewis

Hello all,

Deniro support has been moved to the official Experience Internet help forum. I’ll continue to monitor this thread, but any future posts will be met with a polite request to re-post on the Deniro help forum.

Cheers, Stephen

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.