get the user name using GUID
These below code help us to get the user guid,name & usename in Elgg
$user_guid = get_input(‘user_guid’);
echo $user_guid;
$user = get_user($user_guid);
echo $user->name;
// Similarly for Username like below..
echo $user->username;
Advertisements
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
Blog Stats
- 11,367 hits
Vijayakumar Blog
- get the user name using GUID May 17, 2011These below code help us to get the user guid,name & usename in Elgg $user_guid = get_input(‘user_guid’); echo $user_guid; $user = get_user($user_guid); echo $user->name; // Similarly for Username like below.. echo $user->username; Advertisementsvijayakumarraja
- get the current user GUID in Elgg May 17, 2011$user_guid = get_input(‘user_guid’); echo $user_guid;vijayakumarraja
- Id & Class in CSS May 16, 2011It is often hard to decide when to use a class versus an id for an element. Here is an easy way to think of the difference: Use a class tag if: The style is used in various places throughout the document. The style is very general. Use an id tag if: The style is […]vijayakumarraja
- How to set radiobox checked in Elgg April 28, 2011In Normal HTML we can easily set radio box checked as like below.. But what we do if we use PHP & also especially in Elgg,vijayakumarraja
- Get the value of selected radio box April 28, 2011alert($('input[name=color]:checked').val())vijayakumarraja
- Function in JQuery April 8, 2011Once i want to execute same set of codes for two common events in jquery. ie, i want to execute the code while 1 . Changes occur in dropdown 2 . While page Load. At, that time i planned to use bind() function.But if i use bind() i should use the same code for two […]vijayakumarraja
- Count Functions in elgg March 31, 2011Once i need the total no of blogs in archieves part..ie, under every month …at the time i used many functions.But, finally one default elgg library function helps me to get that couunt.. echo count_user_objects($page_owner->getGUID(),‘news’,$timelower,$timeupper); it displays the number of news post in each month..vijayakumarraja
- CSS Tips February 10, 2011How to avoid browser conflict while using Tag.. It is the best practise to set paragraph tag () padding & margin as 0px.It working nice in Firebox & Conflict in other Browsers.. Example: P { margin:0px; padding:0px; }vijayakumarraja
- list in CSS February 4, 2011How to set background image for list item : Steps: 1.First of all to remove tle default list padding & margin set this as 0px. padding:0px; margin:0px; 2.Then,remove the list-style. list-style-type:none; 3.Then, set the Background image. background:url( ‘ images/bullet.gif ‘ ); Example: .menu ul { padding:0px; margin:0px; } .menu ul li { background:url […]vijayakumarraja
- Limit the String length in Elgg : February 1, 2011Limit the String length in Elgg : elgg_get_excerpt( $text, $num_chars = 40); It will limit the no of characters in $text to 40 and … is added at the end if it is more than 40.vijayakumarraja
What U Want ?
Categories
Flickr Photos
- Good Afternoon 6 years ago
- @DC_Short_Sales hi 7 years ago
- @chennaiparents Hi ChennaiParents Community 7 years ago
- what is th use of twitter 7 years ago
- dfgsdgsda 7 years ago
2010 batch recruitment
2010 job openings
annavasal
Aptitude
array functions
chess board
chessboard formula
codings for store & retrive datas using php
converter software
define web 2.0
definition of web 2.0
Elgg
english to tamil
english to tamil converter
Essential websites
Familar Quote's
Familiar Quote's
Fresher IT jobs
Fruit stall in illuppur
Fruit stall in Pudukkottai
get in tamil
how keep files in online
how to count the squres in chessboard
How to create eclipse file
how to download & install xampp in ubuntu
how to get more hit
how to install xampp
how to popular our website
How to run php in eclipse
how to type in tamil
html form codings
HTML form using PHP
Illuppur
illuppur collections
Illuppur Data's
Illuppur Map
illuppur survey
jobs in chennai
Map
Motivation
Motivational Quotations
open source
open source products
PHP & MySQL
php coding
Pudukai District Map
pudukkottai
Quotations
Quote's
Raja Fruit Stall
Rajamangai Shop
rectangles in chessboard
rss feed
squares in chessboard
success website
tamil
tamil keyboard
TCS recruitment
upload & download files
upload photos in online
upload ppt
Villages in Pudukkottai
Web 2.0
web 2.0 meaning
What is Elgg
what is open source?
what is WEB 2.0
winner
winner Quotations
winner Quote's
xampp
Xampp installation
xampp in ubuntu
ஆங்கிலத்தில் அச்சு செய்து தமிழில் பெருக....
தமிழ்
Advertisements