Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - David Pilling

#691
General Discussion / Re: pretty flowers
April 08, 2021, 01:39:55 PM
In /etc/apache2/php/7.2/php.ini

upload_max_filesize was 32M

post_max_size was 8M

I have changed post_max_size to 32M and rebooted Apache.

#692
General Discussion / Re: pretty flowers
April 08, 2021, 01:33:15 PM
Looking at the log files is good fun - probly there are some bugs I should fix. But most of the contents are driven by hackers - every few seconds someone tries to log in to our word press installation. Anyway I found this:

[Wed Apr 07 18:11:10.611501 2021] [php7:warn] [pid 24519] [client 95.222.28.145:14703] PHP Warning:  POST Content-Length of 14394519 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: https://www.pacificbulbsociety.org/smf/index.php?action=post;topic=11.30;last_msg=133
[Wed Apr 07 18:17:33.315059 2021] [php7:warn] [pid 24519] [client 95.222.28.145:14687] PHP Warning:  POST Content-Length of 14394539 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: https://www.pacificbulbsociety.org/smf/index.php?action=post;topic=11.30;last_msg=133
#693
General Discussion / Re: pretty flowers
April 08, 2021, 09:32:54 AM
OK, I feared they might. Those logs are not easy for me to access either - I often end up setting them to 777 permissions. I will try to look later...
#694
General Discussion / Re: pretty flowers
April 07, 2021, 02:00:32 PM
Hi Martin, thing would be do a crash and look at the Apache/PHP log file to see what happened. You can look now, but best if you know the time when the crash happened.

#695
General Discussion / Re: pretty flowers
March 29, 2021, 05:49:55 AM
Martin - good ideas. It reminded me that there are commands to set the max amount of core for PHP to use. At one time we had that in a .htaccess file. Seems to not be there now, at least in the main one.

#696
General Discussion / Re: pretty flowers
March 28, 2021, 09:33:00 AM
Yes the photos are still downloading instead of expanding.

You're thinking, old bloke, anger management issues, flip phone. The phone is actually six years old. Didn't seem that old, but CoVid has passed another year by.

I tried my photoswipe pages, and photoswipe did not load. Phone too old.

Getting the red mist out of the way, I am saying that four photos, and small ones (it's an old phone) won't upload, and if you try there is some sort of crash. Possibly I could look in the PHP error log.
#697
General Discussion / Re: pretty flowers
March 28, 2021, 08:15:04 AM
photos
#698
General Discussion / Re: pretty flowers
March 28, 2021, 08:13:24 AM
Photos
#699
General Discussion / Re: pretty flowers
March 28, 2021, 08:12:21 AM
So I tried living my life on my phone. Mired in a sea of missing passwords. Eventually I got to posting to this forum, to upload files I was told I needed an upgrade, and Google/Android update told me the phone was no longer supported. Which was fine since I was going to stamp on the phone and throw it away anyway.

We went to the vaccination centre today, and I saw these blue primroses.

I've been told there is a devil set aside for anyone who posts shrub photos to the PBS, so there's a Forsythia to conclude with.

Wait there's more, having painstakingly typed all this in and selected the photos, post resulted in a new message screen and no post. Seems this was about the time Gastil posted.

Won't get fooled again, I'll copy my text before posting.

Yep, it happened again. Chucks away the post. I'll now post without the photos.

#700
General Discussion / Re: pretty flowers
March 28, 2021, 04:29:24 AM
Quote from: Martin Bohnet on March 27, 2021, 08:38:40 PM
Let's have everyone post their browsers

Chrome on Windows 10, and Chrome on Ubuntu.

I have a Mac I could try on that.

#701
General Discussion / Re: pretty flowers
March 27, 2021, 03:05:38 PM
Wikipedia says marmalade comes from Portuguese for quince. Interesting discussion. Things I never knew. Hard to believe you could have orange marmalade that did not set - usually lots of pectin about. Maybe we could debate the meaning of jelly/jello/jam.
#702
General Discussion / Re: pretty flowers
March 27, 2021, 09:35:48 AM
Quote from: gastil on March 27, 2021, 08:51:36 AM
Is the crocus photo (between some text and some more text) done with an img tag and url to david's TEG site or with an uploaded/attached image?

It was done with the new insert button next to image upload. Inline thumbnails on this page are now working correctly for me. Progress...

hover over images will probably show how they're done

click on traditional end of message uploads is still doing download. I notice they are now in a row rather than as previously a column.
#703
General Discussion / Re: pretty flowers
March 27, 2021, 08:50:49 AM
Ah but, click on thumbnail does download...

#704
General Discussion / Re: pretty flowers
March 27, 2021, 08:49:10 AM
some text
[attach id=0 msg=92]
some more text

Martin - that is a big improvement
#705
PBS Forum Feedback & Help / hints and tips
March 27, 2021, 05:07:20 AM
This sticky topic will be modified to summarize your best hints and tips in the first post - please add your findings in the discussion, the team will condense the ideas up here.

Recent Posts (by David)

If you miss the old list feeling, try the following link: It lets one read posts (from new to old) as if they are in a flat structure.

https://www.pacificbulbsociety.org/pbsforum/index.php?action=recent

@-Mention someone (by Martin)

If you want to draw someones attention to a topic, mention them with the '@' symbol,like

@gastil or @David Pilling 

Note: You can't @-mention yourself. The system will try to help you and offers user names as soon as you type the first letters of the user name directly after an @
How and if you're notified if YOU are @-mentioned can be determined in your notification settings: receive an email or an onscreen alert - or don't. just your choice!

Species and the Wiki (by Martin)

We've got our first very own bb-code (the markup language you can use to style your posts here), allowing to link species directly to the wiki. All you have to do is to surround a genus name or species binomial with the following code:

[species]Genus epithet[/species]

The system will check if there is information on the wiki and will generate a link and a preview if possible, otherwise will just display the text in italics. These links will adapt if species are added to the wiki or page structures are changed, thus are superior to directly copying the current link. you don't even have to memorize the code - just highlight your species name and click the little bulb symbol in your editor tool row - currently it's behind font tools, we may move it later (and update this text).

A few examples how it deals with certain situations and wiki structures? Gladiolus splendens
Flower Colors: red
Climate: winter rain climate
, Gladiolus nonexistus, Examplus nonexistus, Crinum americanum
, Achimenes 'Grape Wine'
Flower Colors: purple
Life form:  rhizome
Climate: summer rain climate
.

Posting Pictures (by Martin)

To add your own pictures to your posts, you can use the "Attachments" function. The corresponding interface is displayed on clicking the little arrow icon next to "Attachments and other options" beneath your edit window on posting or starting a topic.

ATTENTION: The attachment area is not there when using the "Quick Reply" window below a discussion. Please use the "Reply" Button instead.

You can drag&drop a file into the "Attach" field or select one via file dialog on clicking "Add Files". The page will then display a preview of the file and the buttons "Cancel" or "Upload" - press the latter one to start uploading - you can edit your post or choose more attachments simultaneously. On completion of the upload, the image area will turn green, and display some code to embed the image into your text - you can copy and paste that or hit the "Insert" button at the bottom right of the green area to add the picture to your post text - you can even resize the display (not the image data file) using width options:

DSCF6230.jpg [attach id=444 width=100]Image Title displayed on hover[/attach] 
DSCF6230.jpg [attach id=444 width=150]another Image Title displayed on hover[/attach] 

If you choose not to embed the files in the text, they will be displayed as clickable thumbnails beneath the post - which most of the time is the better solution for readability and will also provide you with statistics on how often people clicked on your image to see it full size.

There's currently a limit of 4 pictures with 32MB summed up file size on upload per post. The system will auto-resize bigger images to 1024 pixels in the longer dimension, and 75% JPEG quality, which we think is a good compromise for web graphics and is actually the size we prefer to use on the wiki, so this saves the wiki editors one step on adding stuff. It will also try to interpret embedded exif-data on jpgs to rotate the image if necessary. Allowed image formats are JPEG (file extentions .jpg .jpe .jpeg), PNG and GIF.