![]() |
using vbphrases and variables in external script
I am writing a simple php script to include into my vbtemplate that will match the title of the thread to the title of a product and show related products. Is there a way to call the thread[title] variable that is in the vbulltin template on a external script?
|
Please see the article section on using external scripts in a vBUlletin environment.
|
I have searched the article section and I can't seem to find it
|
To get you started How to create your own vBulletin-powered page! (uses vB templates)
|
I saw that thread and I tried it but maybe im doing something wrong I still can't seem to get it to show the title of the thread I tried using $thread['title'] and $vublletin->thread[title] both produce nothing. I also tried print_r($vbulletin) and it doesn't list the title anywhere
|
Your script will need to load that information from the database.
|
Well what I am trying to do is create a script that will load related articles on my site based on what vbulletin thread they are on. That is why I need to load the title in my script so I can match the title to the title of my content. How would I do that from the database?
|
All times are GMT. The time now is 02:41 PM. |
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:
|