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!

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

portalview and phpbb gallery conflict

Post by vova_ob » 13. April 2011 15:04

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
Active Member
Posts: 5
Joined: 5. December 2010 08:54
phpBB.de User: vova_ob
phpBB.com User: vova_ob

Re: portalview and phpbb gallery conflict

Post by vova_ob » 13. April 2011 23:50

+ conflict with mchat mod too :(

User avatar

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

A temporary solution?

Post by gamingboard » 14. April 2011 14:28

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
Active Member
Posts: 5
Joined: 5. December 2010 08:54
phpBB.de User: vova_ob
phpBB.com User: vova_ob

Re: portalview and phpbb gallery conflict

Post by vova_ob » 7. July 2011 08:50

thanks

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