PDA

View Full Version : Store addon: More PM quota


Dark Jim
01-11-2003, 10:00 PM
For this you need to have the Store hack (http://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=293) installed.

With this hack members can buy a bigger private message box. Usefull for members who get lots of private messages. :)

1/12/03 - Updated attachment to replace 1 variable because the previous one was used in another hack.

Dark Jim
01-12-2003, 12:19 AM
If you installed the PM Gauge hack (http://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=147) you need to do the following:

In private.php find:
$pmpercent = round(($msgcount[messages] / $pmquota) * 100,2);
Replace with:
$pmpercent = round(($msgcount[messages] / ($pmquota * (($bbuserinfo[morepm] * 0.25) + 1))) * 100,2);

Link14716
01-12-2003, 09:10 PM
Nice hack. I might install this one later. :)

EcpHosting
01-13-2003, 05:00 PM
Nice hack... i will install on my next install batch. Thanks buddy!

The_Wanderer
01-13-2003, 06:01 PM
haha... that's kinda cool... good job

Dark Jim
01-18-2003, 10:00 PM
Update to change $morepmquota[] or whatever it was to $contest[] like it is with the other store items. Not neccessary though, just for my own convenience (and yours if you add all my addons).

LOD-squa
01-24-2003, 10:00 PM
nice my members wanted this. Thanks bro.

ImportPassion
03-06-2003, 01:36 PM
Quantity Amount(leave to 0 to not display the quantity)

Is this a precentageor an actual number, like get an extra 50 pm's?

And waht does it mean to not display the quantity amount?

dstruct2k
03-09-2003, 06:47 AM
Quantity amount is how many copies of that item/action are avaliable for purchase in the store. It would have no effect on how many more PMs you get per purchase.

ImportPassion
03-09-2003, 01:38 PM
so how may more PM's do you get with this if it has no affect?

Dark Jim
03-09-2003, 02:25 PM
You get a 25% (from the original size) bigger mail box each time you buy it.

ImportPassion
03-09-2003, 02:29 PM
thank you

tpearl5
03-24-2003, 05:18 AM
03-09-03 at 11:25 AM Dark Jim said this in Post #11 (https://vborg.vbsupport.ru/showthread.php?postid=363199#post363199)
You get a 25% (from the original size) bigger mail box each time you buy it.

Is there a way to set this to a static number?

I'm guessing *(0.25) should be something like + 50 (to increase quota by 50) ?

Falkware
05-22-2003, 12:26 AM
How do you make this addon work with the hack linked below?

https://vborg.vbsupport.ru/showthread.php?s=&threadid=47744

colicab-d
05-22-2003, 03:36 AM
nice work :D

msu
08-29-2003, 01:26 AM
hi

thnx for this good add-on


i have a question :)

when i tried to bigger my box , and press button in verify

template it doesn't go to ( store_morepm_increased) page


i hope you get my question :)