Thanks a lot Lynne for your answer,
When I add this as a plugin in hook location vbcms_article_populate_end i get the following db error:
Quote:
Database error in vBulletin 4.1.1:
Invalid SQL:
SELECT a.threadid
FROM vbt_cms_article AS a JOIN cms_node ON(cms_node.contentid = a.contentid) WHERE nodeid = 174;
MySQL Error : Table 'myhostusername_vbulletin.cms_node' doesn't exist
Error Number : 1146
Script : http://..../forum/content.php
|
Product: vBulletin or vBulletin CMS
Execution Order: 5
I appreciate if you tell me the correct way to do this.