Support Forum
Version 5.6.7 is mainly a small bug fix release. This fixes some minor issues that include:
- The new admin side members listing
- Support for the Albanian language
- Some WP theme menu issues
- Improper use of the 'empty' php function
- Some character issues in the AutoLink plugin
- Use of a mention when the first character in a post
- One or two spelling typos
A couple of these issues were caused by older versions of php still being used by hosts. While still officially supported by WordPress, it is a bit disgraceful that hosts continue to use old versions of php that have officially passed their end of life support. Old versions of 5.2 still appear to be in use yet here we are looking closely at php version 7.
It is thought that one of the earliest uses of the word 'bug' in the context of something being wrong was used in a letter penned by Thomas Edison in 1878 who then went on to define it 'as such little faults and difficulties are called'. Many people believe it stems from the old English word 'bugbear'. I thought you might like to know that.
Of course, software programmers quite like the term as it makes it sound like errors were not their fault!
YELLOW
SWORDFISH
|
I was hoping this update would fix the quoting issue that's cropped up - when my users go to quote certain posts (I think it's mostly if not exclusively posts that already have a quote in them) the full post (the already quoted part) doesn't come up as a quote, it happens if you use either the quote reply button or open reply first then quote a post, I find that if I go back and edit then save the post being quoted, it'll resolve the problem though I don't have to actually change anything in the post before saving. It's happening both with a new forum I've set up and my old one that I've had going for 8 years.
You can see it in effect on this post http://take2tv.net/forums/off-.....news/#p110 (you shouldn't need to register to post)
(Also, side note: is there a way to bypass default image alignment? If a user is centering an image, when saved it switches to the default left)
Not sure I follow... a change was made a version or two ago to stop quoting quotes endlessly... we now only quote actual post quoted and not previous quotes... is that what you are experiencing?
as to images, you can set whatever default you want on forum - content - options...
Visit Cruise Talk Central and Mr Papa's World
Yikes.. you purposely removed the quotes? I can understand why you would want to reduce the endless nested quotes, but there are situations on our forums ALL THE TIME where people quote a previous quote for continuity of conversation, on a busy discussion thread you need to otherwise you have no idea what the person is responding to!
In the example I linked. it's not so bad because the post is still in context on the page, but if that post is quoted once there are say, 20 more replies, "done, thanks" means absolutely nothing to anyone because they have no idea what that person was responding to.
So you are saying, in effect, that you are the one user that liked all the nested build of of multiple quotes 🙂
Fixing this to just show the last quote has been an ongoing support question and user request. Let me think on it....
YELLOW
SWORDFISH
|
You can see why, given the example I just gave, it'll be an issue though right!? I can understand people not wanting endless quotes, especially when they're quoting really long posts, but you know what, that's just a matter of educating your forum users to remove the unimportant bits before posting - which is what I do lol
Any suggestions in the image alignment issue I also brought up?
You know - being serious - it is most curious and frustrating sitting this end of the support forum. We have people who complain about things - and the quotes are an example - who will tell you that there is no possibility they can 'educate their users' to do things a certain way and that if we don't fix it up it is unusable! We can't win really 🙂
OK - I can give you an option to put the quotes back the way they were. It IS an either or I am afraid - no middle road. So your call. Ee can add a filter which we will include in the next release so will fully support.
If you are OK making a couple of edits I can give you that code now.
On the image alignment it is pretty much going to be down to what you have it set for. This is probably another one of those areas where if we gave most users some sort of choice at insert time we would be told it is too complicated! But I will take a look to see f can be overridden with a class attribute... messy though.
YELLOW
SWORDFISH
|
If I'm honestly the only one or one of a few (though I do run more than one site where this has been brought up) then is it possible to add the fix as a plugin maybe? Would that be better if the majority don't like the nested quotes?
I'm ok with making edits, so long as you give me instructions on what files and where to change stuff I'm good 🙂
Re: Images.. Personally, I'm not a fan of totally centered content in a forum, don't see the need for it, but it does display odd behavior when a user creates a post and the image looks centred in edit mode but changes when the post is saved. This one isn't a high priority for me though.
No need for a plugin. A small change in core will remain and the filter code itself will be protected from updates. So - to edits. Rerember to always use a plain text editor for edits.
First file is /simple-press/forum/content/ahah/sp-ahah-quote.php
Two small edits to make - both additions. Locate the line shown (around line 34 of the file and line 1 below) and add the second line of code :
$content = sp_filter_content_edit($post->post_content); $original = $content;
Then at the end of the file, just before the echo statement add the code as shown below (line 1 below):
$content = apply_filters('sph_quote_content', $content, $original); echo $content;
And save.
Now - if it does not exist - add a NEW php file in your 'wp-content' folder named:
sp-user-functions.php - exactly as shown and add the following code. Note - NO spaces/empty lines must be above the opening php tag or below the closing php tag.
<?php add_filter('sph_quote_content', 'quote_as_original_sp', 10, 2); function quote_as_original_sp($content, $original) { return $original; } ?>
And save.
When it comes to the image question - can you explain to me how someone managed to centre an image during editing? I would like to be able to replicate that...?
YELLOW
SWORDFISH
|