Leo Brazil
02-10-2009, 10:00 PM
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 www.gocurrency.com (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 - www.vbadvanced.com (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
<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:
<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 (https://vborg.vbsupport.ru/showthread.php?t=204954)) 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
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 www.gocurrency.com (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 - www.vbadvanced.com (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
<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:
<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 (https://vborg.vbsupport.ru/showthread.php?t=204954)) 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