MyBB Community Forums

Full Version: PPI (Posting Profile Icon) release
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hello my name is pachel and i'm just new to MyBB plugins I will make more.
But heres the first release of the Profile Posting Icon plugin it shows images of instant messengers if the person filled them out.
If you have any ideas to add to this plugin tell me.

http://litesoft.info to see further information and price.


Greetings,

pachel
mind including xfire? found here:
http://www.xfire.com

that's the messenger program gamers like myself use...it would be greatly appreciated...
Nice! Can we use our own icons instead of the ones pictured?
Not bad...I would write this a litte differently though. You have the $post for each of the options but I would instead add a single one and do something like this:

function ppi_parse_details(&$post)
{
	if ($post['msn'])
	{
		$post['ppidet'] .= '<a href="javascript:;" onclick="MyBB.popupWindow(\'misc.php?action=imcenter&amp;imtype=msn&amp;uid=' . $post['uid'] . '\', \'imcenter\', 450, 300);"><img src="images/msn.gif" title="Msn"></a>';
	}
        if($post['icq'])
        {
                $post['ppidet'] .= '<a href="javascript:;" onclick="MyBB.popupWindow(\'misc.php?action=imcenter&amp;imtype=icq&amp;uid=' . $post['uid'] . '\', \'imcenter\', 450, 300);"><img src="images/icq.gif" title="Icq"></a>';
        }
        if($post['yahoo'])
        {
                $post['ppidet'] .= '<a href="javascript:;" onclick="MyBB.popupWindow(\'misc.php?action=imcenter&amp;imtype=yahoo&amp;uid=' . $post['uid'] . '\', \'imcenter\', 450, 300);"><img src="images/yahoo.gif" title="Yahoo"></a>';
        }
        if($post['aim'])
        {
                $post['ppidet'] .= '<a href="javascript:;" onclick="MyBB.popupWindow(\'misc.php?action=imcenter&amp;imtype=aim&amp;uid=' . $post['uid'] . '\', \'imcenter\', 450, 300);"><img src="images/aim.gif" title="Aim"></a>';
        }
        if($post['website'])
        {
                $post['ppidet'] .= '<a href="' . $post['website'] . '" target="_blank"><img src="images/web.png" title="Website"></a><br />';
        }
}

That way you only need to add {$post['ppidet']} to the template. Would look a bit cleaner but should work the same. Also place the row in a span and use the no white space as style.

Also would make upgrading and adding a simple plugin edit vs also editing the template.
thanks for all your replys people and labrocca thanks for your advice.
a4..mind showing us your icons you're going to use.
Xfire can be included to and myspace to.
and yes you can just change the icons just take the same name and the extensions your gone replace.
nice thanks pachel..
I got them from vB Image Works I think. Lemme see if I can find 'em. I'll edit when I do.
Here 'ya go. You have to register, but here's a preview:
[Image: previewblackvf3.png]
nice work
thank you for this plugin
very good

but .. can i put skype icon ??
Pages: 1 2 3