The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How do you construct phrases in PHP?
I have the following code:
Code:
if ($limit && ($count > $limit)) { return construct_phrase($vbphrase['media_tags_count'], construct_href_details($media), $count); } Basically, if the limit is defined, the number of tags exceeds the limit, it should construct a phrase: Code:
<a href="{1}">Too many ({2}), view details for the full list...</a> Whenever this happens however, instead of getting the construct phrase, I get a null string. Am I doing something wrong? --------------- Added [DATE]1271451643[/DATE] at [TIME]1271451643[/TIME] --------------- figured it out... forgot to put global $vbphrase; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|