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 |
#112
|
||||
|
||||
Works perfect for 2.2.9!
Clicked install. |
#113
|
|||
|
|||
this hack is as cool as the other side of the pillow.
just one beef though... the words "folder" "PM quota" and the "new folder" the text were the same color as the background. i had to go in the templates and adjust them with the normal font color code before the words, if that makes sense. sorry, its not in front of me right now. anyway, good work |
#114
|
||||
|
||||
im sorry youre right, the templates arent fully correct, some editing is still neccessary. ill fix that when vb3 is out...
greets kreftt |
#115
|
|||
|
|||
this hack very nice..
but i dont know y i got width problem... how can i fix it?? 100% width is no any problem.. but when i set it to 730... |
#116
|
||||
|
||||
it looks from your screenshot like you didnt replace all neccessary occurences of
Code:
contenttablewidth greets kreftt |
#117
|
|||
|
|||
Just downloaded and attempted to install. Keep getting a parse error on the 2nd hack on the private.php page. The part that starts "$bbuserinfo[usergroupid] !=6)..." If I remove that whole part of the hack then the page will display. Any thoughts? I just pasted directly from the install sheet.
GGus |
#118
|
||||
|
||||
erm, the part that you mentioned is commented out at all occurences, and it isnt a start of a part.
to help you, i would need to know the error message that happens after you hacked the file, and your private.php to kreftt@uni.de greets kreftt |
#119
|
|||
|
|||
Quote:
thank you..! and my Message Tracking page have same problem too... which 1 template i need goto edit ?! |
#120
|
||||
|
||||
if i remember right then this should be the privsent template
greets kreftt |
#121
|
|||
|
|||
Quote:
but still cant fix out the problem... this is my code from privsent. Code:
{htmldoctype} <html> <head><title>$bbtitle - Private Messaging: $bbuserinfo[username] - Read Receipts</title> $headinclude <!-- message selection script --> <script language="JavaScript"> <!-- function CheckAll(theform) { for (var i=0;i<theform.elements.length;i++) { var e = theform.elements[i]; if ((e.name != 'allbox') && (e.type=='checkbox')) e.checked = theform.allbox.checked; } } function CheckCheckAll(theform) { var TotalBoxes = 0; var TotalOn = 0; for (var i=0;i<theform.elements.length;i++) { var e = theform.elements[i]; if ((e.name != 'allbox') && (e.type=='checkbox')) { TotalBoxes++; if (e.checked) TotalOn++; } } if (TotalBoxes==TotalOn) theform.allbox.checked=true; else theform.allbox.checked=false; } //--> </script> <!-- end message selection script --> </head> <body> $header <!-- breadcrumb --> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td width="100%"><img src="{imagesfolder}/vb_bullet.gif" align="middle" alt="vBulletin"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > <a href="usercp.php?s=$session[sessionhash]">User Control Panel For $bbuserinfo[username]</a> > <a href="private.php?s=$session[sessionhash]">Private Messages</a> > Message Tracking</b></normalfont></td> </tr> </table> <!-- /breadcrumb --> <br> $cpnav <br> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td>$priv_dateselect</td> <td align="right"> <table cellspacing="0" cellpadding="0" border="0"> <form action="private.php" method="post"> <tr> <td><input type="hidden" name="s" value="$session[sessionhash]"> <smallfont><b>Jump to folder:</b> <select name="folderid" onchange="window.location=('private.php?s=$session[sessionhash]&folderid=' + this.options[this.selectedIndex].value + '&daysprune=$daysprune')"> <option value="0">$inboxname</option> <option value="-1">$sentitemsname</option> $folderjump $readreceiptsoption </select>$gobutton</smallfont></td> </tr> </form> </table> </td> </tr> </table> <br> <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><font color="{tableheadtextcolor}">Folder</font></b></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private.php?s=$session[sessionhash]&folderid=0">Inbox</a> ($inbox_msgtotal)</font></td> </tr> <tr> <td bgcolor="{firstaltcolor}" width="100%"><normalfont><a href="private.php?s=$session[sessionhash]&folderid=-1">Sent Items</a> ($sent_msgtotal)</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><font color="{tableheadtextcolor}">Add Folder</font></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><font color="{tableheadtextcolor}">PM Quota</font></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="33%" align="center"><smallfont>50%</font> </td> <td width="33%" align="right"><smallfont>100%</font> </td> </tr> </table> </td> <td width="100%" valign="top"> $privatemessages </td> </tr> </table> <!-- message buttons --> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td align="center"> <a href="private.php?s=$session[sessionhash]&action=newmessage"><img src="{imagesfolder}/pm_sendnew.gif" alt="Send a new private message" border="0"></a> $buddypmlink <a href="private.php?s=$session[sessionhash]&action=editfolders"><img src="{imagesfolder}/pm_folders.gif" alt="Organise your private message folders" border="0"> </td> </tr> </table> <!-- /message buttons --> <br> <!-- timezone & forum jump --> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr> <td>$forumjump</td> <td align="right"><smallfont>$timezone</smallfont></td> </tr> </table> <!-- /timezone & forum jump --> <br> <!-- icon key --> <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center"> <tr><td width="50%"> </td> <td nowrap><img src="{imagesfolder}/newpm.gif" border="0" alt="Unread Message"></td> <td nowrap><b><smallfont>Unread Message</smallfont></b></td> <td nowrap><img src="{imagesfolder}/pm.gif" border=0 alt="Message"></td> <td nowrap><b><smallfont>Message</smallfont></b></td> <td nowrap><img src="{imagesfolder}/trashcan.gif" border="0" alt="Cancelled Message"></td> <td nowrap><b><smallfont>Cancelled Message</smallfont></b></td> <td width="50%"> </td></tr> </table> <!-- icon key --> $footer </body> </html> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|