Joomla with Gravatar Support

Add Gravatar Support in Joomla with Jumi

jumi gravatar

One of the most popular, useful and long-lived extensions in Joomla is called Jumi. We have got Jumi tutorials on this site that date from early 2007. Why is Jumi so popular? Jumi is an extension that allows you add to custom code such as PHP, Javascript or CSS directly into our Joomla pages. One of our members wanted to show Gravatar images of their users when they logged in. They thought this would help create a more welcoming feeling. We showed them how to use Jumi to integrate Gravatar with Joomla:

Step #1. Install Jumi

  • Go to the Jumi page and click the "Download" button.
  • You will see two options. Choose the "Download" button for the version of Joomla you are using.
jumi gravatar
  • Login to your Joomla administrator area.
  • Go to Extensions > Extensions Manager.
  • Click Upload a Package File and upload Jumi. You'll see a success message:
jumi gravatar

Step #2. Create a Jumi application

Gravatar is based on email addresses, so please make sure you have a Gravatar account and use the same email for your Joomla account. 

Now we're going to create a Jumi application to show our gravatar.

  • Go to Components >> Jumi >> New
  • Fill in the the necessary fields:
    1. The name of your application
    2. The custom code. Add this code in Custom Script field to get the Joomla user data and gravatar image based on your email address
    3. <?php 
      $user = JFactory::getUser();
      ?>
      <img src="https://www.gravatar.com/avatar/<?php echo md5($user->email) ; ?>?s=260" />
      jumi gravatar
  •  

Step #3. Check the result 

  • Go to Menus >> Main menu >> Add new menu item
  • Fill the required fields:
    • Menu Item Type: Jumi Application
    • Jumi Applicationyour application name.
  • Click Save & Close.
  • Visit your public site and you are logged in, you would see your Gravatar on the page, as in the image below. If you are not logged in, the default gravatar will be displayed instead.
jumi gravatar

 If you don't want to show the Gravatar via a menu link, you can also use Jumi's modules to place the image in a sidebar.

 This article is brought to you by OSTraining

 

One more thing...

Do you have friends or a Facebook group who you think would find this useful? Share this with them and then let me know what they think.

Want to supercharge your website?

  Our website loads FAST ... just 1.29 seconds. We're hosted on FAST InMotion servers We want YOUR website to be fast too, so we've gotten you an exclusive deal - 47% OFF for DART Creations friends + FREE domain! Check it out NOW!

Translate

who are we?

DART Creations is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists

David attard

Follow us on Social

         

 

 

 

Popular Content

Joomla extensions to take your website to the NEXT level

Is your Joomla website reaching its full potential? We install many of these extensions on almost ALL of our Joomla sites - why don't you check them out our list of Joomla Extensions and see whether you can take your site to the next level?

Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to MaxCDN!

Web Hosting MaxCDN - Speed up your website

 

InMotion Hosting Review - Recommended Web Hosting servers for business, Joomla, WordPress and ecommerce websites.

InMotion Hosting Review

Advertise on DART-Creations.com

DART Creations is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)

The Outstanding HunGRYJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get this bundle for just $29 - This month ONLY!

The Hungry JPEG Awesome font bundles

New! DIVI 3.0 WordPress TeMPLATE + PageBuilder - 10% OFF Limited Launch offer

You'll surely create a perfect website with Divi 3.0!

Divi 3