Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slogan plugin
#13
Small plugin that allows using Slogans without I18N:
Code:
<?php
// register plugin
$thisfile = basename(__FILE__, ".php");
register_plugin(
    $thisfile,
    'No-I18N patch for Slogans',
    '0.1', 'Carlos', '#', 'Allows using Slogans plugin without I18N base installed'
);

function return_i18n_available_languages() { return array('en'); }
function return_i18n_languages() { return array('en'); }
function return_i18n_default_language() { return 'en'; }

//end of file
Save as no_i18n_patch_slogans.php (for example), upload to your plugins folder and activate it.

Important note: this plugin/patch is NOT compatible with the I18N Search plugin.
Reply


Messages In This Thread
Slogan plugin - by Zorato - 2012-09-13, 06:40:25
RE: Slogan plugin - by tazmandev - 2013-04-01, 12:58:03
RE: Slogan plugin - by Zorato - 2013-04-02, 00:28:03
RE: Slogan plugin - by Zorato - 2013-04-27, 08:34:29
RE: Slogan plugin - by tazmandev - 2013-04-28, 09:34:11
RE: Slogan plugin - by Timbow - 2014-05-03, 08:11:02
RE: Slogan plugin - by davetest - 2015-03-24, 20:51:33
RE: Slogan plugin - by Zorato - 2015-03-25, 01:29:53
RE: Slogan plugin - by davetest - 2015-03-25, 01:58:25
RE: Slogan plugin - by Carlos - 2015-03-25, 03:42:28
RE: Slogan plugin - by davetest - 2015-03-25, 07:19:10
RE: Slogan plugin - by shawn_a - 2015-03-25, 10:27:58
RE: Slogan plugin - by Carlos - 2015-03-26, 05:25:21
RE: Slogan plugin - by shawn_a - 2015-03-26, 06:44:09
RE: Slogan plugin - by davetest - 2015-04-14, 20:21:49
RE: Slogan plugin - by davetest - 2015-04-16, 07:06:26
RE: Slogan plugin - by simplycrazy - 2015-04-16, 10:41:05
RE: Slogan plugin - by davetest - 2015-04-16, 17:54:37
RE: Slogan plugin - by simplycrazy - 2015-04-16, 18:08:43
RE: Slogan plugin - by Tyblitz - 2015-04-18, 01:58:21
RE: Slogan plugin - by simplycrazy - 2015-04-18, 03:13:02
RE: Slogan plugin - by Tyblitz - 2015-04-18, 07:50:37
RE: Slogan plugin - by simplycrazy - 2015-04-18, 11:48:10
RE: Slogan plugin - by davetest - 2015-04-18, 05:17:28
RE: Slogan plugin - by Timbow - 2015-04-16, 08:05:14
RE: Slogan plugin - by Carlos - 2015-04-17, 00:19:37
RE: Slogan plugin - by Carlos - 2015-05-02, 18:55:11
RE: Slogan plugin - by davetest - 2015-05-02, 19:48:21
Slogan plugin - by mvlcek - 2012-09-20, 16:11:54



Users browsing this thread: 2 Guest(s)