Search found 493 matches

by shortmort37
Fri Jul 17, 2020 3:14 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

That worked! Many thanks!!
by shortmort37
Fri Jul 17, 2020 2:59 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

Still no love... And the debugger is not given an opportunity to report. No statistics reported, no SQL Explain link.
error.JPG
by shortmort37
Fri Jul 17, 2020 2:25 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

It seems like it should work - but unfortunately, my browser complains "This page isn’t working. 59plymouth.net is currently unable to handle this request."
by shortmort37
Fri Jul 17, 2020 3:09 am
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

Yeah. I'm back! I use Vinny's "Forum Image as Forum Icon" extension, which presents the forum icon in grayscale if there are no unread topics in the forum. I like this! I'd like to do the same with the topic row icons I've enabled with Martti's Custom Code extension. Of course, my Twig skills are a ...
by shortmort37
Mon Jun 29, 2020 9:16 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

Ah! .topiclist provides the needed constraint, for topic icon images only:

Code: Select all

.topiclist img {
  float:left;
  padding-left: 3px;
  padding-top: 3px;
  padding-bottom: 3px;
}
Problem solved!
by shortmort37
Mon Jun 29, 2020 1:57 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

Better move the style to the <head> ( overall_header_stylesheets_after ) because now you are repeating the same styling rules each row, which is not necessary. You can also reduce the padding and move the text to the left to fill up the empty space: <style> dl.row-item dt .list-inner { padding-left...
by shortmort37
Tue Jun 23, 2020 8:24 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

Long story short: use ['forum_path'] instead of [forum_path] . Oh, the apostrophes - they have a meaning! Arrgggh! I can admit when I am wrong. Somewhere in my fat-fingering, in the version I had prepared to include a directory path I had inadvertently deleted the "set" in "set topic_images..." :oo...
by shortmort37
Sun Jun 21, 2020 9:21 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

Well, your suggestion seemed sensible and logical to me.

Nonetheless, it did not work.
by shortmort37
Sun Jun 21, 2020 8:45 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

The 5 as first digit in HTTP status 500 means the server has a problem. HTTP servers usually write to files named error.log which you should check for an actual error message. Mebbe. But this formulation by kasimi - sans path - works perfectly: {% set topic_images = { 120: { 3052: 'jbauck', ... }, ...
by shortmort37
Sun Jun 21, 2020 8:03 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

AmigoJack wrote:
Sun Jun 21, 2020 7:46 pm
Long story short: use ['forum_path'] instead of [forum_path]. Oh, the apostrophes - they have a meaning!
Still no love - it produces 500 errors.
by shortmort37
Sun Jun 21, 2020 7:21 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

Not a bump! But just as an update, something else I tried along the lines of GoBieN's suggestion: {% set topic_images = { 120: { 3052: 'jbauck', 3051: 'ceaberg', 3053: 'bbeck', ... forum_path: 'sportfury' }, 121: { 3138: 'dbauer', 3140: 'mcoudriet', 3141: 'cbdanners', ... forum_path: 'fury' }, 122: ...
by shortmort37
Sun Jun 21, 2020 5:44 pm
Forum: Extensions in Development
Topic: [3.3][BETA] Custom Code
Replies: 856
Views: 109890

Re: [3.3][BETA] Custom Code

It's been a while, right? I got distracted by a server move, but now I'm back to this issue... I see that this is an acceptable construct from the Twig documentation: {% set foo, bar = 'foo', 'bar' %} So I distributed the forum icons in subdirectories, e.g.: /images/forumicons/sportfury Then I attem...
by shortmort37
Mon Jun 15, 2020 3:06 pm
Forum: [3.3.x] Support Forum
Topic: 500 errors on cache purging
Replies: 94
Views: 2604

Re: 500 errors on cache purging

The saga continues. I will keep you posted! Out of the frying pan, into the fire! I made an abortive attempt to jump providers; support for the new provider was not all that helpful, and there were several technical missteps. I was not all that happy with the new experience. Meanwhile, I had petiti...
by shortmort37
Tue Jun 02, 2020 9:24 pm
Forum: [3.3.x] Support Forum
Topic: 500 errors on cache purging
Replies: 94
Views: 2604

Re: 500 errors on cache purging

And what happens if you remove "directory protection"? As with my production site, David, bots swarm and eventually trigger the cache to populate. They don't seem to mind the errors :lol: However, there's one thing the bots can't do - and, that is to reply, or post (without credentials). But, leavi...
by shortmort37
Tue Jun 02, 2020 5:57 pm
Forum: [3.3.x] Support Forum
Topic: 500 errors on cache purging
Replies: 94
Views: 2604

Re: 500 errors on cache purging

(*sigh*...) It seems that if I want to jump ship, I'm going to have to pay a lot more than I'm paying right now. Closing in on retirement, the prospect isn't very appealing... They say that people don't change, until the pain of not changing becomes greater than the pain of changing. Perhaps I'm not...

Go to advanced search