3.1 & 3.2 Extensions Database 3.1 / 3.2Pretty Topic

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

boldherri
Users
Users
Posts: 46
Joined: 31 May 2018, 15:28
    Windows 10 Firefox

Re: Pretty Topic

Post by boldherri »

Incredible, I can not find the settings to make the labels appear on the homepage or in the topic :wall:

User avatar

jan_2017
Users
Users
Posts: 203
Joined: 05 Feb 2017, 10:21
    Android Chrome

Re: Pretty Topic

Post by jan_2017 »

The settings are not in Acp.
You must show in css file! :wink:

User avatar

boldherri
Users
Users
Posts: 46
Joined: 31 May 2018, 15:28
    Windows 10 Firefox

Re: Pretty Topic

Post by boldherri »

jan_2017 wrote: 06 Jun 2018, 06:29 The settings are not in Acp.
You must show in css file! :wink:
Hi thanks,
I do not know why but now the topics put in important or blocked works.

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Windows 8.1 Chrome

Re: Pretty Topic

Post by kamaleon »

I created the Spanish version, but it does not seem to be working...

What can I do?

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Windows 8.1 Chrome

Re: Pretty Topic

Post by kamaleon »

Anyone?

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Pretty Topic

Post by martin »

kamaleon wrote: 04 Dec 2018, 14:22 I created the Spanish version, but it does not seem to be working...

What can I do?

Do it right and it will work.
Image

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Windows 8.1 Chrome

Re: Pretty Topic

Post by kamaleon »

I just added an es folder copied common.php from en folder and translated common.php

What did I do wrong?

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Windows 8.1 Chrome

Re: Pretty Topic

Post by kamaleon »

Code: Select all

root@ns:/var/www/mysite.com/public_html/ext/dmzx/prettytopic/language/es# cat common.php
<?php
/*
*
* @package Pretty topic
* @author dmzx (www.dmzx-web.net)
* @copyright (c) 2014 by dmzx (www.dmzx-web.net)
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

if (!defined('IN_PHPBB'))
{
        exit;
}

if (empty($lang) || !is_array($lang))
{
        $lang = array();
}

$lang = array_merge($lang, array(
    'VIEW_TOPIC_ANNOUNCEMENT'   => 'Anuncio',
    'VIEW_TOPIC_GLOBAL'         => 'Anuncio Global',
    'VIEW_TOPIC_LOCKED'         => 'Bloqueado',
    'VIEW_TOPIC_LOGS'           => 'Ver logs',
    'VIEW_TOPIC_MOVED'          => 'Movido',
    'VIEW_TOPIC_POLL'           => 'Encuesta',
    'VIEW_TOPIC_STICKY'         => 'Sticky',
));
What did I do wrong?

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Windows 7 Chrome

Re: Pretty Topic

Post by kamaleon »

Bump...

User avatar

jan_2017
Users
Users
Posts: 203
Joined: 05 Feb 2017, 10:21
    Android Chrome

Re: Pretty Topic

Post by jan_2017 »

kamaleon wrote: 11 Dec 2018, 22:23Bump...
Do you really called folder "es# cat common.php"??????

You must rename this folder to "es" without the Rest

purge cache

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Windows 8.1 Chrome

Re: Pretty Topic

Post by kamaleon »

The folder is called es, # means root prompt and cat is a linux command to see the content of a file.

And cache purged 10 times.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Pretty Topic

Post by Sniper_E »

You don't do it this way.

Code: Select all

root@ns:/var/www/mysite.com/public_html/ext/dmzx/prettytopic/language/es# cat common.php
Copy dmzx/prettytopic/language/en/ To: dmzx/prettytopic/language/es/

Then open dmzx/prettytopic/language/es/common.php and replace these lines.

Code: Select all

    'VIEW_TOPIC_ANNOUNCEMENT'   => 'Anuncio',
    'VIEW_TOPIC_GLOBAL'         => 'Anuncio Global',
    'VIEW_TOPIC_LOCKED'         => 'Bloqueado',
    'VIEW_TOPIC_LOGS'           => 'Ver logs',
    'VIEW_TOPIC_MOVED'          => 'Movido',
    'VIEW_TOPIC_POLL'           => 'Encuesta',
    'VIEW_TOPIC_STICKY'         => 'Sticky',
Save, upload and refresh browser.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Android Chrome

Re: Pretty Topic

Post by kamaleon »

This is exactly what I did as I said above and it did not work.

Please read my previous post

Pretty Topic

User avatar

Solidjeuh
Donator
Donator
Posts: 348
Joined: 13 Dec 2014, 02:40
    Windows 10 Firefox

Re: Pretty Topic

Post by Solidjeuh »

kamaleon wrote: 05 Dec 2018, 19:15

Code: Select all

root@ns:/var/www/mysite.com/public_html/ext/dmzx/prettytopic/language/es# cat common.php
<?php
/*
*
* @package Pretty topic
* @author dmzx (www.dmzx-web.net)
* @copyright (c) 2014 by dmzx (www.dmzx-web.net)
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

if (!defined('IN_PHPBB'))
{
        exit;
}

if (empty($lang) || !is_array($lang))
{
        $lang = array();
}

$lang = array_merge($lang, array(
    'VIEW_TOPIC_ANNOUNCEMENT'   => 'Anuncio',
    'VIEW_TOPIC_GLOBAL'         => 'Anuncio Global',
    'VIEW_TOPIC_LOCKED'         => 'Bloqueado',
    'VIEW_TOPIC_LOGS'           => 'Ver logs',
    'VIEW_TOPIC_MOVED'          => 'Movido',
    'VIEW_TOPIC_POLL'           => 'Encuesta',
    'VIEW_TOPIC_STICKY'         => 'Sticky',
));
What did I do wrong?
Why is root@ns:/var/www/mysite.com/public_html/ext/dmzx/prettytopic/language/es# cat common.php in there?
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------

User avatar

kamaleon
Users
Users
Posts: 50
Joined: 26 Jul 2015, 10:56
    Windows 7 Chrome

Re: Pretty Topic

Post by kamaleon »

Because I am showing you the contents of the file common.php

Post Reply Previous topicNext topic