Just an update - I think I know a way I can create the links - but I'm having trouble using the '$thread_url' variable in a custom plugin.
It is defined and saved in showthread.php, as well as another variable '$url' which is registered right before it.
I can use the '$url' variable in my plugin - but not the '$thread_url'.
Any thoughts on that? As far as I can see they are both just strings - not sure why I can access one but not the other.
The '$thread_url' just comes up blank when I try to use it. But if I use {vb:raw thread_url} in the template I can see exactly what I want to use in my plugin.
Thoughts?
|