The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 |
#212
|
||||
|
||||
![]()
@gutspiller
in your PRIVFOLDER template, find this: Code:
$readreceiptsoption </select> $gobutton</smallfont></td> </form></tr> </table> </td> </tr> </table> aditionally, place a Code:
<br> still in the PRIVFOLDER template you search for Code:
<td width="33%" align="right"><font class="sf">100%</font> </td> </tr> </table> <br> <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD ALIGN="CENTER"> < !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!> </TD></TR></TABLE> </td> PHP Code:
@groovesalad could you make a screeny please? and please log in as a user, not as an administrator and check if you can see the colors then. greetz |
#213
|
||||
|
||||
![]()
I'm using this hack also, what would I have to do for this hack and the one in this link to work together correctly?
https://vborg.vbsupport.ru/showthrea...threadid=43148 |
#214
|
||||
|
||||
![]() Quote:
quite a few people have asked this ... I have both hacks installed and I'd love to have both go together but seemingly no sulution yet ![]() the one suggested in this thread didnt work for me ![]() |
#215
|
|||
|
|||
![]()
I have what I hope is an easy question. My quota bar only works when I go to "message tracking." If i go to inbox or sent items nothing shows up.
any idears? |
#216
|
|||
|
|||
![]()
sorry to waste your time. I actually figured it out. I messed up in the private.php code.
This hack works great. Many thanks |
#217
|
||||
|
||||
![]()
@Xelation & Frozen Dreams
to make this work with the pm quota by usergroup hack you have to do some changes to private.php and private2.php in my instructions there is this part of code, that you have to put in both private and private2.php: Code:
//////////////////////////////////////////////////////////////////////////////hack////////////////////////////////////////////////////////////// // PM GAUGE ENHANCED by WWW.TOTAL-IMPACT.COM aka princeton // Original PM GAUGE by GOBLIN // if you want to ignore admin convert the line below to --> if ($pmquota>0 and $bbuserinfo[usergroupid] != 6) { if ($pmquota>0 ) { $ignoreusers=""; if (trim($bbuserinfo['ignorelist'])!="") { $ignoreusers='AND fromuserid<>'.implode(' AND fromuserid<>',explode(' ', trim($bbuserinfo['ignorelist']))); } $msgcount = $DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] $ignoreusers"); if ($msgcount < 1) { $pmpercent = "1"; // stop divisions by zero } else { $pmpercent = round(($msgcount[messages] / $pmquota) * 100,2); } if ($pmpercent>75) { $barimg="{imagesfolder}/red.gif"; } elseif ($pmpercent>50) { $barimg="{imagesfolder}/yellow.gif"; } else { $barimg="{imagesfolder}/green.gif"; } } //check if there is message in folder(s) and if yes displays gauge // if you want to ignore admin convert the line below to --> if ($pmquota>0 and $bbuserinfo[usergroupid] != 6) { if ($msgcount[messages]>0 and $pmquota>0) { eval("\$pmgauge=\"".gettemplate("privfolder_pmgauge")."\";"); } // PM GAUGE ENHANCED by WWW.TOTAL-IMPACT.COM aka princeton // Original PM GAUGE by GOBLIN //////////////////////////////////////////////////////////////////////////////hack////////////////////////////////////////////////////////////// Code:
$pmboxlmt = $DB_site->query_first("SELECT pmlimit FROM usergroup WHERE usergroupid='$bbuserinfo[usergroupid]'"); $pmboxlimit = $pmboxlmt[pmlimit]; Code:
if ($pmquota>0 ) { Code:
$pmquota Code:
$pmboxlimit greetz kreftt |
#218
|
||||
|
||||
![]() Quote:
I don't have this code: Code:
<td width="33%" align="right"><font class="sf">100%</font> </td> </tr> </table> <br> <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD ALIGN="CENTER"> < !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!> </TD></TR></TABLE> </td> |
#219
|
||||
|
||||
![]()
hey kreftt thanks, that did it! although I had to edit the templates and replace the variable from $pmprec% to $pmpercent%
|
#220
|
|||
|
|||
![]()
Nice hack, but my members wouldn't need it.
|
#221
|
||||
|
||||
![]()
@gutspiller
2 weeks ago you had this code, now rhe advert is there instead of it. so put it after Code:
<!-- END: AdSolution-Tag 4.0: AdSpot-Code --> </TD></TR></TABLE> </td> kreftt |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|