Hi, is there a ssi function for newest member so i can put on right side of block of portal with pic?
peter :)
Thanks
<?php ssi_latestMember(); ?>
--------------------------------
add in a phpbox: ssi_latestMember(); <--
remove:
<?php
?>
rick also check out the block code snippets index (http://www.tinyportal.net/smf/index.php?topic=4983.0) and search for "newest member" there is one which will do exactly what u want: show newest member with their avatar :up:
With there Avatar?.. very interesting.
chere is the block one:
global $memberContext;
$user_id = $context['common_stats']['latest_member']['id'];
loadMemberData(array($context['common_stats']['latest_member']['id']));
loadMemberContext($user_id);
if (!empty($memberContext[$user_id]['avatar']['image']))
echo '<div align="center">'.$memberContext[$user_id]['avatar']['image'].'<BR>'.$context['common_stats']['latest_member']['link'].'</div>';
else
echo '<div align="center"><img src="YOUR IMAGE LOCATION"><BR><BR>'.$context['common_stats']['latest_member']['link'].'</div>';
its a code written by Jcortina
displays both avatar and member title :UP:
instead of "YOUR IMAGE LOCATION" put the address of the image to show when user has no avatar
hi,can you have just there name and your own pic
see below:
http://www.rebelrosenetworks.com/forum/index.php
as newest member
p.s never new the snippet codes excist
GREAT THANKS
i put the code above for you :up:
put that in a PHPbox as a side block :)
Thanks mate :up:
Love tp ;D
welcome :up:
theres just a red cross,sorry and is there a avatar on registration for rc3
peter
u have to upload an image and set its address in the place where it says YOUR IMAGE LOCATION
here is a good image to use
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fforum%2Fnoava.gif&hash=18b256714f4b33525b768313e82324e95a99c536)
be sure to put the full adress to where u upload the image
ok i will have a go and let you no :up:
sorted :up:
good :)