[size=3]
makes the text font size have value of 3% so it's super tiny so you gotta change that value from 3 to a much higher number Unfortunately it's hard to track what went wrong and when. The forum was heavily modded aside from almasmim, so to get the least damage I did a restore to an old backup but that was many years back. I believe the empty posts issue started after upgrade to 3.x.x versions.Mick wrote: Wed Nov 08, 2023 2:31 pm You don’t say if everything was ok before this happened, were you doing anything just before it happened that may have caused it? Has it been ok since you removed Almsamim? I also note it’s not all forums, topics and posts.
Maybe that was part of almasmim mod code, is there a way to fix it in bulk for impacted posts only ? Cause posts written in normal default font are working fine.Mannix_ wrote: Wed Nov 08, 2023 1:53 pm your bbcode[size=3]
makes the text font size have value of 3% so it's super tiny so you gotta change that value from 3 to a much higher number
@mick any solution you have in mind?Mick wrote: Wed Nov 08, 2023 2:31 pm You don’t say if everything was ok before this happened, were you doing anything just before it happened that may have caused it? Has it been ok since you removed Almsamim? I also note it’s not all forums, topics and posts.
[size=3]
to [size=x]
where x is the size you want. @warmweer Thank you. but do you mean there is a bulk way to edit the posts in the database? or one by one?warmweer wrote: Wed Nov 22, 2023 11:23 am One thing you could try is to edit the posts in the database
e.g. change[size=3]
to[size=x]
where x is the size you want.
You might have to reparse posts after doing that.
BUT: before editing the database, take a database backup just in case.
The fact that you ask this question almost implies you shouldn't even try it until you canEgyptWrite wrote: Thu Nov 23, 2023 6:10 am @warmweer Thank you. but do you mean there is a bulk way to edit the posts in the database? or one by one?
UPDATE phpbb_posts SET post_text = REPLACE(post_text, 'a string', 'another string')
common.cssEgyptWrite wrote: Thu Nov 23, 2023 6:10 am and what is the default PHPBB font size for normal text (not a header or title)?
Code: Select all
body {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
Yes, but again (as in the first part of my reply) it's not an easy task.EgyptWrite wrote: Thu Nov 23, 2023 6:10 am Also, is there a way to remove the extra BB code altogether from all posts, not just size, but color and everything. so that all topics and replies would show up normally.
I believe there is an issue in the database itself, I can't see post text in DB, it just shows:
Code: Select all
<t></t>
It's not allowed to offer payment in any form for assistance in this forum, but we can help you, for free! If you feel what you want to do is beyond your capability, then please post in the Wanted! forum where you may find someone willing to take on your project.EgyptWrite wrote: Tue Mar 19, 2024 1:48 pmalso If you are providing such paid service kindly let me know
Apologies, Mick. I didn't know that and absolutely meant no disrespect.Mick wrote: Tue Mar 19, 2024 4:46 pmIt's not allowed to offer payment in any form for assistance in this forum, but we can help you, for free! If you feel what you want to do is beyond your capability, then please post in the Wanted! forum where you may find someone willing to take on your project.EgyptWrite wrote: Tue Mar 19, 2024 1:48 pmalso If you are providing such paid service kindly let me know
If it were me I’d install a personal web server following Knowledge Base - Installing and Setting Up Your Own Web Server. Then I’de make backups of all the files and database as per Knowledge Base - Forum Backup Instructions and put them somewhere safe. Then I’de follow Knowledge Base - Transferring Your Board to a New Host or Domain to install your board to the PWS. You can then make another copy of the db in sql (text) format and save it to your desktop then, with a GOOD text editor like Notepad++, you can carry out a find and replace. Once completed, it shouldn’t take very long, upload the edited sql to the PWS and see if the issue is fixed. If it’s ok you can then decide how to do it on the live board, if it doesn’t no harm done.