2011-08-03, 07:52 PM
Hello,
I haven't a great experience with mybb core files, but I would like to do a very simple modification to portal.php...
All I need is to add a simple variable in the template "portal_announcement", and this variable is {$announcement['fid']}, the ID of the forum where the announcement thread is...
(For example if the news comes from this forum it should return only "68" without quotes)
Currently already exist "{$announcement['tid']}", but I need the FID to do a simple and nice modification. Anyone could help me?
Thankyou so much.
I haven't a great experience with mybb core files, but I would like to do a very simple modification to portal.php...
All I need is to add a simple variable in the template "portal_announcement", and this variable is {$announcement['fid']}, the ID of the forum where the announcement thread is...
(For example if the news comes from this forum it should return only "68" without quotes)
Currently already exist "{$announcement['tid']}", but I need the FID to do a simple and nice modification. Anyone could help me?
Thankyou so much.