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.
02-06-03 at 07:05 PM kreftt said this in Post #152 i wont bet my money on this, but i guess it should work replacing all instances of $pmquota in the gauge hack by $touserinfo[pmlimit]
at least i hope so
First id like to say great hack! but im having some serious trouble installing it..i havent checked the rest of the codes but the first thing one has to change i cant find it anywhere in private.php oO
Today at 10:36 AM Airs said this in Post #194 First id like to say great hack! but im having some serious trouble installing it..i havent checked the rest of the codes but the first thing one has to change i cant find it anywhere in private.php oO
Yea he was lol thnx a lot was dumb of me for not thinking that ;p but anyways i got another problem >< when i click member tracking i get this:
Database error in vBulletin 2.3.0:
Invalid SQL: SELECT COUNT(*) AS foldermsgtotal FROM privatemessage WHERE userid=1 AND folderid=
mysql error: You have an error in your SQL syntax near '' at line 1
Can I get some help on the following problems with this hack:
1. My "go" button to add a new folder has grey in the corners where it's suppose to be transparent.
2. The go button is centered correctly with the "add folder" field.
3. I saw in some of the posts that people had added the feature to show how many messages were in each folder. I guess that wasn't added into the main instructional file cause I don't have it. That or I used an older version that I had on my HDD. Anyhow, I tried the query that was mentioned in a post on the 2nd page of this thread and it errored out. Can I get instructions on exactly how I go about adding it so that I can see how many messages on in each folder?