Version 3.4.6
This commit is contained in:
1 parent
e4478369d8
commit
b45ea0dffb
1568 files changed
+155104
-161665
No files matched your search
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Blog This plug in for share links library.
|
||||
*
|
||||
* Created by Mark Wade
|
||||
@@ -77,16 +77,7 @@ class sl_blogthis
|
||||
|
||||
foreach ( ipsRegistry::$applications as $app )
|
||||
{
|
||||
$furltemplatesfile = IPSLib::getAppDir( $app['app_directory'] );
|
||||
if(IPB_USE_ONLY_ID_FURL && is_file( $furltemplatesfile.'/extensions/furlTemplatesID.php'))
|
||||
{
|
||||
$furltemplatesfile.='/extensions/furlTemplatesID.php';
|
||||
}
|
||||
else
|
||||
{
|
||||
$furltemplatesfile.='/extensions/furlTemplates.php';
|
||||
}
|
||||
$_file = $furltemplatesfile;
|
||||
$_file = IPSLib::getAppDir( $app['app_directory'] ) . '/extensions/furlTemplates.php';
|
||||
|
||||
if ( is_file( $_file ) )
|
||||
{
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.0 Beta 2
|
||||
* Bobrdobr plug in for share links library.
|
||||
* This is just the basic fallback bobrdobr share, the front end has JS to do something more fancy
|
||||
*
|
||||
* Created by Matt Mecham
|
||||
* Last Updated: $Date: 2010-01-25 13:21:25 +0000 (Mon, 25 Jan 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: matt $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 5746 $
|
||||
*
|
||||
*/
|
||||
|
||||
/* Class name must be in the format of:
|
||||
sl_{key}
|
||||
Where {key}, place with the value of: core_share_links.share_key
|
||||
*/
|
||||
class sl_bobrdobr
|
||||
{
|
||||
/**#@+
|
||||
* Registry Object Shortcuts
|
||||
*
|
||||
* @access protected
|
||||
* @var object
|
||||
*/
|
||||
protected $DB;
|
||||
protected $settings;
|
||||
protected $lang;
|
||||
protected $member;
|
||||
protected $memberData;
|
||||
protected $cache;
|
||||
protected $caches;
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Construct.
|
||||
* @access public
|
||||
* @param object Registry
|
||||
* @return void
|
||||
*/
|
||||
public function __construct( $registry )
|
||||
{
|
||||
/* Make object */
|
||||
$this->registry = $registry;
|
||||
$this->DB = $this->registry->DB();
|
||||
$this->settings =& $this->registry->fetchSettings();
|
||||
$this->request =& $this->registry->fetchRequest();
|
||||
$this->lang = $this->registry->getClass('class_localization');
|
||||
$this->member = $this->registry->member();
|
||||
$this->memberData =& $this->registry->member()->fetchMemberData();
|
||||
$this->cache = $this->registry->cache();
|
||||
$this->caches =& $this->registry->cache()->fetchCaches();
|
||||
}
|
||||
|
||||
/**
|
||||
* Requires a permission check
|
||||
*
|
||||
* @access public
|
||||
* @param array Data array
|
||||
* @return boolean
|
||||
*/
|
||||
public function requiresPermissionCheck( $array )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirect to Twitter
|
||||
* Exciting, isn't it.
|
||||
*
|
||||
* @access private
|
||||
* @param string Plug in
|
||||
*/
|
||||
public function share( $title, $url )
|
||||
{
|
||||
$title = IPSText::convertCharsets( $title, IPS_DOC_CHAR_SET, 'utf-8' );
|
||||
$url = "http://bobrdobr.ru/addext.html?url=" . urlencode( $url ) . '&title=' . urlencode( $title );
|
||||
|
||||
$this->registry->output->silentRedirect( $url );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* $Author: ips_terabyte $
|
||||
* @since -
|
||||
* $LastChangedDate: 2010-10-14 13:11:17 -0400 (Thu, 14 Oct 2010) $
|
||||
* @version v3.4.5
|
||||
* @version v3.4.6
|
||||
* $Revision: 477 $
|
||||
*/
|
||||
|
||||
@@ -155,7 +155,7 @@ class sl_googleplusone
|
||||
public function share( $title, $url )
|
||||
{
|
||||
$title = IPSText::convertCharsets( $title, IPS_DOC_CHAR_SET, 'utf-8' );
|
||||
$url = "http://www.google.com/sharer.php?u=" . urlencode( $url );
|
||||
$url = "https://plus.google.com/share?url=" . urlencode( $url );
|
||||
|
||||
$this->registry->output->silentRedirect( $url );
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
IP.Board
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,91 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.0 Beta 2
|
||||
* Memori plug in for share links library.
|
||||
* This is just the basic fallback memori share, the front end has JS to do something more fancy
|
||||
*
|
||||
* Created by Matt Mecham
|
||||
* Last Updated: $Date: 2010-01-25 13:21:25 +0000 (Mon, 25 Jan 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: matt $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 5746 $
|
||||
*
|
||||
*/
|
||||
|
||||
/* Class name must be in the format of:
|
||||
sl_{key}
|
||||
Where {key}, place with the value of: core_share_links.share_key
|
||||
*/
|
||||
class sl_memori
|
||||
{
|
||||
/**#@+
|
||||
* Registry Object Shortcuts
|
||||
*
|
||||
* @access protected
|
||||
* @var object
|
||||
*/
|
||||
protected $DB;
|
||||
protected $settings;
|
||||
protected $lang;
|
||||
protected $member;
|
||||
protected $memberData;
|
||||
protected $cache;
|
||||
protected $caches;
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Construct.
|
||||
* @access public
|
||||
* @param object Registry
|
||||
* @return void
|
||||
*/
|
||||
public function __construct( $registry )
|
||||
{
|
||||
/* Make object */
|
||||
$this->registry = $registry;
|
||||
$this->DB = $this->registry->DB();
|
||||
$this->settings =& $this->registry->fetchSettings();
|
||||
$this->request =& $this->registry->fetchRequest();
|
||||
$this->lang = $this->registry->getClass('class_localization');
|
||||
$this->member = $this->registry->member();
|
||||
$this->memberData =& $this->registry->member()->fetchMemberData();
|
||||
$this->cache = $this->registry->cache();
|
||||
$this->caches =& $this->registry->cache()->fetchCaches();
|
||||
}
|
||||
|
||||
/**
|
||||
* Requires a permission check
|
||||
*
|
||||
* @access public
|
||||
* @param array Data array
|
||||
* @return boolean
|
||||
*/
|
||||
public function requiresPermissionCheck( $array )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirect to Twitter
|
||||
* Exciting, isn't it.
|
||||
*
|
||||
* @access private
|
||||
* @param string Plug in
|
||||
*/
|
||||
public function share( $title, $url )
|
||||
{
|
||||
$title = IPSText::convertCharsets( $title, IPS_DOC_CHAR_SET, 'utf-8' );
|
||||
$url = "http://memori.ru/link/?sm=1&u_data[url]=" . urlencode( $url ) . '&u_data[name]=' . urlencode( $title );
|
||||
|
||||
$this->registry->output->silentRedirect( $url );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Twitter plug in for share links library.
|
||||
* This is just the basic fallback twitter share, the front end has JS to do something more fancy
|
||||
*
|
||||
* Created by Matt Mecham
|
||||
* Last Updated: $Date: 2013-02-05 09:14:37 -0500 (Tue, 05 Feb 2013) $
|
||||
* Last Updated: $Date: 2013-10-15 10:55:14 -0400 (Tue, 15 Oct 2013) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: rashbrook $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 11937 $
|
||||
* @version $Rev: 12379 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -92,6 +92,10 @@ class sl_twitter
|
||||
{
|
||||
$hashMan = urlencode('#' . $hashMan);
|
||||
}
|
||||
else
|
||||
{
|
||||
$hashMan = urlencode( $hashMan );
|
||||
}
|
||||
|
||||
$hashMan = ( $hashMan ) ? '%20' . $hashMan : '';
|
||||
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.0 Beta 2
|
||||
* Vkontakte plug in for share links library.
|
||||
* This is just the basic fallback vkontakte share, the front end has JS to do something more fancy
|
||||
*
|
||||
* Created by Matt Mecham
|
||||
* Last Updated: $Date: 2010-01-25 13:21:25 +0000 (Mon, 25 Jan 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: matt $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 5746 $
|
||||
*
|
||||
*/
|
||||
|
||||
/* Class name must be in the format of:
|
||||
sl_{key}
|
||||
Where {key}, place with the value of: core_share_links.share_key
|
||||
*/
|
||||
class sl_vkontakte
|
||||
{
|
||||
/**#@+
|
||||
* Registry Object Shortcuts
|
||||
*
|
||||
* @access protected
|
||||
* @var object
|
||||
*/
|
||||
protected $DB;
|
||||
protected $settings;
|
||||
protected $lang;
|
||||
protected $member;
|
||||
protected $memberData;
|
||||
protected $cache;
|
||||
protected $caches;
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Construct.
|
||||
* @access public
|
||||
* @param object Registry
|
||||
* @return void
|
||||
*/
|
||||
public function __construct( $registry )
|
||||
{
|
||||
/* Make object */
|
||||
$this->registry = $registry;
|
||||
$this->DB = $this->registry->DB();
|
||||
$this->settings =& $this->registry->fetchSettings();
|
||||
$this->request =& $this->registry->fetchRequest();
|
||||
$this->lang = $this->registry->getClass('class_localization');
|
||||
$this->member = $this->registry->member();
|
||||
$this->memberData =& $this->registry->member()->fetchMemberData();
|
||||
$this->cache = $this->registry->cache();
|
||||
$this->caches =& $this->registry->cache()->fetchCaches();
|
||||
}
|
||||
|
||||
/**
|
||||
* Requires a permission check
|
||||
*
|
||||
* @access public
|
||||
* @param array Data array
|
||||
* @return boolean
|
||||
*/
|
||||
public function requiresPermissionCheck( $array )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirect to VK
|
||||
* Exciting, isn't it.
|
||||
*
|
||||
* @access private
|
||||
* @param string Plug in
|
||||
*/
|
||||
public function share( $title, $url )
|
||||
{
|
||||
$title = IPSText::convertCharsets( $title, IPS_DOC_CHAR_SET, 'utf-8' );
|
||||
$url = "http://vk.com/share.php?url=" . urlencode( $url ) . '&title=' . urlencode( $title );
|
||||
|
||||
$this->registry->output->silentRedirect( $url );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user