PDA

View Full Version : Req: Mark all PMs Read!


N9ne
10-28-2002, 02:28 PM
I hate it when it says 55 Unread PMs or something, it's just annoying ok? :p

Anyway, I'm requesting a hack where in the userCP, in private.php maybe, there's a link to "Mark all PMs Read", this would be useful to me and maybe some others, is it possible?

Xenon
10-28-2002, 02:57 PM
yes possible and not hard to to:

open privat.php

after require(global.php add:)


if($action=="markread") {

$DB_site->query("UPDATE privatemessage SET messageread=1, readtime='".time()."' WHERE userid=$bbuserinfo[userid]");
}

then all you have to do is to add a link to private.php?action=markread and all well be marked read.

not nice because of no messages put to screen but it worx

Chris M
10-28-2002, 03:41 PM
I am making a proper hack for this - hopefully:)

Satan

Chris M
10-28-2002, 04:05 PM
Ok it works:)

Edit: Here is the hack --> click meh - blargh!! (https://vborg.vbsupport.ru/showthread.php?s=&threadid=45119)

Satan

N9ne
10-28-2002, 04:56 PM
LoL, ok Xenon, your modification in your post worked for me and I was about to post on it should have a redirect back, but thanks hellsatan for releasing a thorough version, we make a good team :D

I request Hack
Xenon Post Code
hellsatan Release Hack with addon

:D

Chris M
10-28-2002, 05:44 PM
Lol:)

Satan