Welcome, Guest. Please Login or Register.
April 19, 2024, 06:25:45 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  |  [Beta 1.5.1] AdvIM « previous next »
Pages: 1 2 3 [4] 5 6 ... 15 Reply Ignore Print
Author Topic: [Beta 1.5.1] AdvIM  (Read 45298 times)
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.0] AdvIM
« Reply #45 on: January 17, 2003, 09:30:11 PM »
Reply with quote

Good point, didn't notice that before, I'll change it in the next version.

Oh and I'll put message order as an mod settings option, either by date ascending or descending. I was thinking of having the option to order by things like name but I will leave it out for now.
« Last Edit: January 17, 2003, 11:25:46 PM by Gobalopper » Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.0] AdvIM
« Reply #46 on: January 18, 2003, 07:54:40 AM »
Reply with quote

Ok I've now made the file available on my server. Let me know of any bugs. I hope to have another update with ordering by date this weekend.

There are still some hardcoded English phrases, I will move those to the .lng in the next version.
« Last Edit: January 18, 2003, 08:07:09 PM by Gobalopper » Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.0] AdvIM
« Reply #47 on: January 19, 2003, 10:26:57 AM »
Reply with quote

Ok new version out.

RC 4:
-you can now order IMs by name, subject, and date
-a default ordering can be choosen on the mod settings page
-improvements to javascript code for checking off messages, they are now highlighted when selected
-1 is the smallest number of IMs you can set, anything else will default back to 1
-added in the missing $txt phrases
-fixed some queries that wouldn't always return all results
Logged
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta 1.5.0] AdvIM
« Reply #48 on: January 19, 2003, 12:52:48 PM »
Reply with quote

Ok, the new version also has a bug.

Includes the news to be archived one apostrophe (') or a backslash (\) isn't the message archived!

InstantMessage.php in this one function IMBackup add:

  $subject = mysql_escape_string($subject);
   $body = mysql_escape_string($body);
excuse my bad one English
« Last Edit: January 19, 2003, 01:44:23 PM by MC600 » Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta 1.5.0] AdvIM
« Reply #49 on: January 19, 2003, 01:45:15 PM »
Reply with quote

function IMBackup()
{
   global $username, $txt, $yySetLocation, $cgi, $caller, $id, $db_prefix, $ID_MEMBER, $modSettings, $settings;

   checkSession('get');

   if ($username == 'Guest')
      fatal_error($txt[147]);

   $field = ($caller == 1) ? 1 : 0;

   $check = mysql_query("SELECT deletedBy,ID_MEMBER_TO,toName,ID_MEMBER_FROM,fromName,msgtime,subject,body FROM {$db_prefix}instant_messages WHERE (ID_IM=$id AND ID_MEMBER_" . ($caller == 1 ? 'TO' : 'FROM') . "='$ID_MEMBER')");
   list ($db,$toID,$toName,$fromID,$fromName,$msgtime,$subject,$body) = mysql_fetch_row($check);

   $subject = mysql_escape_string($subject);
   $body = mysql_escape_string($body);
Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:[Beta 1.5.0] AdvIM
« Reply #50 on: January 19, 2003, 03:18:54 PM »
Reply with quote

Awesome mod. Any chance you would code it also with 1.3.x-1.4.x  coding standards? I tried to change everything to work with my board but didn't get it to work, mainly the mod settings page didn't work no matter what I did.

I think this would a mod which would be awesome for also those users who aren't using 1.5.0 yet.
Logged
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta 1.5.0] AdvIM
« Reply #51 on: January 19, 2003, 04:01:20 PM »
Reply with quote

I have written it, see here, for 1.4.x: IM Archiv
Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:[Beta 1.5.0] AdvIM
« Reply #52 on: January 19, 2003, 04:02:54 PM »
Reply with quote

If I understood german correctly your mod only has the archive or backup function of this mod? I'm more interested about the other functions this mod has, arranging messages by different types and limiting the amount of messages a user can have. :)

Thank you anyway for the tip.
« Last Edit: January 19, 2003, 04:07:26 PM by Hypocrite » Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.0] AdvIM
« Reply #53 on: January 19, 2003, 08:36:20 PM »
Reply with quote

Hypocrite I don't have any plans to make this backwards compatible as I've got a bunch of other mods I want to write first. Someone else can do it though and I may come back later to do it myself.

Thanks for the heads up MC600. I've fixed that and I also forgot to include the javascript file so I've reuploaded RC4 to my server.

btw, does anyone want to write the changes to german.lng for me?
Logged
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta 1.5.0] AdvIM
« Reply #54 on: January 19, 2003, 09:31:06 PM »
Reply with quote

Quotebtw, does anyone want to write the changes to german.lng for me?

How come you onto it that one here of one German talks about the fact  ;D
Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta 1.5.0] AdvIM
« Reply #55 on: January 20, 2003, 12:07:29 AM »
Reply with quote

// Advanced IM Mod Text
$txt['advim1'] = 'IM Sichern';
$txt['advim2'] = 'Backupbox';
$txt['advim3'] = 'IM Anzeigen';
$txt['advim4'] = 'Diese Nachricht sichern';
$txt['advim5'] = 'Weitere IM Einstellungen';
$txt['advim6'] = 'Begrenzung der IM\'s je Box';
$txt['advim7'] = 'IM\'s sortieren nach:';
$txt['advim8'] = 'Datum aufsteigend';
$txt['advim9'] = 'Datum absteigend';
$txt['advim10'] = 'Betreff aufsteigend';
$txt['advim11'] = 'Betreff absteigend';
$txt['advim12'] = 'Absender aufsteigend';
$txt['advim13'] = 'Absender absteigend';
$txt['advim14'] = '% gefüllt.';
$txt['advim15'] = 'Ihr Posteingang ist ';
$txt['advim16'] = 'Ihr Postausgang ist ';
$txt['advim17'] = 'Ihre Backupbox ist ';
$txt['advim18'] = 'Eine Kopie im Postausgang anlegen.';
$txt['advim19'] = 'Fehler: Der Posteingang des Empfänger ist voll. Bitte versuchen Sie die Nachricht später zu senden.';
$txt['advim20'] = 'Fehler: Sie künnen diese Nachricht nicht senden. Es ist nicht genügend Platz im Postausgang. Bitte lüschen Sie zuerst einige Nachrichten im Postausgang.';
$txt['advim21'] = 'Fehler: Sie künnen diese Nachricht nicht sichern. Es ist nicht genügend Platz in der Backupbox. Bitte lüschen Sie zuerst einige Nachrichten in der Backupbox.';
Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.0] AdvIM
« Reply #56 on: January 20, 2003, 12:31:46 AM »
Reply with quote

Thanks for the translation MC600, if only I knew some German. :)
I will take a look at your mod tomorrow MC600, it sounds fairly similar to mine, is there an English translation for it too?

I think I've found a way to avoid creating a new table to stored your backupbox messages. I don't know if it will work yet but if it does I will include it in the next version.
« Last Edit: January 20, 2003, 12:33:36 AM by Gobalopper » Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.0] AdvIM
« Reply #57 on: January 20, 2003, 04:46:19 AM »
Reply with quote

Ok RC5 is out. I think I've made it work without having to use a second table for storing the backupbox messages. Please do some testing with that aspect and let me know if you have problems. Its a bit of a hack, using a readBy of -1 to say you've backed the message up and then deletedBy to say whether the person storing it is the sender or receiver. It should work though! :)
Logged
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta 1.5.0] AdvIM
« Reply #58 on: January 20, 2003, 08:04:32 AM »
Reply with quote

if I try to delete a message from the Backupbox, I receive the following error message:

Quote2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
(C:\wampp2c\htdocs\yabb150mod\Sources\InstantMessage.php ln 979)

or

Quote2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
(C:\wampp2c\htdocs\yabb150mod\Sources\InstantMessage.php ln 943)

much joke  ;D
Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.0] AdvIM
« Reply #59 on: January 20, 2003, 08:14:47 AM »
Reply with quote

Hehe, and I was just about to goto sleep. :)

I will take a look, probably a typo in my query.
Logged
Pages: 1 2 3 [4] 5 6 ... 15 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1] AdvIM « 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.