PDA

View Full Version : Store addon: More PM quota


Dark Jim
12 Jan 2003, 01:13
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
12 Jan 2003, 01:19
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
12 Jan 2003, 22:10
Nice hack. I might install this one later. :)

EcpHosting
13 Jan 2003, 18:00
Nice hack... i will install on my next install batch. Thanks buddy!

The_Wanderer
13 Jan 2003, 19:01
haha... that's kinda cool... good job

Dark Jim
18 Jan 2003, 23:00
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
24 Jan 2003, 23:00
nice my members wanted this. Thanks bro.

ImportPassion
06 Mar 2003, 14:36
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
09 Mar 2003, 07:47
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
09 Mar 2003, 14:38
so how may more PM's do you get with this if it has no affect?

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

ImportPassion
09 Mar 2003, 15:29
thank you

tpearl5
24 Mar 2003, 06:18
03-09-03 at 11:25 AM Dark Jim said this in Post #11 (http://www.vbulletin.org/forum/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
22 May 2003, 01:26
How do you make this addon work with the hack linked below?

http://www.vbulletin.org/forum/showthread.php?s=&threadid=47744

colicab-d
22 May 2003, 04:36
nice work :D

msu
29 Aug 2003, 02:26
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 :)