The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Improved PM Folderview Details »» | |||||||||||||||||||||||||
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:
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
|
Comments |
#82
|
||||
|
||||
hmm, that weird
@boofo i have installed the hack on vbb224, 225 and 226 again. i cannot reproduce your error on 224 and 226, while it happens to me too on a 225. i went through the files line by line without finding any reason for this. i exchanged the private.php and private2.php from the error-showing 225 then with the files from working 224 without having any change. i exchanged the files the other direction without the error occuring afterwards. so my conclusion would be that the error comes from any other change not in the two files from 224 to 225 that was taken back in 226 again, but i cannot tell you which one as i simply dont know. im sorry my support is that ad but i cant offer any other advice than: try the upgrade to 226 sorry @aquariumpros your files look fine, so i would need the templates that you added/changed too. thx kreftt |
#83
|
|||
|
|||
Quote:
Thanks again, *~AJ~* |
#84
|
||||
|
||||
@aquariumpros
you made a mistake in your privfolder template. where the instructions say to add this: Code:
<table cellpadding=5 cellspacing=0 border=0 width="{contenttablewidth}"> <tr> <td width="200" valign="top"> <table cellpadding=4 cellspacing=1 border=0 bgcolor="{tablebordercolor}" width="200"> <tr bgcolor="{tableheadbgcolor}" id="cat"> <td align="center" height="28"> <normalfont><b>Folder</b></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private.php?s=$session[sessionhash]&folderid=0">Inbox</a></font></td> </tr> <tr> <td bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private.php?s=$session[sessionhash]&folderid=-1">Sent Items</a></font></td> </tr> <tr> <td bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private2.php?s=$session[sessionhash]">Message Tracking</a></font></td> </tr> $folderboxeshack </table> <br> <form action="private.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]"> <table cellpadding=4 cellspacing=1 border=0 bgcolor="{tablebordercolor}" width="200"> <tr bgcolor="{tableheadbgcolor}"> <td height="28" align="center"><normalfont><b>Add Folder</b></normalfont>$hiddenfolderboxes</td> </tr> <tr> <td bgcolor="{firstaltcolor}" width="100%">$newfolderboxes <input type="hidden" name="action" value="doeditfolders"> <input type="image" class="bginput" name="submit" src="{imagesfolder}/go.gif"> </td> </tr> </table> </form> <table cellpadding=4 cellspacing=1 border=0 bgcolor="{tablebordercolor}" width="200"> <tr bgcolor="{tableheadbgcolor}"> <td colspan=3 align="center"> <normalfont><b>PM Quota</b></normalfont> </td> </tr> <tr> <td bgcolor="{firstaltcolor}" colspan=3><smallfont>You are using $pmpercent% of your quota. </font> </td> </tr> <tr> <td bgcolor="{secondaltcolor}" colspan=3> <table cellpadding=0 cellspacing=0 border=0> <tr> <td bgcolor="{secondaltcolor}" width="200"><img src="$barimg" width="$pmpercent %" height="9"> </td> </tr> </table> </td> </tr> <tr bgcolor="{firstaltcolor}"> <td width="33%"><smallfont>0%</font> </td> <td width="34%" align="center"><smallfont>50%</font> </td> <td width="33%" align="right"><smallfont>100%</font> </td> </tr> </table> </td> <td width="100%" valign="top"> Code:
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <form action="private.php" method="post" name="form"> $privatemessages Code:
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <form action="private.php" method="post" name="form"> $privatemessages if u replace the upper instance of this: Code:
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%"> <form action="private.php" method="post" name="form"> $privatemessages kreftt |
#85
|
|||
|
|||
PERFECT!!!
That fixed it 100%. Thank you again for taking the time to help me out!! Great Hack!!! *~AJ~* |
#86
|
||||
|
||||
Wouldn't that have something to do with the specialcharacters variable? I'm just guessing here.
Quote:
|
#87
|
||||
|
||||
Hiya,
This hack is pretty smooth.... except, i'd like to implement that bit, showing in brackets, the number of PMs in each folder. I fiddled with the SQL queries, and seemed to sort it... but, couldn't output. Where is the output going... and could somone just confirm the query for me? I'm in the process of fastracking a vB installation with loads of custom stuff, so can't really afford the time to tamper anymore with this. Cheers. |
#88
|
||||
|
||||
There's no delete button in the sent messages... ?
|
#89
|
||||
|
||||
Yes there is - my bad.
|
#90
|
|||
|
|||
Awesome Hack, Installed Flawlessly!
Thanks! |
#91
|
||||
|
||||
Well, sir, it is fixed. There are no more slashes messing up the folder view on Folders that have an apostrophe in the name. Instead of addslashes, stripslashes took care of the problem.
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|