Welcome, Guest. Please Login or Register.
November 01, 2024, 03:34:12 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [DONE 1.5.1] New Indicator for IMs « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [DONE 1.5.1] New Indicator for IMs  (Read 8519 times)
VI
Jr. Member
**
Posts: 89


[DONE 1.5.1] New Indicator for IMs
« on: April 07, 2003, 08:52:32 PM »
Reply with quote

UPDATE: 15.04.03 (incl. dutch.lng)

I made the New Indicator for IMs compatible for YabbSE 1.5.1._final.

Here is the Link to download
http://www.epublic.de/YaBB151mods/new-IM-indicator_1.5.1_final.zip

The original mod was made by Mach8 - you could check it here: http://www.yabbse.org/community/index.php?board=158;action=display;threadid=10113


The mod changes the indicator from this look


to this one

the pics are from the old thread!


it allthough includes german.lng and dutch.lng now.

It's my first mod. Don't angry if there's a mistake :-*

« Last Edit: April 15, 2003, 08:44:56 AM by VI » Logged
BiErLeEuW
Full Member
***
Posts: 174


WWW
Re:[done 1.5.1] New Indicator for Ims
« Reply #1 on: April 15, 2003, 08:04:21 AM »
Reply with quote

Can you tell me what lines on english file must be translate to dutch? I will use this mod but in Dutch-Mode :)
Logged
BiErLeEuW
Full Member
***
Posts: 174


WWW
Re:[done 1.5.1] New Indicator for Ims
« Reply #2 on: April 15, 2003, 08:11:46 AM »
Reply with quote

I must see this:

Hey, Bierleeuw, you have 0 instant messages
April 15, 2003, 09:59:39 am


in dutch this:

Hey, Bierleeuw, je hebt 0 berichten
April 15, 2003, 09:59:39 am


but i see this:

Hoi, Bierleeuw, je hebt 0
April 15, 2003, 10:00:57 am


So i am missing the word "berichten"....... a fault on the mod or something i must translate from english?
Logged
VI
Jr. Member
**
Posts: 89


Re:[done 1.5.1] New Indicator for Ims
« Reply #3 on: April 15, 2003, 08:39:28 AM »
Reply with quote

You have to code this:


<edit file>
dutch.lng
</edit file>

<search for>
$txt['newmessages0'] = 'is';
$txt['newmessages1'] = 'zijn';
$txt['newmessages2'] = 'nieuw';
$txt['newmessages3'] = 'Nieuw';
$txt['newmessages4'] = ',';
</search for>

<add after>
$txt['newim1'] = 'bericht';
$txt['newim2'] = 'berichten';
</add after>



If the singular of "berichten" is "bericht" than the translation is right.

You can also download the update of this mod. I just include the dutch translation!

Tell me if "bericht" is the wrong translation!
« Last Edit: April 15, 2003, 08:41:45 AM by VI » Logged
BiErLeEuW
Full Member
***
Posts: 174


WWW
Re:[done 1.5.1] New Indicator for Ims
« Reply #4 on: April 15, 2003, 10:16:27 AM »
Reply with quote

tnx :) if i am back at home i will install it
Logged
Dem0n
Full Member
***
Posts: 107


WWW
Re:[done 1.5.1] New Indicator for Ims
« Reply #5 on: April 24, 2003, 08:49:38 PM »
Reply with quote

i installed this mod and it all works bu instead of saying you have 1 message then the new.gif file it just says you got 1 and then the image, any ideas?  
Logged

Raytheon
Noobie
*
Posts: 13


Re:[done 1.5.1] New Indicator for Ims
« Reply #6 on: April 25, 2003, 06:05:41 AM »
Reply with quote

Replace the code

if ($munred == 1)
         $isare = $txt['newmessages0'];
      else
         $isare = $txt['newmessages1'];
      if ($mnum == '1')
         $yyim = "$txt[152] <a href=\"$cgi;action=im\">$mnum $txt[471]</a>$txt[newmessages4] $munred $isare $txt[newmessages2].";
      else
         $yyim = "$txt[152] <a href=\"$cgi;action=im\">$mnum $txt[153]</a>$txt[newmessages4] $munred $isare $txt[newmessages2].";


with this

if ($munred > 0)
      {
         $impic = " <img src=\"$imagesdir/new.gif\" border=\"0\">";
         $isare = $txt['newmessages0'];
         }
      else
      {
         $impic = "";
         $isare = $txt['newmessages1'];
         }
      if($mnum == "1")
         $yyim = "$txt[152] <a href=\"$cgi;action=im\">$mnum $txt[471]</a>$txt[newmessages4] $munred $isare $txt[newmessages2].<a href=\"$cgi;action=im\">$impic</a>";
      else
         $yyim = "$txt[152] <a href=\"$cgi;action=im\">$mnum $txt[153]</a>$txt[newmessages4] $munred $isare $txt[newmessages2].<a href=\"$cgi;action=im\">$impic</a>";
      if ($maintenance)


and you get what you need
Logged
VI
Jr. Member
**
Posts: 89


Re:[done 1.5.1] New Indicator for Ims
« Reply #7 on: April 25, 2003, 06:09:05 AM »
Reply with quote

there must be something wrong with the language-file. Which language is activated? This mod supports only german.lng | english.lng | dutch.lng and nothing else.

Your avatar shows the amarican flag ::)
if you're using the english.lng, please check your file for this code:
<search for>
$txt['newmessages0'] = 'is';
$txt['newmessages1'] = 'are';
$txt['newmessages2'] = 'new';
$txt['newmessages3'] = 'New';
$txt['newmessages4'] = ',';
</search for>

<add after>
$txt['newim1'] = 'instant message';
$txt['newim2'] = 'instant messages';
</add after>


Let me know for any problems.
Logged
VI
Jr. Member
**
Posts: 89


Re:[done 1.5.1] New Indicator for Ims
« Reply #8 on: April 25, 2003, 06:31:32 AM »
Reply with quote

thx @ Raytheon by  VI :)
Logged
charlottezweb
Sr. Member
****
Posts: 446


charlottezweb.com

ICQ - 101387162 WWW
Re:[done 1.5.1] New Indicator for Ims
« Reply #9 on: May 10, 2003, 10:24:45 PM »
Reply with quote

Thanks VI...was looking for this since i lost it when i upgraded to 1.5.2

Logged

"yabb-sense makes the heart grow fonder"
-----------------------------------------------------
Charlottezweb.com
Reliable, well-supported & affordable hosting and design.  Free Yabbse installs.
supamike
Jr. Member
**
Posts: 53


I'm... a llama!?

Re:[done 1.5.1] New Indicator for Ims
« Reply #10 on: July 08, 2003, 04:52:41 PM »
Reply with quote

Does anyone know if this mod works for 1.5.4? It looks pretty nifty...

I guess it's because it's only been out just under a month, but there doesn't seem to be very many updated mods for 1.5.4 yet. Hopefully peeps will update some of these soon.

8)
Logged
Jack.R.Abbit
Mod Team
YaBB God
*****
Posts: 553


RACE FOR SPENT!

Re:[done 1.5.1] New Indicator for Ims
« Reply #11 on: July 08, 2003, 08:36:59 PM »
Reply with quote

Quote from: supamike on July 08, 2003, 04:52:41 PM
Does anyone know if this mod works for 1.5.4? It looks pretty nifty...

I guess it's because it's only been out just under a month, but there doesn't seem to be very many updated mods for 1.5.4 yet. Hopefully peeps will update some of these soon.

8)
1.5.4 was mostly security fixes with a few bug fixes I think.  The changes are pretty minimal so I would suspect that most mods that work with 1.5.3 will work with 1.5.4 as well.  The best thing to do to is do a test install.  If it works, then you have your answer.  ;)  do a backup of course

-Jack
Logged

<--------  Mods by Jack  -------->
Package Server: http://www.modsbydesign.com/mods.by.jack/yabbse/ (now serving)


|----------------------------------------------|
|                                              |
|          DON'T PM ME FOR SUPPORT!             |
|                                              |
|----------------------------------------------|
supamike
Jr. Member
**
Posts: 53


I'm... a llama!?

Re:[done 1.5.1] New Indicator for Ims
« Reply #12 on: July 08, 2003, 09:21:37 PM »
Reply with quote

Thanks for the info, Jack -- I wasn't quite sure.  ;)

FYI: I've tested and installed this mod on 1.5.4 and it works great!

The only little change I made was to remove the word "instant" from the text so it just says "message", since I prefer to call them "personal" messages.


« Last Edit: July 08, 2003, 09:23:20 PM by supamike » Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [DONE 1.5.1] New Indicator for IMs « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.038 seconds with 20 queries.