Quote:
Originally Posted by kpmedia
Where now?
|
Sorry, I see now that you did say in your first post which hooks you tried. Those aren't inside functions so my guess was wrong. It seems to me like the code you posted above should have worked. I'll try it myself.
Edit: wait - I think maybe the problem with that code is that $thread['title'] hasn't been set yet at that hook location. Try
showthread_complete instead.
Quote:
This doesn't seem to work:
Code:
$thread['captitle'] = ucwords($thread['title']);
I added that as the plugin syntax, and then inserted $captitle into the <title> on SHOWTHREAD.
|
I should have also mentioned that you'd then use $thread['captitle'] in the template. Edit: ...but as I added above, I think your original code works if you change to showthread_complete.
Quote:
Originally Posted by kpmedia
There's not really a comprehensible (with examples) how-to manual on this, and vB3 has become so buried under vB4 that even advanced Google searching of vB.org or vB.com doesn't help find anything. I learn by example -- need to see code in action.
|
I understand the frustration. I believe that, unfortunately, the only way to really figure this stuff out is to read the vb code.