MyBB Community Forums

Full Version: PHP/MyBB Display member's avatar & their profile link to their names? (chatbox)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good day sirs,
As title said, im currently using DyMy Cbox Chat which can be found here: http://mods.mybb.com/view/dymy-cbox-chat as my main chatbox.

It perfectly works like a charm tho i need upgrade as premium to make it work.

But my question is, How can i add & display my user/member's avatar & make their name clickable with their profile's link?
This is the integration code to display avatar & profile link: (this should be placed right after {$cbox_userkey}
&amp;pic=<?php echo urlencode($avatar_url)?>&amp;lnk=<?php echo urlencode($profile_url)?>&amp;ekey=<?php echo md5("1c74e6me5bojaag2"."\t".$avatar_url."\t".$profile_url)?>
Change $avatar_url and $profile_url to the correct variables for the context. Note that they both appear twice.

Hope someone could help me up with this, i guess this would be easy for those who are experience with php & mybb.

Thank you so much in advance sir! Smile