Alright, I got a phpbb portal from
http://www.phpbb3portal.com, and integrated it to work with my site and enabled all the things that I want and edited them to be valid XHTML Strict.
There is a problem though, not a flaw in the system, but a problem caused by preference. The mod works fine as it is, the only problem it has consists within the Welcome block. In the admin panel, under Portal, I can edit the text that goes into that block, but it only allows characters... I can't even have spaces there.
What I want though, is to allow bbcode and spaces so I could create paragraphs, lists and whatever else that I need in there... I would also would love to edit the title from 'Welcome' to whatever else I may see fit.
I know that this isn't the support forum for the mod, but their support forum is blocked from registration, and the topic in phpbb.com is locked and the user hasn't being active since February 2008. So I'm along here and trying to get some help here as to where to start...
On my notepad++ I opened around 50+ phpBB files and searched for where it is retrieving the information from the database for the welcome text, but I couldn't find it... I only found where it was inserting the values into the database (install_portal.php).
In the ACP file (acp_portal.php) I found the following code:
case 'welcome':
$display_vars = array(
'title' => 'ACP_PORTAL_WELCOME_SETTINGS',
'vars' => array(
'legend1' => 'ACP_PORTAL_WELCOME_SETTINGS',
'portal_welcome' => array('lang' => 'PORTAL_WELCOME' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'portal_welcome_intro' => array('lang' => 'PORTAL_WELCOME_INTRO' , 'validate' => 'string', 'type' => 'textarea:6:6', 'explain' => true),
)
);
break;
- case 'welcome':
- $display_vars = array(
- 'title' => 'ACP_PORTAL_WELCOME_SETTINGS',
- 'vars' => array(
- 'legend1' => 'ACP_PORTAL_WELCOME_SETTINGS',
- 'portal_welcome' => array('lang' => 'PORTAL_WELCOME' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
- 'portal_welcome_intro' => array('lang' => 'PORTAL_WELCOME_INTRO' , 'validate' => 'string', 'type' => 'textarea:6:6', 'explain' => true),
- )
- );
- break;
But again, not the actual insertion into the database... I don't think that the SQL thing (that I am looking for) is actually important... but I was thinking maybe redoing the whole thing (where it sets the value to be printed in the template file) my way and including bbcodes and paragraph styling
The code that sets the variable to be used in the template is:
if ($config['portal_welcome'])
{
$template->assign_vars(array(
'S_DISPLAY_WELCOME' => true,
'PORTAL_WELCOME_INTRO' => $config['portal_welcome_intro'],
));
}
- if ($config['portal_welcome'])
- {
- $template->assign_vars(array(
- 'S_DISPLAY_WELCOME' => true,
- 'PORTAL_WELCOME_INTRO' => $config['portal_welcome_intro'],
- ));
- }
I can't find where it sets that config... I searched for both
$config['portal_welcome_intro'] and
portal_welcome_intro in over 50 files and only found stuff that I didn't understand

Below is a screenshot of the results.
http://www.wedevoy.com/ozzu/Help/bogey/portal_search_results.PNGThanks
