miniBB ® miniBB®
miniBB Support Forums
 | 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
Registered
#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=\"{$main_url}/topic_rss.php?topic={$topic}\" />";

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
Registered
#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? Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB