MyBB Community Forums

Full Version: Messenger Status Indicator Icons in Posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2009-02-19, 06:33 PM)Tom Loveric Wrote: [ -> ]1) For now, yes - it will only be in the user's profile until I advance my MyBB coding skills.
2) Don't forget though, if I do do this - it will require you to install Yumi's PHP and template conditionals plugin
mhm ok thats bad than Sad
I really just need it under the posts Confused
From maverick's skype plugin code it looks pretty simple just to add the graphics between the PN Button, but i dont get how to get the Messenger Values from the Profile for the IMG Urls...
Anys news with this?
I don't thank this this would work, because on MSN users have the option to only appear online to people on there contact list. So if you did this, people would always appear offline.

I think..?
Changing your status to viewable on MSN is something most people seem to do.. I am able to get most of their status values correctly using a tool I found at http://osi.techno-st.net:8000/ - I've already done that part in the instructions below, so skip it unless you want to add other IM icons from there.

Instructions:

Using it to generate the code, I then just extract (copy to clipboard) the <img src=""> section of it's output, then...

1. open <bb root>/styles/<style name>/template/memberlist_view.html in a text editor.

2. Search for something like this, then take the cursor to the end of this quote..
<!-- IF U_MSN or USER_MSN --><dt>{L_MSNM}:</dt> <dd><!-- IF U_MSN --><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_MSNM_MESSAGE}</a><!-- ELSE -->{USER_MSN}<!-- ENDIF -->

3. Add the following, inline..
<br /><img src="http://osi.techno-st.net:8000/msn/{USER_MSN}/onurl=osi.techno-st.net/icon/msn/22_on.png/offurl=osi.techno-st.net/icon/msn/22_off.png/unknownurl=osi.techno-st.net/icon/msn/22_off.png">

4. Save, then check it out by clicking your name & looking in your profile.

If your changes don't appear, a founder can "Purge the cache" in admin panel/general.. you may also need to refresh your templates under the style tab, depending if you're file system or database based templates.

You can preview mine at http://forums.drugcrew.com.

I spent a fair while researching this, for the same reasons as you guys - I post this because I wish more people had.. so it wouldn't have taken me ages 8)

*edit* omfg I though this was a phpbb site - LOL - these instructions are for phpBB, but maybe they will still help.. the concept is still valid.

Enjoy.
that made me lol:
Quote:*edit* omfg I though this was a phpbb site - LOL - these instructions are for phpBB, but maybe they will still help.. the concept is still valid.
Anyway, the instructions you posted depend on that website (http://osi.techno-st.net). If it's down, the button won't work either
Pages: 1 2