Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Currency Converter Module for CMPS Details »»
Currency Converter Module for CMPS
Version: 1.10, by Leo Brazil Leo Brazil is offline
Developer Last Online: Aug 2017 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 02-10-2009 Last Update: 08-31-2009 Installs: 14
Auto-Templates
Re-useable Code Translations  
No support by the author.

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 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

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/convert...-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/convert...-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 Now

File Type: xml currencyconverter-CMPSv1-1.xml (650 Bytes, 85 views)
File Type: zip Currency_Center.zip (1.7 KB, 43 views)

Screenshots

File Type: jpg currencyconverter.jpg (23.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-09-2009, 04:41 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't show anymore this module in CMPS..!!!Why.....?
Reply With Quote
  #13  
Old 06-09-2009, 06:15 AM
MoveOver.cc MoveOver.cc is offline
 
Join Date: Dec 2005
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only get the link to the website, not the actual module. Any ideas ???
Reply With Quote
  #14  
Old 06-09-2009, 07:55 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys,

I've been checking about this all day and it seems the issue is not with the module it self but with the external content that comes from www.gocurrency.com that are under Error 500 (lack of memory or something with their server) and that's the reason why.

Unfortunatelly we have to wait for them to fix it. I already sent them an e-mail informing (pushing) them to fix this issue. If you wanna help send them e-mail as well.

Anyway, you don't need to do anything with your CMPS module, as soon gocurrency is back with their service, module will come back normally.
Reply With Quote
  #15  
Old 07-11-2009, 10:29 PM
Mesohu Mesohu is offline
 
Join Date: Jan 2008
Location: Kosova / Albania
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance to create it with XE.com Exchange Tool, 'coz it more completed than gocurrency.

Thanks
Reply With Quote
  #16  
Old 07-11-2009, 10:51 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mesohu, I already considered XE.com but their converter, ate least the free version only opens in a anoying popup window. I'm sure nobody likes those popups.
To remove the popup from XE you have to subscribe for a year fee of USD540.00.
So, Gocurrency is not the best we can get for sure, but still the best free one and get a customization options.

I always search through the web trying to find other good options but nothing better than this so far. If someone can give a clue about another one, free, no popups, I can do it for sure.
Reply With Quote
  #17  
Old 07-12-2009, 09:18 AM
Mesohu Mesohu is offline
 
Join Date: Jan 2008
Location: Kosova / Albania
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, do you have tried to contact with XE and to explain to them that's this is for a free project?

Thanks anyway for your work.
Reply With Quote
  #18  
Old 07-13-2009, 08:14 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mesohu, I really tried to send them an e-mail but as they sell it as a service and not cheap (U$540/year) they are really not interested.
Reply With Quote
  #19  
Old 09-01-2009, 05:51 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zelnik View Post
do you have any plans to convert this into a php or something so we don't need CMPS?
Just added an option to use a external page for this using your forum desing.

Just follow instructions I've just added at first post. 1 minute and it's done. External page and no need for vBAdvanced.

Besides Currency Converter I've included a Currency Chart at the same page.

I hope you like it.

And please Click Installed!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04417 seconds
  • Memory Usage 2,310KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (3)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete