The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to register new plugin/variable?
I'm wanting to make a change in the template -- specifically the page title shown in the <title></title> tags.
$thread[title] is part of the title. What I'm attempting to do is capitalize each word using ucwords(), but adding PHP into the <title> doesn't work. I thought adding a quick plugin would solve this, and I could instead call up the alternate variable ($captitle) in the <title>. Before adding ucwords(), I thought I'd try a simple swap, using a new plugin with this code: Code:
$captitle = $thread['title']; I tried it on both the global_start and showthread_start -- no effect. I asked this question in an existing (unanswered) thread at vBulletin.com, but this was the response: Quote:
Quote:
So ... what am I missing here? :erm: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|