ODude Profile
Developer
How to integrate ODude Profile to my component ?
How to integrate ODude Profile to my component ?
- Author:
- Administrator
- Date added:
- Monday, 18 January 2010
- Last revised:
- Monday, 18 January 2010
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.
- [username] : By Username of user
- [email] : By Email Address of user
You can have 3 sizes of profile picture
- [icon] : Small size of image
- [thumb] : Medium size of image
- [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.



Comments
It's default Joomla Login Module.
thank you
Thanks
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.
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
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) is there a way to add more fields to the registration form/profile ( something like favorite colour for instance )?
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 !
Edit the [joomla_root]\l anguage\en-GB\en-GB.com_odudeprofil e.ini
Replace with your desired text.
Thanks.
RSS feed for comments to this post.