The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
read field value for current thread via plugin to feed info into template
I'm not sure if I use the correct terminologie so I'm going to try explain what I would like to achieve :
I have written a vb.net application which extracts downloadlinks from my vbulletin threads and then verifies if the links are stil valid. The app sends back the result (dead, alive) to a varchar field (linkresult) I added to the vb_thread table. Then, I would like to display this info in showthread, so I would add this code to the showthread template (because I only want to display the info in de first post which contains the download links, i added a if condition to check this): Code:
<vb:if condition="!$GLOBALS['FIRSTPOSTID']"> {vb:raw template_hook.thiswouldbemyplugin} </vb:if> I'm new to vbulletin and after looking at some mods which I downloaded here, this is what I think should be the procedure to do this. Therefor I would like to ask the experts if what I described above is the correct way to do this ? thanks in advance for a reply |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|