![]() |
Where does vbulletin process the <phrase> tags from templates
I am looking for the php file / function where vbulletin processes the phrase tags and converts them into arguments. I need to find this for a mod I am attempting to make. I am a new programmer learning as I go, so if I am way off let me know.
|
What is it you are trying to do? If you are a new programmer, it may be that we can suggest something rather than trying to find that code. (I don't think I've ever seen anybody ask about finding that code, and trying to search for it is difficult in all those pages because the term 'phrase' is used so much.)
|
Quote:
|
"<phrase>" is just a wrapper for construct_phrase(), which is a wrapper for sprintf().
|
Quote:
No I am not trying to just add a phrase. I am working on a cms system similar to vbadvance. The reason I need to find this particular function is because I need to reference it from my own code, my template system works differently from vbulletin however still needs to be able to read vb templates. |
<a href="http://members.vbulletin.com/api/vBulletin/_includes---adminfunctions_template.php.html" target="_blank">includes/adminfunctions_template.php</a>
compile_template() & parse_phrase_tag() will be the ones of importance. You may want to checkout the other stuff there too, though. |
I <3 you. I overlooked the fact that it was being processed before being placed into the database :o. I wasn't even looking in those admin files.
|
All times are GMT. The time now is 07:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|