I could not find anything in Drug.com's list to suggest that an allergy to Ibuprofen should translate to an allergy to tramadol. They both have different active ingredients and the webpage gives no warnings about interactions with Ibuprofen or other NSAID's. This is something, though, you should call up your pharmacist on and find out.
http://www.drugs.com/tramadol.html
Good luck
Important:
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of The HealthCentral Network. The HealthCentral Network does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.