Version: 1.00, by kreftt
Developer Last Online: Nov 2005
Version: 2.3.x
Rating:
Released: 03-30-2002
Last Update: Never
Installs: 151
No support by the author.
TESTED ON 2.3.0 AND FOUND WORKING
What does it do?
You know it happens to me pretty often that my users wonder why they cannot receive any more pm's. the standard question "did you check your sent items folder?" is answered with the standard question "do i have a sent items folder?"...
to avoid that, this hack shows the user on the privatemessage mainpage which folders they have in a list with the ability to add a folder without having to switch to the folders template.
aditionally, i modified the pmgauge enhanced hack by WWW.TOTAL-IMPACT.COM aka princeton a little and included it.
so, its nothing special, but maybe some people like it.
note: im new to this, so the code might be very ugly...
instructions:
1) follow instructions.txt
Credits: The_Sisko, mystics and boofo for finding bugs and helping with the code
Please notice this add-on by matt that allows you to have the amount of messages in each folder displayed next to it. Working on 2.2.9 too.
NOTICE: If you installed the private messages backup hack by Cano2 which is found here, you will have to to change a bit in the instructions.txt:
where it says to find:
PHP Code:
//get correct folder name
if ($folderid=="0") {
you will need to find the SECOND instance as the private message backup hack adds another instance of this code to the file.
NOTICE2: if you installed the PM Quota by Usergroup Hack by g-force2k2 that can be found here then the solution to make both work together is here
please click install if you use it, thank you
kreftt
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Look in to the database using phpmyadmin. You will see that the mesages that you have sent to others are still there ! (even if you dont have any message reported on sent folder)
05-12-03 at 02:35 AM Courage said this in Post #174 Look in to the database using phpmyadmin. You will see that the mesages that you have sent to others are still there ! (even if you dont have any message reported on sent folder)
They have folderid = -1
im sorry i cannot reproduce this.
after i delete my messages from sent folder the percentage bar drops down like it should, the number behind the folder says 0 like it should and the followng query:
Code:
SELECT COUNT(*) AS FROM privatemessage WHERE userid=1 AND folderid='-1'
results in 0 too, just like it should. and there is really nothing to change by my hack that could cause this behaviour.
feel free to send me over your files AND your templates that start with priv_ to kreftt[at]uni.de
your board-url would be nice too.