Topic: Mark all messages in PMS?

How can i add one button to mark all messages in Private message inbox?

Thanks

Re: Mark all messages in PMS?

There already is one:
http://arch.kimag.es/share/4709307.jpg

Re: Mark all messages in PMS?

In 1.2? I can't see it.

Re: Mark all messages in PMS?

Oh, god... so sorry. Didn't this was for 1.2.

5

Re: Mark all messages in PMS?

Garciat wrote:

Oh, god... so sorry. Didn't this was for 1.2.

big_smile big_smile

You just need to add an extra link within the message list page that refers to an unused, (as yet), GET variable and use that to reload with all checkboxes ticked, i.e:

<a href="./message_list.php?select_all">Select all</a>

and then check for $_GET['select_all'] being set when you load the page.

Re: Mark all messages in PMS?

I tried to paste that code but it just generated a link. I´m not that hi-tech so i dont get what you mean by "and then check for $_GET['select_all'] being set when you load the page.".

Can you explane please smile

7

Re: Mark all messages in PMS?

Widell wrote:

I tried to paste that code but it just generated a link. I´m not that hi-tech so i dont get what you mean by "and then check for $_GET['select_all'] being set when you load the page.".

Can you explane please

That code in itself is useless. You need to code around that code. smile

If I get chance, I'll have a look and see if I can get the complete code sorted over the next couple of days. I'll not promise though. big_smile

Re: Mark all messages in PMS?

Ok, thanks MattF. That would be great!

9

Re: Mark all messages in PMS?

Give this a whirl. It's completely untested as I don't run a standard setup anymore, but it should work fine. If not, I'm sure you'll let me know quickly enough. big_smile Fixed a couple of bugs whilst I was at it. You can just replace all the files with the ones in the download, or just the ones which have changed, which are:

message_list.php
footer_links.php
pms.php    [The language file]


The download is here: http://forums.bauchan.org/unix/downloads.php?dcid=1

It's the third file down.

10

Re: Mark all messages in PMS?

Works perfect! Thank you very much!

11

Re: Mark all messages in PMS?

You're welcome. smile