miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

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

How to get topic title in bb_plugins.php file?

 
Author Vishal
Partaker
#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=\"http://www.minibb.com/forums/topic_rss.php?topic=5464\" />";

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
Partaker
#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


 ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


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 ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP