[RC] Instant Messenger

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

[RC] Instant Messenger

Post by Dakin Quelia »

Modification Name: Instant Messenger
Author: Dakin Quelia

Modification Description:: This mods allows to get an instant messenger. To enable Instant Messenger you must to go in User Control Panel.
Modification Version:: 1.0.6

Requirements: -

Features:
  • Enable/disable the preference option Instant Messenger in UCP.
  • Enable/disable the preference option Instant Messenger in ACP.
  • Permission per group to send instant message.
  • Display the link in viewonline.
  • Display "Send an instant message" in the viewonline.

Screenshots:
  • French Screenshots
    • Image Image Image Image
      Image
  • English Screenshots
    • Image Image Image Image
      Image
Demo URL: None
Demo Username: None
Demo Password: None

Modification Download: Here

Please report any bug encountered.
Last edited by Dakin Quelia on Mon Jul 26, 2010 9:59 pm, edited 2 times in total.

zach'
Registered User
Posts: 44
Joined: Sat Nov 01, 2008 2:07 pm

Re: [RC] Instant Messenger

Post by zach' »

Hi,

Very good idea, is there some permission to send instant message ? :mrgreen:

User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: [RC] Instant Messenger

Post by Dakin Quelia »

Not for moment. Maybe in next release. ;)

zach'
Registered User
Posts: 44
Joined: Sat Nov 01, 2008 2:07 pm

Re: [RC] Instant Messenger

Post by zach' »

Dakin Quelia wrote:Not for moment. Maybe in next release. ;)
Sure it would be an interresting option, i will take a look of that ;)

Thanks,

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [RC] Instant Messenger

Post by darkonia »

woot dakin your first real mod...nice try xD

i will test :mrgreen: and bookmark

pls make screens in english, the most of us cannot speak french xD
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: [RC] Instant Messenger

Post by Dakin Quelia »

Oh, sorry. I'll make it. ;)

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Instant Messenger

Post by katib »

A great Mod
Can you make it pop up like this
http://yensdesign.com/tutorials/popupjquery/
instead of a a new window?

User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: [RC] Instant Messenger

Post by Dakin Quelia »

I look that. ;)

User avatar
Kynetic
Registered User
Posts: 84
Joined: Sun Sep 27, 2009 7:11 pm
Location: France
Contact:

Re: [RC] Instant Messenger

Post by Kynetic »

very nice mod, congrats Dakin ;) (i've this on my board and it's very simply to use)

User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: [RC] Instant Messenger

Post by Dakin Quelia »

But I have corrected some errors. The guest can not use Instant Messenger. :)

lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: [RC] Instant Messenger

Post by lovelysummer »

HI ,

I have just tested it in my localhost, to write the message pop up window header appears following line error

Code: Select all

[phpBB Debug] PHP Notice: in file /instant_messenger.php on line 141: Undefined variable: s_message
Secondly,
Guest will have the following error in the header of index page.

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4515: Undefined variable: s_im_new
Besides, I would like to know where to enable and disable the option in ACP. ;)

Thanks

User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: [RC] Instant Messenger

Post by Dakin Quelia »

For errors, it's strange. I have corrected php file. :?

To enable option, you must go in ACP / Users and Groups / Manager User. In profile then preferences. ;)

Edit by - Dakin Quelia -
Reason: I have corrected BUT I have missed to add file in pack. Download again. ;)

Open « includes/functions.php ».

Find:

Code: Select all

    if ($user->data['is_registered'] && $user->data['user_id'] != ANONYMOUS )  
Before add:

Code: Select all

    $s_im_new = false;  

lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: [RC] Instant Messenger

Post by lovelysummer »

Hi again,
Replaced the php file now works fine. And do the edits again in includes/functions.php , no more error lines. :)

I hope you can consider the followings in add_im_index.xml. Just personal preference.
onClick should be onclick. And img src should have alt="" attribute and no border attribute. :)

Thanks for your nice mod :D

User avatar
Dakin Quelia
Registered User
Posts: 300
Joined: Thu Feb 14, 2008 10:07 pm
Location: Belgium
Name: Daniel Chalsèche
Contact:

Re: [RC] Instant Messenger

Post by Dakin Quelia »

lovelysummer,

I take notes of your advices. ;)

Edit by - Dakin Quelia -
Reason: Package updated / English screenshots added.

pororo
Registered User
Posts: 25
Joined: Tue Apr 20, 2010 3:04 pm

Re: [RC] Instant Messenger

Post by pororo »

Just a suggestion.
1. Change MOD name from Instant Messenger to Instant PM.
2. As katib suggested, make it so that a little popup window opens to send instant PM.
3. Guest not allowed to send instant PM <- from the above post, I guess this is done. :)
4. Put an SQL command in the XML file so that if the admin wishes, change all users preference to receive PM's.
Good job! :mrgreen:

Locked

Return to “[3.0.x] MODs in Development”