Quote:
Originally Posted by magnus
Then, call the phrase using:
PHP Code:
construct_phrase($vbphrase['phrase_name'], $vbulletin->options['throttle_posts_time']);
|
The problem is that the phrase is being displayed as part of the usergroup permissions using an xml file:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?php construct_phrase($vbphrase['throttle_posts_throttle'], $vbulletin->options['throttle_posts_time']);?>
<bitfields product="throttle_posts">
<bitfielddefs>
<group name="ugp">
<group name="throttle_postspermissions">
<bitfield name="throttle_postspermissions" intperm="true" group="throttle_postspermissions" phrase="throttle_posts_throttle">1</bitfield>
</group>
</group>
</bitfielddefs>
</bitfields>
I don't see any way to evaluate the php statement. Even if I put it in the above code wrapped in php tags, it won't get evaluated since the web server only sees the file as an xml file.