MyBB Community Forums

Full Version: Parse php on Portal Page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know this can be done some how, no? I want to do custom blocks on the portal page - rss feeds from other sites. I have carp installed and working just fine - so how can I add :
 // RSS Feeds ***************************************************************
Lockergnome Windows Fanatics<a href="http://channels.lockergnome.com/windows/" target="_blank">&nbsp;&nbsp;&nbsp;<img src="http://kjsservices.com/images/locker2.gif"></a></div>
<?php
require_once "/home/edit/rss/carp/carp.php";
CarpConf('iorder','link');
CarpConf('corder','');
CarpConf('maxitems',10);
CarpConf('bitems','<p><ul style="font-size: 12pt">');
CarpConf('aitems','</ul></p>');
CarpConf('bi','<li>');
CarpConf('ai','</li>');
CarpConf('poweredby','');
CarpCacheShow('http://www.lockergnome.com/rss/windows.php');
// End RSS Feeds ***************************************************************
and get it to display under the latest threads?
You'll have to actually edit portal.php. But you can't actually output anything on the page inside portal.php. You will have to assign it to a variable then add that specific variable to the portal template.