portalview and phpbb gallery conflict

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!
Locked

Topic author
vova_ob
Active Member
Posts: 5
Joined: 5. December 2010 07:54
phpBB.de User: vova_ob
phpBB.com User: vova_ob
Contact:

portalview and phpbb gallery conflict

Post by vova_ob »

After editing includes/functions.php
After adding of this code

Code: Select all

	if(!defined('IN_PORTAL'))
	{
		include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
	}
After reloading forum page on display is error string

Code: Select all

Fatal error: Cannot redeclare recent_gallery_images() (previously declared in /home/site.com/forum/gallery/includes/functions_recent.php:23) in /home/vovaob/site.com/forum/gallery/includes/functions_recent.php on line 343
who know,why ?

Topic author
vova_ob
Active Member
Posts: 5
Joined: 5. December 2010 07:54
phpBB.de User: vova_ob
phpBB.com User: vova_ob
Contact:

Re: portalview and phpbb gallery conflict

Post by vova_ob »

+ conflict with mchat mod too :(
User avatar

gamingboard
Active Member
Posts: 26
Joined: 20. November 2009 15:44
phpBB.de User: gamingboard
phpBB.com User: gamingboard
Location: Free and Hanseatic City of Hamburg, Germany
Contact:

A temporary solution?

Post by gamingboard »

Have you ever try this?:

Find: (gallery/includes/functions_recent.php)

Code: Select all

/**
* Display recent images & comments and random images
*/ 
Add after:

Code: Select all

if(!function_exists('recent_gallery_images'))
{ 
---

Find:

Code: Select all

            'COLLAPSE_COMMENTS'    => $collapse_comments,
        ));
    }
} 
Add after:

Code: Select all

Use at your own risk. I haven't tested this code.

Topic author
vova_ob
Active Member
Posts: 5
Joined: 5. December 2010 07:54
phpBB.de User: vova_ob
phpBB.com User: vova_ob
Contact:

Re: portalview and phpbb gallery conflict

Post by vova_ob »

thanks
Locked

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