The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Thanks for the help kh99, now I understand how to call the phrase with variables.
I have bigger problems though. For some reason it doesn't seem to be cycling through the code at all so I'll have to play with it more. I changed the php cdata to this: Code:
if ($vbulletin->options['posts_last_x_hours_enabled']) { $timeframe = '*'; $posts_last_x_hours = '*'; $posts_last_x_hours = construct_phrase($vbphrase['posts_in_last_x_hours'], $posts_last_x_hours, $timeframe); $templater->register('posts_last_x_hours', $posts_last_x_hours); $templater->register('timeframe', $timeframe); } Code:
There have been post(s) in the last hours. the "*" doesn't show up in my phrase for {1} or {2}, they come up blank within the phrase. I'll have to keep playing with it. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|