Footprint Ribbon - Route 213, just east of Pastoria City. Requires maximum happiness.
Alert, Shock, Downcast, Careless, Relax, Snooze, and Smile Ribbons - Sunyshore City, North of Pokemon Center and up stairs. Answer her question with the word mentioned above corresponding to each day Monday-Sunday respectively, (Alert on Monday, Shock on Tuesday, etc.)
Champ Ribbon - Beat the Pokemon League
Effort Ribbon - Seal Shop in Sunyshore City. Earned for having all 510 EVs distributed to your Pokemon.
There are six Ribbons that you can earn at the Battle Tower, each for completing a particular task.
- Have 21 consecutive wins in the Single Battle Mode for the Ability Ribbon
- Have 49 consecutive wins in the Single Battle Mode for the Great Ability Ribbon
- Win 50 times in Double Battle Mode for the Double Ability Ribbon
- Win 50 times in Multi Battle Mode with a computer trainer for the Multi Ability Ribbon
- Win 50 times in Multi Battle Mode with a friend for a Pair Ability Ribbon
- Reach 5th place in the Wifi Battle Mode ranking for a World Ability Ribbon
There are 20 Sinnoh Contest Ribbons available for completing the four levels of difficulty for all five contest traits.
There are three ribbons that you can purchase at the Ribbon Society in the Resort Area. The Gorgeous Ribbon retails at P10,000, the Royal at P100,000 and the Gorgeous Royal at P999,999. The lady will only sell these to your Pokemon in the order specified, so you cannot obtain a Gorgeous Royal Ribbon before a Royal Ribbon.
The World Ability Ribbon is unobtainable unless you connect to unofficial DNS Servers as Nintendo DS Wifi has been discontinued for years.
These are the ribbons available in Gen IV without the use of cheating devices.
Source
Hope I could help!