Portalview conflict with mChat

Dyos MOD Portalview - to show up Portal blocks in the whole forum.
Dyos MOD Portalview - um Portal Blöcke im gesamten Forum anzeigen zu lassen.

Moderator: Dyo

Forum rules
Please note that this modification is not a official part of the Board3 Portal!
Bitte beachten das diese Modifikation kein offizieller Bestandteil des Board3 Portal ist!
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portalview conflict with mChat

Post by Marc »

Sorry I was a bit busy with university. I would love to help you and fix theproblem, but the fact is that I can't reproduce the error and it's kind of hard to fix something without being able to debug it.
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portalview conflict with mChat

Post by Marc »

I was finally able to reproduce the error and I was able to fix it:
Open portal/block/additonal_blocks.php
Find:

Code: Select all

// mChat Block for Board3 Portal 1.0.5 and 1.0.6
if(!defined('MCHAT_INCLUDE'))
{
   define('MCHAT_INCLUDE', true);
}
if(!function_exists('mchat_obtain_guest_count'))
{
   $mchat_include_index = true;
   include($phpbb_root_path . 'mchat.' . $phpEx);
}
// mChat Block END
Replace with:

Code: Select all

// mChat Block for Board3 Portal 1.0.5 and 1.0.6
if($load_center)
{
	if(!defined('MCHAT_INCLUDE'))
	{
	   define('MCHAT_INCLUDE', true);
	}
	if(!function_exists('mchat_obtain_guest_count'))
	{
	   $mchat_include_index = true;
	   include($phpbb_root_path . 'mchat.' . $phpEx);
	}
}
// mChat Block END
Open portal/includes/portalview.php
Find:

Code: Select all

// load blocks in the left column
Add before:

Code: Select all

$load_center = false; // we don't show the center column

I also updated the mChat add-on so nobody will have to face the problem again. ;)
User avatar

Topic author
ReconMarine
Active Member
Posts: 36
Joined: 9. December 2009 09:20
phpBB.com User: ReconMarine

Re: Portalview conflict with mChat

Post by ReconMarine »

You da man!

RM

kolja
Active Member
Posts: 29
Joined: 9. June 2010 16:44

Re: Portalview conflict with mChat

Post by kolja »

ReconMarine wrote:You da man!
that is exactly what i want to say!

thanks
User avatar

terra
Active Member
Posts: 13
Joined: 5. January 2010 19:55

Re: Portalview conflict with mChat

Post by terra »

Hallo,

mit der Umsetzung des Mchats und Portalview hat es bei mir im Forum eigentlich geklappt - jetzt hab ich nur ein Problem:

Wenn man einen Beitrag schreiben möchte und dort einen BB-Code einfügt wird dieser nicht im Beitragsfenster sondern in der Mchat Eingabemaske eingefügt.
Hat jemand dafür eine Lösung?

http://wasseragamen.info
Benutzer: test
PW: testtest
Locked

Return to “MOD Portalview - Portal blocks in whole forum”