Looking for advice on a table (for want of a better term) problem....
We run a NFL football pool in a sort of table format... (I have a post in the test forum showing the layout and it has all the markups we use for font, bold etc)
Previously the user would "quote" the previous persons post, remove the "quote" tag at the beginning and end of the post, make their changes under their column in the table (where the .xxx is) and post.
On the old software the .xxx columns lined up under the names along the top so it was easy to see and edit your own picks.
Now they no longer line up with the names so you have to count which column from the left you need to edit to get your picks lined up.
When you preview the reply they do however show up correctly (or not if you didn't edit the right column ).
We corrected the issue in previous software by using the "font:Courier New" tag as this assigns all characters the same physical size so the spacing worked out but that doesn't seem to be so now???
Please feel free to mess with my test thread.
Thanks for any and all thoughts/solutions - this is driving me nuts
One of the best lessons you can learn in life is to master how to remain calm --- Bruce Lee
1) text entry does not have columns and tables. it's raw text. 2) I believe this forum uses "arial" rather than "courier new" for it's default style (newport) main font. other styles may user other fonts. 3) your wide rows of text will wrap around on mobile devices (smaller screens). I noticed this first hand when viewing the email notification of the new posts you created within the forums I was subscribed to. 4) different browsers may force their own default settings.
see attached screenshots
Last edited by isaac; 12/13/201810:48 PM. Reason: attached screenshots
1) text entry does not have columns and tables. it's raw text.
I understand that, I used "tables and columns" as an idea of what we used to have for want of better terminology. Yes it is raw text.
Quote
2) I believe this forum uses "arial" rather than "courier new" for it's default style (newport) main font. other styles may user other fonts.
Our forum also uses the standard arial font which is what is causing the issue (I believe). We worked around this eventually by setting the font in the post to Courier New which made the colums line up under the names across the top when replying to the previous post using the quote option.
Quote
3) your wide rows of text will wrap around on mobile devices (smaller screens). I noticed this first hand when viewing the email notification of the new posts you created within the forums I was subscribed to.
Yep it does, but not really a priority consideration. Only 2 of the users on the NFL picks use mobiles when away from home to make/change their picks, everyone else is on a pc. Those uuseres were able to "get there in the end".
Quote
4) different browsers may force their own default settings.
I've tried it with firefox, edge and ie11 and they all show the same result.
Currently when we hit quote we see the following in the reply text box.......
Previously by using the {font:courier new} tag around the post we would see the .xxx lined up underneath each of the names - the ******** also throws the reply off in that the first person should be above the first ".xxx"
I think that this may be due to the editor not recognizing the {font:courier new} tag until a preview or post is made.
As I understand it Courier New assigns the same width to every character unlike most fonts so spacing is preserved?
( curly brackets used around bb markup so it is visible)
One of the best lessons you can learn in life is to master how to remain calm --- Bruce Lee
Well I worked out a round-about way of doing what we needed, it's not pretty though and does not take mobile phones into consideration which as I say is not a priority for what we are doing. This is what I've suggested they do.....
Quote
1. hit "quote" as before.
2. highlight ALL the text in the reply box and "cut" it.
3. open notepad and paste the copy into it.
You should now be looking at the grid in the same way as before with everything aligned and all the bbcode tags.
4. remove the "quote" tags at the beginning and end of the post.
5. make your selections.
6. highlight and copy the complete amended grid.
7. go back to the reply box.
8. paste the amended notepad content that you just copied into the reply box.
9. Do a preview to make sure it looks ok.
10. post your reply
Not pretty, but it works.
I still think if the default font was Courier New instead of Arial it would work as before but have no way of testing that.
One of the best lessons you can learn in life is to master how to remain calm --- Bruce Lee
If you are not the forum admin, you will need to contact the admin of the forum you are having issues with.
UBBCentral.com has no power to modify any external website.
But, If you are the forum admin, you could make those desired changes to your forums fonts and design style. You would also be able to disable mobile view entirely. Those settings are available within the UBB.threads Control Panel, which is accessible with a forum admin account.
I believe what you are talking about is the font used for the forum TEXTAREA boxes (the Forum Input box). In previous versions of UBB,threads, it was unset and would use whatever the browser software was programmed to use. There was no default font set. IE would use its proprietary font setting which was different from Firefox, which was different from Opera, which was different from Safari...etc, So each visitors using different browsers (or operating systems) would see the website differently. Since UBB.threads 7.6.0, there has been a default/basic set of display rules added, so that each user on different browsers would share a common experience.
In this order, the default common font-family used for <textarea> is "arial, helvetica, clean, sans-serif".
To modify that default:
1) Go to Control Panel > Styles 2) Find the forum style you'd like to update, and click its name. 3) Navigate to Forum Properties > .forum-input 4) add to the bottom of that list, "font-family:Courier New;" Click on "Update or Add Style" button at the bottom.
Your change affects the <textarea> form fields across your entire forums for that single Style.
Note: your long lines will still wrap for mobile devices. To prevent that, use the [code]your content[/code] bbcode tag
Last edited by isaac; 12/15/20182:07 PM. Reason: attached screenshots
(I didn't realize this forum is only for board owners and deeply apologize for that and will stop posting. )
This forum is for everyone, but only your forum administrator (someone capable of editing files within the forum installation) can make use of any changes. Additionally, the admin user would be the one who generally has operational knowledge of the forum, which users generally wouldn't have any access to, but what we'd need to be able to provide any level of support.
Thanks for the clarification Gizmo. Makes me feel a bit better.
Our little NFL pool table is not a priority for the board owner after he did the change and we understand that. We were having a hard time with the fact that our "solution" on keeping the alignment has worked for a number of years but no longer did and I was looking around for if we were doing something wrong now or another way of achieving the same result under the new forum software.
One of the best lessons you can learn in life is to master how to remain calm --- Bruce Lee