Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#2296 2013-11-13 15:08:00
Offline
#2297 2013-11-13 18:14:49
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
Thanks, Nicolas and Bloke!
The GitHub master .zip file only has the source for the plug-ins. Is there a good way to download the new plug-in .txt files?
Offline
#2298 2013-11-15 12:58:53
Offline
#2299 2013-11-15 16:28:12
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: MLP - The Multi-Lingual Publishing Pack
Thanks, Nicolas. It’s odd that the download from GitHub doesn’t include the .txt files.
Offline
#2300 2014-03-08 21:57:22
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: MLP - The Multi-Lingual Publishing Pack
The links stored by me for this plugin doesn’t work anymore. Which is the latest version and where can I find a documentation? MLP was always for me a hurdle that I haven’t taken until now. More than 2300 posts … what a shock.
Offline
#2301 2014-03-08 22:31:21
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
Yes, it’s hard to find nowadays… Stef put it on Github. I will add this to the first post, hopefully that is where people look first…
Offline
#2302 2014-03-08 22:56:53
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: MLP - The Multi-Lingual Publishing Pack
Thank you! And you know something about a documentation? For example with information about the tags?
Offline
#2303 2014-03-08 23:43:26
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: MLP - The Multi-Lingual Publishing Pack
The plugin itself has extensive documentation, you’ll need to install it first to read it though.
Offline
#2304 2014-03-11 10:24:29
- matteo
- Member
- Registered: 2013-12-19
- Posts: 26
Re: MLP - The Multi-Lingual Publishing Pack
Hello,
I use in my siteweb the plugin MLP and the url is then www.siteurl.it/it.
I would like to run the IP Canonicalization in my siteweb that is siteurl.it/it conduct to www.siteurl.it/it.
This operation works only in homepage and in another sections conduts always in homepage.
I used this htacces:
#php_value register_globals 0
#Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^siteurl\.it [NC,OR]
RewriteCond %{HTTP_HOST} ^000\.000\.000\.000
RewriteRule (.*) http://www.siteurl.it [R=301,L]
Is correct the htaccess?
Thank you.
Matteo
{Edited to add bc. to make sure Textile doesn’t swallow portions. – Uli}
Last edited by uli (2014-03-11 14:12:37)
Offline
#2305 2014-03-11 12:10:41
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: MLP - The Multi-Lingual Publishing Pack
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{http_host} !^www\.siteurl\.it$ [NC]
RewriteRule ^(.*)$ http://www.siteurl.it/$1 [R=301,L]
(…)
</IfModule>
Last edited by GugUser (2014-03-11 12:10:58)
Offline
#2306 2014-03-11 14:37:37
- matteo
- Member
- Registered: 2013-12-19
- Posts: 26
Re: MLP - The Multi-Lingual Publishing Pack
I have to completely replace my code with the one you wrote?
Thank’s,
Matteo
Offline
#2307 2014-03-11 15:24:29
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: MLP - The Multi-Lingual Publishing Pack
As I don’t know your complete .htaccess file, replace …
RewriteCond %{HTTP_HOST} ^siteurl\.it [NC,OR]
RewriteCond %{HTTP_HOST} ^000\.000\.000\.000
RewriteRule (.*) http://www.siteurl.it [R=301,L]
… with:
RewriteCond %{http_host} !^www\.siteurl\.it$ [NC]
RewriteRule ^(.*)$ http://www.siteurl.it/$1 [R=301,L]
Offline
#2308 2014-05-08 08:04:19
Re: MLP - The Multi-Lingual Publishing Pack
All
Just a note until I get round to packaging up the plugins properly. If you have upgraded/installed Txp 4.5.x or are upgrading the MLP plugins by copying and pasting the source code from Github over the top of your existing plugin code, please note that you will need to perform an additional step (just once). Failure to do this will result in article alterations not showing up on the site, even though the changes look as though they have been made in the admin side.
To fix this, the plugin type needs to be ‘5’ (not ‘1’ like it was originally). Assuming you have permitted PHP to run in Pages (check your Admin->Preferences), paste the following code at the top of any Page template and view a page on your site that uses that Page to have it change the plugin type for you:
<txp:php>
safe_update('txp_plugin', 'type=5', "name='l10n'");
</txp:php>
Once you’ve viewed your site, check everything works by changing an article rendition and verifying that the changes are saved and show up on the website itself. Then you can delete the above code from your Page and you’re all set.
Sorry for the inconvenience. I’ll get everything set up properly one day.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#2309 2014-07-16 12:46:00
- Bicss11
- Member
- Registered: 2014-04-03
- Posts: 24
Re: MLP - The Multi-Lingual Publishing Pack
Im trying to install the mlp plugin for this and the code gives me error
Im pasting from Begin Plugin code to END plugi code
https://github.com/Bloke/MLP/blob/master/plugins/sources/gbp_admin_library.php
Last edited by Bicss11 (2014-07-16 12:46:38)
Offline
#2310 2014-07-16 12:56:11
Re: MLP - The Multi-Lingual Publishing Pack
Bicss11 wrote #282188:
Im trying to install the mlp plugin for this and the code gives me error
If you’re installing the latest GitHhub version, download the zip package from GitHub, overwrite all the files from there to your textpattern folder as usual, then you can just install the full plugins I’ve temporarily packaged up here:
- stefdawson.com/downloads/gbp_admin_library_v0.4.2_zip.txt
- stefdawson.com/downloads/l10n_v4.5.5-01_zip.txt
That should save you some hassle.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline