Saturday, May 18, 2013
   
Text Size

Favourites Email Print

How to integrate ODude Profile to my component ?

Author:
Administrator
Date added:
Monday, 18 January 2010
Last revised:
Monday, 18 January 2010
Hits:
7000
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

After the integration of ODude Profile, your component can display user's profile picture.

For this users should install "ODude Profile Picture Plugin" which can be downloded from "Files & Updates".


You can enable profile picture by two way.

  1. [username] : By Username of user
  2. [email] : By Email Address of user

You can have 3 sizes of profile picture

  1. [icon] : Small size of image
  2. [thumb] : Medium size of image
  3. [photo] : Large size of image

All you have to do is include below 2 line php code into the component.

<?php
$dispatcher =& JDispatcher::getInstance();
$dispatcher->trigger('getProfilePic', array('[ username / email ]','[ user name / any_email_address@hotmail.com ]','[ icon / thumb / photo ]' ));

?>

For example:


To display profile picture of username Jenny of Medium size

$dispatcher =& JDispatcher::getInstance();
$dispatcher->trigger('getProfilePic', array('username','Jenny','thumb' ));



To display profile picture of email address someone@yahoo.com

$dispatcher =& JDispatcher::getInstance();
$dispatcher->trigger('getProfilePic', array('email','someone@yahoo.com','photo' ));



If  'ODude profile picture plugin' is not installed than it will normal without picture profile.
It will not generate any error message.

Category

Comments  

 
#12 Administrator 2011-03-17 02:29
Quoting Adrian:
does odude profile has its own login module or is using Joomla's ?
thank you

It's default Joomla Login Module.
 
 
#11 Adrian 2011-03-16 19:52
does odude profile has its own login module or is using Joomla's ?
thank you
 
 
#10 Adrian 2011-03-11 11:12
Any idea when the new version may come up ?
Thanks
 
 
#9 Administrator 2011-03-11 08:39
Quoting Adrian:
Thank you admin for your reply.
I actually had one more question (6)probably wasn't visible

Anyway I am trying to extend or modify the area of info that odude profile can collect in the process of registering a new user.
Is there a way to do this or is there a way to have odude component importing the user date from extendedreg component ( published on Joomla website under extensions)
Thank you

Wait for the next version. At least you can add extra filed but will not be used during the time of registration. After user logged in can add more details.
 
 
#8 Adrian 2011-03-10 20:37
Thank you admin for your reply.
I actually had one more question (6)probably wasn't visible

Anyway I am trying to extend or modify the area of info that odude profile can collect in the process of registering a new user.
Is there a way to do this or is there a way to have odude component importing the user date from extendedreg component ( published on Joomla website under extensions)
Thank you
 
 
#7 Administrator 2011-03-09 06:38
Quoting Adrian:
Hi,
GREAT COMPONENT THANKS !...but just few small questions:

1) How can I not show on the user profile the area " ADD POINTS "
2) eliminate "log as ....." link
3) what the process ( if possible ) to update/change the profile
4 ) for a normal joomla user in which file should be added the code you gave above?
5) is there a backlink on the commercial version?
THANK YOU !

1- This should be done manually. You need to edit user.php under components/com_odudeprofil e/view
2- Same as no.1 question.
3- Question not clear. Create menu to edit/profile.
4- code above is only for component developer.
5- This version is FREE. No commercial. Only extensions are commercial which doesn't have backlink.
6- New version will have this option. Under development.
 
 
#6 Adrian 2011-03-08 17:30
...and YES sorry one more question:
6) is there a way to add more fields to the registration form/profile ( something like favorite colour for instance )?
 
 
#5 Adrian 2011-03-08 17:23
Hi,
GREAT COMPONENT THANKS !...but just few small questions:

1) How can I not show on the user profile the area " ADD POINTS "
2) eliminate "log as ....." link
3) what the process ( if possible ) to update/change the profile
4 ) for a normal joomla user in which file should be added the code you gave above?
5) is there a backlink on the commercial version?
THANK YOU !
 
 
#4 Administrator 2010-10-26 03:12
Quoting Kay:
Hi. where can I translate english to other languages?

Thanks.


Edit the [joomla_root]\l anguage\en-GB\en-GB.com_odudeprofil e.ini

Replace with your desired text.
 
 
#3 Kay 2010-10-24 01:34
Hi. where can I translate english to other languages?

Thanks.
 

Add comment


Security code
Refresh