miniBB Support Forums | 15 years on The Web
miniBB ®


 | Forums | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   

How to get topic title in bb_plugins.php file?

Author Vishal
#1 | Posted: 20 Jan 2010 04:39 
I want to get topic title/name in the bb_plugins.php file to include in a meta code:

if($action=='vthread') $topicRSSMeta="<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$GLOBALS['topic_title']\" href=\"\" />";

I tried all possibilities but I can't seem to get it.

Author Paul
Lead Developer
#2 | Posted: 20 Jan 2010 05:15 
Try $topicData[0].

Author Vishal
#3 | Posted: 20 Jan 2010 06:22 
Great! Thanks Paul :)

Master Class miniBB Support Forums / Master Class /
 How to get topic title in bb_plugins.php file?
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.