Back to vBulletin 3.8 Add-ons

Currency Converter Module for CMPS
Mod Version: 1.10, by Leo Brazil

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 14
Released: 11 Feb 2009 Last Update: 01 Sep 2009 Downloads: 121
Not Supported Auto-Template Re-usable Code Translations External Content  

This is my first add on and I'm not a coder actually. Just get together a few pieces around and came up with this.

What does it do ? Adds a currency converter module to your vBAdvanced CMPS page and you can convert most world wide currencies each other.

NEW: Also, if you don't have vBAdvanced you can use the external page version

The script was supplied from http://www.gocurrency.com and they updated all rates every day, so you don't need to worry about global economy late up and downs.

Requirements: You must have CMPS installed - http://www.vbadvanced.com

Installation vBA: Just upload the attached: AdminCP < vBA CMPS < Download / Upload Module

Select the position on CMPS you want despite it'll look better in right or left position due the script.

That's it, enjoy !!!

This was tested on 3.8.0 and vBadvanced CMPS v3.1.0

Screenshot Attached.

But it's going to work on older versions as well.

Customization Tips:

Despite of the Currency Coverter itself is an external content (gocurrency.com), you don't have too much control over it but serching a little deep further inside their website, I found out you really can have a few options of customizations.

Check at: http://www.gocurrency.com/v2/converter/custom-currency-converter.php

- You can change the language for Spanish, French, German and even Turkish.

- Select the text color.

- You also can chose what primary currecies will be always showed as base and target currencies, so if most of your users just want to convert Euros to Dollars (e.g.) you can select this as default for your module.

Go ahead and click "Built" and after that "Activate"

Copy the script given to you.

You will need to edit the template for this module.

Find on your template: adv_portal_currency

Code:
<a href=http://www.gocurrency.com/ id=gocurrency>Currency Converter</a> <script src= http://www.gocurrency.com/v2/gocurrcalc_t.php?id=53> </script>
and replace it by your customized script you got from http://www.gocurrency.com/v2/converter/custom-currency-converter.php

Example for Turkish Language:

Code:
<a id=gocurrency href=http://www.gocurrency.com/ >Currency Converter</a><script src= http://www.gocurrency.com/v2/gocurrcalc_t.php?lang=tr&id=45925&tcolor=000000&amt=1&len=25&nw=1 ></script>

NEW !! - Installation External Page:

Download Currency_Center.zip file.
There to files in it.
Upload currency.php to your forums folder through FTP.
Upload product-currency.xml file using: AdminCP < Product Management < Upload Product

The external page will be http://www.yoursite.com/forums/currency.php

Enjoy.

I had this idea inspired at Vaupell mod (Unitconversion 1) after one request from Pehchaan, so thanks to them.

Update log:

Version 1.0 CMPS- First Release
Version 1.1 CMPS- Fix bug to use on left side position of the page.
Version 1.0 External Page - First Release

Download

File Type: %1$s currencyconverter-CMPSv1-1.xml (650 Bytes, 87 downloads)
File Type: %1$s Currency_Center.zip (1.7 KB, 45 downloads)

Screenshots

Click image for larger version
Name:	currencyconverter.jpg
Views:	413
Size:	23.9 KB
ID:	94635  


vblts.ru supports vBulletin®, 2022-2024