News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Ant's Mutant Curve

Started by Antechinus, February 26, 2020, 11:02:14 PM

Previous topic - Next topic

FredHH21

There is no "re:" anymore when replying to a post.
Any hint what is going wrong ?
Thanks

Antechinus

I deliberately got rid of that. A lot of people hate it, and I'm one of those people. :D
However, if you want to have it cluttering up the gui and annoying people you can do that easily. The code is in languages/ThemeStrings.english.php:
// Hide the response prefix (the dreaded "Re:").
$txt['response_prefix'] = '';

If you remove that, it will go back to the default. Note you will also have to clear the forum cache (in the admin maintenance area).

User Andrey

Just started to use this awesome theme. It's great! Thanks a lot!

But I have experienced one problem blocking making this theme as default - several pages are blank for unregistered users (with no any php/httpd/smf errors in all logs). How can I debug this case?

rcane

I love the Theme, but I've got a problem and cannot find the box to check:

If you click on some of the boards' names it doesn't go in and show you ALL the posts; it goes to a blank box saying there are no messages.  There is a sticky in there, so I know it's not empty.

The problem is, quite a few of the boards do this, and I'm unable to spot the box to check.

Thoughts?

Mike66

Board permissions?

Admin - Forum - Boards - Modify Boards

rcane

Quote from: Mike66 on November 16, 2021, 11:18:34 AMBoard permissions?

Admin - Forum - Boards - Modify Boards

I checked.  It's not the only read-only board I have.  Looks like it's just that one board.  Deleted it, re-built, and it seems to be behaving normally.  I'll keep an eye on it.  Thank you though.

Antechinus

Quote from: andreifrommsk on November 14, 2021, 04:06:20 PMJust started to use this awesome theme. It's great! Thanks a lot!

But I have experienced one problem blocking making this theme as default - several pages are blank for unregistered users (with no any php/httpd/smf errors in all logs). How can I debug this case?
Offhand I don't know. Would need more information. For a start, which pages are blank?

User Andrey

Quote from: Antechinus on November 16, 2021, 04:50:20 PM
Quote from: andreifrommsk on November 14, 2021, 04:06:20 PMJust started to use this awesome theme. It's great! Thanks a lot!

But I have experienced one problem blocking making this theme as default - several pages are blank for unregistered users (with no any php/httpd/smf errors in all logs). How can I debug this case?
Offhand I don't know. Would need more information. For a start, which pages are blank?

All index.php?board=* are fine.

Almost all index.php?topic=* are blank. Only topics with small number of answers are loaded fine.

I have about 10 different themes installed. All of them load pages fine, so this is not the httpd / php or hardware problem.

I have investigated the index.php a bit and found that everything goes fine at least till obExit, but I have failed to investigate further.

I use smf 2.0.18 btw.

User Andrey

Quote from: andreifrommsk on November 20, 2021, 05:48:41 PM
Quote from: Antechinus on November 16, 2021, 04:50:20 PM
Quote from: andreifrommsk on November 14, 2021, 04:06:20 PMJust started to use this awesome theme. It's great! Thanks a lot!

But I have experienced one problem blocking making this theme as default - several pages are blank for unregistered users (with no any php/httpd/smf errors in all logs). How can I debug this case?
Offhand I don't know. Would need more information. For a start, which pages are blank?

All index.php?board=* are fine.

Almost all index.php?topic=* are blank. Only topics with small number of answers are loaded fine.

I have about 10 different themes installed. All of them load pages fine, so this is not the httpd / php or hardware problem.

I have investigated the index.php a bit and found that everything goes fine at least till obExit, but I have failed to investigate further.

I use smf 2.0.18 btw.

For example, this page is blank: https://xn--l1adgmc.xn-----6kccnlg3aef0aghb5bfbs6ge7h0c.xn--p1ai/index.php?topic=79.0 (Currently there is Curve installed).

Antechinus

Ok. This is odd, because the theme does not mess with anything relevant, as far as I know. Topic pages are generated in Sources, not in the themes. Themes just render the output from Sources, and I can't see how the theme could truncate topics at all.

How large do the topics have to be before the problem appears?
And what is the theme ID number for my theme on your site?

dbovine

Hi, I had messaged you about trying to add a Like button but before install it says failed when it comes to your theme files
Here is a link to the mod I was trying to use
Like Post


Antechinus

Ok. It should be easy enough to sort this. I'll take a look at it later today,

User Andrey

Quote from: Antechinus on November 20, 2021, 06:05:56 PMOk. This is odd, because the theme does not mess with anything relevant, as far as I know. Topic pages are generated in Sources, not in the themes. Themes just render the output from Sources, and I can't see how the theme could truncate topics at all.

How large do the topics have to be before the problem appears?
And what is the theme ID number for my theme on your site?

Topics with >=4 answers are blank. Topics with <=3 answers are fine. The theme ID is Ants_Mutant_Curve_1

Antechinus

Ok, it's something specific to your site. This topic on one of my test sites has 128 replies: http://smftest.hawkdawg.com/index.php?topic=3.0

As you can see, it all works. So, I can only assume that you have done something to the copy of the theme on your site. Have you edited any of the theme files, or installed any mods that would edit any of the theme files?

And regarding the theme ID on your site, I meant the numerical ID that is stored in the database. For example, this theme on that test site is http://smftest.hawkdawg.com/index.php?theme=2

If some of us can select the theme on your site, this may make diagnosing the problem easier.

User Andrey

Quote from: Antechinus on November 21, 2021, 04:43:06 PMOk, it's something specific to your site. This topic on one of my test sites has 128 replies: http://smftest.hawkdawg.com/index.php?topic=3.0 [nofollow]

As you can see, it all works. So, I can only assume that you have done something to the copy of the theme on your site. Have you edited any of the theme files, or installed any mods that would edit any of the theme files?

And regarding the theme ID on your site, I meant the numerical ID that is stored in the database. For example, this theme on that test site is http://smftest.hawkdawg.com/index.php?theme=2 [nofollow]

If some of us can select the theme on your site, this may make diagnosing the problem easier.

I've reinstalled the theme (and checked that diff between the archive and theme folder is empty), but pages were still blank.

The theme number is 9.

Example blank page is https://форум.школа-женского-счастья.рф/index.php?topic=631.0 [nofollow]

Kindred

Quote from: andreifrommsk on November 23, 2021, 09:31:23 AMExample blank page is https://форум.школа-женского-счастья.рф/index.php?topic=631.0


I can see that page just fine... and all 64 pages on that thread....

I do know that 2.0.18 has an issue with UTF-8 languages like Cyrilic which received a patch (and will be incorporated into 2.0.19)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Antechinus

Quote from: Kindred on November 23, 2021, 11:52:56 AM
Quote from: andreifrommsk on November 23, 2021, 09:31:23 AMExample blank page is https://форум.школа-женского-счастья.рф/index.php?topic=631.0

I can see that page just fine... and all 64 pages on that thread
I can't see them when using theme=9. Have you tried that?

There is definitely some sort of issue here.

User Andrey

Example blank page is https://форум.школа-женского-счастья.рф/index.php?topic=631.0 [nofollow]
Quote from: Antechinus on November 23, 2021, 01:57:13 PM
Quote from: Kindred on November 23, 2021, 11:52:56 AM
Quote from: andreifrommsk on November 23, 2021, 09:31:23 AMExample blank page is https://форум.школа-женского-счастья.рф/index.php?topic=631.0 [nofollow]

I can see that page just fine... and all 64 pages on that thread
I can't see them when using theme=9. Have you tried that?

There is definitely some sort of issue here.

Maybe I can add some debug printing somewhere in the code to figure out the problem?

Antechinus

Maybe. Honestly at the moment I have no idea what the problem is. I only tested the theme with a couple of langauges, and it seemed fine. We might need to rope in one of the devs

dbovine

Quote from: Antechinus on November 21, 2021, 02:05:54 PMOk. It should be easy enough to sort this. I'll take a look at it later today,

any chance you have looked at this?

Advertisement: