blog this plugins in the blog app folder
Submitted
teraßyte
, Apr 28 2010 11:04 AM | Last updated Jul 20 2012 03:15 PM
As mentioned on AIM the "blog this" class needs all the plugins of third party apps in its folder while the goal for 3.1 was to move all the file for each app in its own folder (see profile tabs, attachments, report plugins, etc).
In admin/applications_addon/ips/blog/sources/classes/blogthis/bt.php:
In admin/applications_addon/ips/blog/sources/classes/blogthis/bt.php:
$_f = IPSLib::getAppDir('blog') . '/extensions/blogthis/bt_' . $app . '.php';We should change it to something like:$_f = IPSLib::getAppDir( $app ) . '/extensions/blogthis.php';
| Status: | Fixed |
| Version: | 2.1.0 |
| Fixed In: | 0 |











3 Comments
This should probably wait for 4.x
This was already included at some point actually, probably for 2.5.
/* Do we have a plug in? */ $_f = IPSLib::getAppDir( $app ) . '/extensions/blogthis/bt_' . $app . '.php'; if ( ! is_file( $_f ) ) { $_f = IPSLib::getAppDir('blog') . '/extensions/blogthis/bt_' . $app . '.php'; } if ( is_file( $_f ) ) { $classToLoad = IPSLib::loadLibrary( $_f, 'bt_' . $app, 'blog' ); $this->_class = new $classToLoad( $registry, $app, $incoming ); } else { $classToLoad = IPSLib::loadLibrary( '', 'blogthis_base', 'blog' ); $this->_class = new $classToLoad( $registry, $app, $incoming ); }