Re: Private Messaging for 1.2.x

Ok its released, no db changes just overwrite the old files if your upgrading

Re: Private Messaging for 1.2.x

Superb!

Re: Private Messaging for 1.2.x

Perfect timing, im upgrading to 1.2.2 right now smile

Last edited by Gary13579 (2005-03-01 22:03:08)

Indocron
$theQuestion = (2*b) || !(2*b);

54

Re: Private Messaging for 1.2.x

OK, nice job ! wink

But I report one bug :
"Delete multiple messages" don't work (only one post is delete each time).

I use PunBB 1.2.2, updated from 1.1.5 (and old PM mod also).

Last edited by Ka (2005-03-04 20:01:24)

Re: Private Messaging for 1.2.x

ahh i think i know what that might be i'll have a look as soon as a fix my testing server hmm

Re: Private Messaging for 1.2.x

Ka wrote:

OK, nice job ! wink

But I report one bug :
"Delete multiple messages" don't work (only one post is delete each time).

I use PunBB 1.2.2, updated from 1.1.5 (and old PM mod also).

weird i had no problem with it

57

Re: Private Messaging for 1.2.x

Ataxy wrote:
Ka wrote:

OK, nice job ! wink

But I report one bug :
"Delete multiple messages" don't work (only one post is delete each time).

I use PunBB 1.2.2, updated from 1.1.5 (and old PM mod also).

weird i had no problem with it

Have you done a fresh install ?

Re: Private Messaging for 1.2.x

to fix the multi delete open message_list.php, find line 63 and replace with

$db->query('DELETE FROM '.$db->prefix.'messages WHERE id IN('.$_POST['messages'].') AND owner=\''.$pun_user['id'].'\'') or error('Unable to delete messages.', __FILE__, __LINE__, $db->error());

59

Re: Private Messaging for 1.2.x

Excellent ! big_smile

Last edited by Ka (2005-03-05 23:26:59)

Re: Private Messaging for 1.2.x

There used to be a "Messages" link in the main navigation.  I can't remember if that was there in my updrade to PunBB 1.2.2, but it's not there now with PM Mod 1.2.1.

Last edited by lament (2005-03-11 05:06:09)

Re: Private Messaging for 1.2.x

check you did all the modifications correctly

Re: Private Messaging for 1.2.x

don't know if it has beeen reported yet, but in the file viewtopic_PM-link.php it should be & instead of &..

Re: Private Messaging for 1.2.x

no it hasn't thanks (it also hasn't been reported that PM links appear for guests when they shouldn't which is a problem with the same file)

Re: Private Messaging for 1.2.x

Connorhd wrote:

check you did all the modifications correctly

Yup I was a little tired last night and didn't read... oops!

Also had a problem (again) with Dreamweaver adding weird characters to the end of the files that I downloaded through the built-in FTP, so when I uploaded them, it choked.  fixed tho.. thanks Connor!

Re: Private Messaging for 1.2.x

How would I change the "You have new messages"... to a different color?

FREE web hosting: www.subnixus.com

Re: Private Messaging for 1.2.x

you can probably do it in the css i'll have a play later and give some more details

Re: Private Messaging for 1.2.x

line 8 in /include/pms/header_new_messages.php:

$tpl_temp .= "\n\t\t\t\t".'<li class="pmlink"><strong><a href="message_list.php">'.$lang_pms['New messages'].'</a></strong></li>';

and line 17:

$tpl_temp .= "\n\t\t\t\t".'<li class="pmlink"><strong><a href="message_list.php">'.$lang_pms['Full inbox'].'</a></strong></li>';

theoretically, if you put a class on the a href in these two, and put it in your CSS, it should work.  but it's not, and i can't figure out why.  i can easily add a title to the link and it shows up.

i'm sure it has to do with the fact that it's a list item.

Last edited by lament (2005-03-24 10:28:25)

Re: Private Messaging for 1.2.x

no need to edit the code since i gave it a class when i made it just add
.pmlink a:link, .pmlink a:visited {
    color: blue;
}
.pmlink a:hover {
    color: green;
}
to the css

Re: Private Messaging for 1.2.x

I have never had any PM links for guests..

Re: Private Messaging for 1.2.x

bubach wrote:

I have never had any PM links for guests..

how would guests send/receive private messages anyway?

Last edited by lament (2005-03-24 20:22:12)

Re: Private Messaging for 1.2.x

Connorhd wrote:

no need to edit the code since i gave it a class when i made it just add
.pmlink a:link, .pmlink a:visited {
    color: blue;
}
.pmlink a:hover {
    color: green;
}
to the css

nice! thank you!

now, connor, use your CSS magic to turn the box around Announcement RED.  smile

i've tried and could only get a portion of it red.

Re: Private Messaging for 1.2.x

i'm not great at css but...

div.block#announce div.inbox {
    background-color: red;
}

Re: Private Messaging for 1.2.x

connorhd,

will you release for 1.2.4???  I have tried changing the install_mod.php but it just said

could not write to the config file

Cows

Re: Private Messaging for 1.2.x

Connorhd wrote:

i'm not great at css but...

div.block#announce div.inbox {
    background-color: red;
}

no, the box containing the word Announcement, and the border around it.  I'd like to make the word Announcement white as well. thanks if you can get this working!

Last edited by lament (2005-03-24 22:00:40)

Re: Private Messaging for 1.2.x

Good job men.., I have try this mod for punbb 1.2.3, everything is ok until i test to send message.

I switch login into my "Testing" user, it said that No Messages, but when i see the inbox the message is in there.
How can I fix this?
Btw I have translated in Indonesian, where can I send it to you?