Topic: Mark all messages in PMS?
How can i add one button to mark all messages in Private message inbox?
Thanks
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Mark all messages in PMS?
How can i add one button to mark all messages in Private message inbox?
Thanks
There already is one:
In 1.2? I can't see it.
Oh, god... so sorry. Didn't this was for 1.2.
Oh, god... so sorry. Didn't this was for 1.2.
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.
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
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.
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.
Ok, thanks MattF. That would be great!
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. 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.
Works perfect! Thank you very much!
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Mark all messages in PMS?
Powered by PunBB, supported by Informer Technologies, Inc.