PDA

View Full Version : Little help with a titchy snippet of code


peterska2
10-04-2005, 08:36 PM
Ok guys. Here's my problem.

I wanna call the users pm quota and put it in their postbit.

Now when I use

<phrase 1="$permissions[pmquota]">$vbphrase[quota]</phrase>

It shows the same in every postbit which is your usergroups pm quota.

The phrase 'quota' simplay contains {1} at the moment.

I need it to show the differring amounts per usergroup as applicable.

Does anyone know if there is a function built in to show this, or do I need to create one?




Basically, I'm updating a couple of my mods and need this otherwise it's like loads of lines of unnessessary code just to show this info.

anyone?

Marco van Herwaarden
10-05-2005, 06:05 PM
Answering out of my head, you don't have the quota for every poster available. I think this will need some coding.

peterska2
10-05-2005, 06:37 PM
Thanks. That's another job to add to my list then.