Quote:
Originally posted by RayMatrix
. . .that warns a user when the PN-Counter ($allpm[messages]) is higher than 'x' PN's.
|
Actually this works:
[[($allpm[messages]>=40)]]
Hallo $bbuserinfo[username],
In Deinen PN Postf?chern liegen zur Zeit $allpm[messages] gesammelte Nachrichten.
Noch $rest und Du kannst keine mehr empfangen !!
Bitte ?berpr?fe Dein Postfach und l?sche nicht mehr ben?tigte Nachrichten.
Danke und Gru?
RayMatrix[[/($allpm[messages]>=40)]]
But you need to apply the hack to your index.php (not global.php) so that it will work. Because variable $allpm[messages] is assigned a value in index.php and global.php runs before index.php runs. Therefore it is blank if you apply the code in global.php.
The answer to your question is: This hack is competible with ALL vb variables available provided that they are assigned a value before dynamic announcement code is run..