Welcome, Guest. Please Login or Register.
March 28, 2024, 09:52:04 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1] AdvIM « previous next »
Pages: 1 ... 9 10 [11] 12 13 ... 15 Reply Ignore Print
Author Topic: [Beta 1.5.1] AdvIM  (Read 44995 times)
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Beta 1.5.1] AdvIM
« Reply #150 on: April 21, 2003, 05:47:52 PM »
Reply with quote


Something doesnt work:

If you go to the IM Menü, and select one or more Messages, and you try to backup,  they are deletet, and you dont find them in the Backup Box.

Only if you view a PM, and then backup it, only then they are in the Backup Box...

Do you make a fix for it?

Surfy
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #151 on: April 27, 2003, 12:00:31 PM »
Reply with quote

Surfy do you have other mods installed? This doesn't happen on my boards so make sure you have the latest version of the mod.
« Last Edit: May 01, 2003, 02:49:51 AM by Gobalopper » Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Beta 1.5.1] AdvIM
« Reply #152 on: April 28, 2003, 03:03:21 PM »
Reply with quote

Quote from: Gobalopper on April 27, 2003, 12:00:31 PM
Surfy do you have other mods installed? This doesn't happen on my boards so make sure you have the latest version of the mod.

I have installed many Mods.  All other things works well, also to Backup IMs if I view them. But if i select some IM`s (also if i select one IM) from the IM Mainmenü, then they go lost if i backup them..

Where could be the error? I have used a lot of time to Mod my Board, i hope that i didnt have the start again  :-[

In which File could be an error?

Surfy
Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Beta 1.5.1] AdvIM
« Reply #153 on: April 28, 2003, 03:27:04 PM »
Reply with quote


Now i have uninstall it manually.

All Code things was correct.....

what the f*** cause that the backup-box didnt work?

Surfy
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #154 on: April 28, 2003, 06:23:39 PM »
Reply with quote

Again what version were you using? There was an older version that didn't do backup right all the time so maybe you had that version?

If you are getting this problem with the latest version then let me know because as far as I know it doesn't occur anymore.
Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Beta 1.5.1] AdvIM
« Reply #155 on: April 28, 2003, 08:42:00 PM »
Reply with quote


It was RC 10

Surfy
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #156 on: April 28, 2003, 09:50:59 PM »
Reply with quote

And 11 didn't fix it?
Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Beta 1.5.1] AdvIM
« Reply #157 on: April 28, 2003, 11:05:11 PM »
Reply with quote


you told me only the instantmessage.php is new, and not the Mod intself   ;)

The RC 11 fix something with the view of the IM Settings but not the backup thing...

Anyway, others seem not to have this trouble  ::).

I try to reinstall it, if all other Mods are includet,

Surfy
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #158 on: April 29, 2003, 03:17:34 AM »
Reply with quote

InstantMessage.php is pretty much the whole mod and that is what controls the backuping up of messages so its pretty important. :)

What do you mean by all other mods included?
Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Beta 1.5.1] AdvIM
« Reply #159 on: April 29, 2003, 03:57:08 AM »
Reply with quote


Maybee there was something wrong, because other Mods fill in on the same Place, and the mod need a specified location or so  :-\

I first install all other Mods i need, then i try again to install  this Mod ;)


Surfy
Logged
queks
Jr. Member
**
Posts: 86


I'm a llama!

Re:[Beta 1.5.1] AdvIM
« Reply #160 on: April 30, 2003, 04:19:58 PM »
Reply with quote

why do i get a IM 30% full indicator even if I'm the admin or global mod. Will that limit my no. of IM ?
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #161 on: April 30, 2003, 09:48:12 PM »
Reply with quote

It still shows up but admin's and global mods don't have any limits.
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #162 on: May 01, 2003, 02:54:10 AM »
Reply with quote

RC 12 is out. It adds changes from 1.5.2 and also has a bunch of recoding to InstantMessage.php. Let me know if you find any bugs, I've been running this for a few days now without problems.

If you are upgrading from RC 11 just replace your InstantMessage.php and change the following in your index.php:

Quote<search for>
     'im' => array("$sourcedir/InstantMessage.php", 'IMIndex'),
     'imoutbox' => array("$sourcedir/InstantMessage.php", 'IMOutbox'),
</search for>

<replace>
     'im' => array("$sourcedir/InstantMessage.php", 'IMIndex'),
     'imoutbox' => array("$sourcedir/InstantMessage.php", 'IMIndex'),
     'imbackupbox' => array("$sourcedir/InstantMessage.php", 'IMIndex'),
     'imview' => array("$sourcedir/InstantMessage.php", 'IMView'),
     'imbackup' => array("$sourcedir/InstantMessage.php", 'IMBackup'),
</replace>

Quote<search for>
      'imview' => array("$sourcedir/InstantMessage.php", 'IMView'),
      'imbackupbox' => array("$sourcedir/InstantMessage.php", 'IMBackupBox'),
      'imbackup' => array("$sourcedir/InstantMessage.php", 'IMBackup'),
</search for>

<replace></replace>
« Last Edit: May 01, 2003, 02:56:51 AM by Gobalopper » Logged
CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #163 on: May 01, 2003, 06:56:27 PM »
Reply with quote

I just found a small typo in the InstantMessage.php file include with RC12 package.

Line 778 looks like this:
   $yySetLocation = $scripturl' . ?action=' . $redirect;

And should be this:
   $yySetLocation = $scripturl . '?action=' . $redirect;


It caused a parse error when accessing the IM preferences.

Very Nice mod!
« Last Edit: May 01, 2003, 06:57:04 PM by CrazyC » Logged

CrazyC
CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:[Beta 1.5.1] AdvIM
« Reply #164 on: May 01, 2003, 07:21:09 PM »
Reply with quote

I hate to keep doing this, but now I found a couple more typos/bugs.

Both are in InstantMessage.php.

The beginning of line 439 looks like this:
   <form action="' . $scripturl . ';action=imsend2
And should be this:
   <form action="' . $scripturl . '?action=imsend2
Probably typo of ; instead of ?.  Wouldn't send a message.

There's also a problem with the sql query on line 752.  It has something to do with you if/else statement inside the query for the $caller variable.  Since I have no idea whether you can or can't do that and how you would do it, here's how I fixed it.

Used to be this:
         $request = mysql_query("SELECT 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' AND readBy <> -1)") or database_error(__FILE__, __LINE__);

And I replaced it with this, adding the extra line:
     $caller2 = ($caller == 1) ? 'TO' : 'FROM';
         $request = mysql_query("SELECT ID_MEMBER_TO, toName, ID_MEMBER_FROM, fromName, msgtime, subject, body FROM {$db_prefix}instant_messages WHERE (ID_IM = $id AND ID_MEMBER_$caller2 = '$ID_MEMBER' AND readBy <> -1)") or database_error(__FILE__, __LINE__);

It does work this way, but I'm not sure whether it's the best way.

Edit:  Line 675 has a similar query for deleting IMs that also causes an error.  I fixed it on my copy the same way.
« Last Edit: May 01, 2003, 07:46:07 PM by CrazyC » Logged

CrazyC
Pages: 1 ... 9 10 [11] 12 13 ... 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.053 seconds with 19 queries.