putting shout box on the portal page
putting shout box on the portal page
Hi...
Can someone please explain me how to place the shoutbox on the front page (portal page)?
Thank you.
Can someone please explain me how to place the shoutbox on the front page (portal page)?
Thank you.
Re: putting shout box on the portal page
I tried inserting <!-- INCLUDE mchat_body.html --> in portal_center.html, but it doesn't work. Any idea on this?
Re: putting shout box on the portal page
What modded version are you using? The 1.06 version can put the Mchat in the indexpage from the ACP.
On the 1.05 version, you have to do some modding. I think the code is somewhere inhere..
On the 1.05 version, you have to do some modding. I think the code is somewhere inhere..
Re: putting shout box on the portal page
I'm using version 1.06. Yeah, I noticed that index option in ACP. It's enabled but still the shoutbox is displayed in the forum's index only. Not on the portal's page. Any modding you can suggest?
Re: putting shout box on the portal page
Maybe you can use this http://www.modphpbb3.com/viewtopic.php?f=5&t=877Ish wrote:I'm using version 1.06. Yeah, I noticed that index option in ACP. It's enabled but still the shoutbox is displayed in the forum's index only. Not on the portal's page. Any modding you can suggest?
It's for 1.05, i could be that you can use it on the 1.06. Im not sure? but it could give you an idea
Re: putting shout box on the portal page
hey mgb67...that was a nice tip. i modded around, and could get the mini-chat block on the front page...but it displays the following message:
I guess i'm not very far from solving that. Any idea why it's showing me this buddy?Sorry, the Mini-Chat is currently unavailable
Re: putting shout box on the portal page
try this!
open portal.php
find:
before add:
open: prosilver/template/portal/portal_center.html
find:
after add:
save, upload, refresh and purge style!
open portal.php
find:
Code: Select all
// output page
page_header($user->lang['PORTAL']);
Code: Select all
// BEGIN mChat Mod
if(!defined('MCHAT_INCLUDE') && $config['mchat_on_index'] && $config['mchat_enable'] && $auth->acl_get('u_mchat_view'))
{
define('MCHAT_INCLUDE', true);
$mchat_include_index = true;
include($phpbb_root_path.'mchat.'.$phpEx);
}
// END mChat Mod
open: prosilver/template/portal/portal_center.html
find:
Code: Select all
<!-- IF S_DISPLAY_WORDGRAPH -->
<!-- INCLUDE portal/block/wordgraph.html -->
<!-- ENDIF -->
Code: Select all
<!-- INCLUDE mchat_body.html -->
Re: putting shout box on the portal page
hey thnx cisco007...
followed ur steps. it works!
xD
followed ur steps. it works!
xD
Re: putting shout box on the portal page
Oops! When not logged in, the shoutbox block shows:
Any piece of code to solve that buddy?{ MCHAT_TITLE }
{ MCHAT_ENABLE }
Re: putting shout box on the portal page
i might of forgotten the lang files,
try this open portal.php
find:
replace with:
see if that works!
try this open portal.php
find:
Code: Select all
$user->setup('mods/lang_portal');
Code: Select all
$user->setup('mods/lang_portal', 'mods/mchat_lang');
Re: putting shout box on the portal page
I tried but getting the following msg:
General Error
SQL ERROR [ mysql4 ]
Unknown column 'mods' in 'where clause' [1054]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Re: putting shout box on the portal page
can i get a link to the site you are using this on!?
Re: putting shout box on the portal page
Yes buddy... It's http://www.indra.mu.
Re: putting shout box on the portal page
do you have the edit i posted on there now!?
Re: putting shout box on the portal page
Nah... The last edit u've suggested, I've removed... Because it doesn't load the portal.php page, it only shows the SQL error...
Wait... I'll put it there again for a while...
Wait... I'll put it there again for a while...