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

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

Re: Pretty Topic

Post by Sniper_E »

Solidjeuh wrote: 12 Dec 2018, 22:27Why is root@ns:/var/www/mysite.com/public_html/ext/dmzx/prettytopic/language/es# cat common.php in there?
kamaleon wrote: 12 Dec 2018, 23:29 Because I am showing you the contents of the file common.php
That line does not belong in that file. That's why Solidjeuh asked. <?php is the first line of a language file. Remove that root@ line.
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
    Windows 8.1 Chrome

Re: Pretty Topic

Post by kamaleon »

That line is NOT in the file.

cat is a linux command to show the contents of a file. All the cat common.php is NOT in the file.

Here is an explation of cat command in linux: https://www.tecmint.com/13-basic-cat-co ... -in-linux/

IF it were in the file, it would give an error most probably and phpBB would not load.

Any other ideas how to fix this?

User avatar

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

Re: Pretty Topic

Post by Sniper_E »

Why you are having problems is bean me.

Disable the pretty topic extension in acp. Delete the data for that extension. Delete the ext/dmzx/prettytopic/ folder from your server.

Download the latest version of prettytopic and Upload it to your server in the ext/dmzx/ folder.
On the server rename the ext/dmzx/prettytopic/language/en/ -TO- ext/dmzx/prettytopic/language/es/
Then from your local copy... copy the prettytopic/language/en/ folder back over to your server files.

Do EXACTLY THAT and then Enable pretty topic extension in acp. Report back any problems you see.

DO ABOVE TEST FIRST BEFORE EDITING ANYTHING
If all looks fine then edit the ext/dmzx/prettytopic/language/es/common.php language file and save.
And try to edit your server files with a free text program like Notepad++
Just in case you editing files with a linux command is the problem. Something else to look for.

User avatar

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

Re: Pretty Topic

Post by kamaleon »

Still not working.

I picked the file this time from this forum and it has already all the languages in it.

Still, nothing is getting translated into Spanish.

I just edit the en version and it changes on my Spanish board.

Anyways, I will just do that, translate the en version to Spanish :)

User avatar

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

Re: Pretty Topic

Post by kamaleon »

Image

I just changed the en version to Announcement2 and it changes...

User avatar

manigopal
Users
Users
Posts: 1
Joined: 30 Dec 2018, 07:47
    Windows 10 Firefox

Re: Pretty Topic

Post by manigopal »

How to add the topic prefix manually other than


Change topic type to:
Normal Sticky Announce Global

say for eg : games,apps,general etc ?

if this ext is not kinda ..share the exact ext for achieving my need

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 can change the names of all of them just like kamaleon did. I think it should be in the extension's language file.
kamaleon wrote: 14 Dec 2018, 18:31 Image

I just changed the en version to Announcement2 and it changes...

User avatar

BBBenj
Users
Users
Posts: 48
Joined: 10 Mar 2017, 10:59
    Windows 10 Opera

Re: Pretty Topic

Post by BBBenj »

Thanks a lot!

I works perfectly in phpBB 3.3.5.

I still have a question. I use the style "element" which offers possibility to add some colours here and there. Is it possible to modify the code in order change the button colours to colours corresponding to the style, please?

User avatar

umi
Users
Users
Posts: 89
Joined: 05 Aug 2019, 14:18
    Windows 7 Firefox

Re: Pretty Topic

Post by umi »

Not working on phpBB 3.3.9:

Code: Select all

Fatal error: Uncaught Twig\Error\LoaderError: Looks like you try to load a template outside configured directories (../theme/prettytopic.css) in "@dmzx_prettytopic/event/overall_header_head_append.html" at line 1.

User avatar

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

Re: Pretty Topic

Post by martin »

Try this.

3.3.9 calls for the css file using twig almost all extensions will need an update (Mine wont as i used twig for a while now)
Pretty_Topic_v1.0.1.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image

User avatar

umi
Users
Users
Posts: 89
Joined: 05 Aug 2019, 14:18
    Windows 7 Firefox

Re: Pretty Topic

Post by umi »

martin wrote: 07 Dec 2022, 01:13 Try this.

3.3.9 calls for the css file using twig almost all extensions will need an update (Mine wont as i used twig for a while now) Pretty_Topic_v1.0.1.zip
Working perfect martin!!

Thanks :beers: :beers: :beers: :beers:
Last edited by umi on 07 Dec 2022, 11:34, edited 1 time in total.

Post Reply Previous topicNext topic