07-22-2024, 01:06 PM
Forum script issues as of July 2024
Hi, everyone!
Since I had trouble since the beginning of this new story, I belive we can help solving them.
1. UTF-8 compliance.
As anyone can see, my name is Șerban Stănescu. The User Name, is "Șerban S."
Having more than 29 years of computer practice, it is highly unlikely for me to "forget" my login credentials.
Yet, i was unable to login!
It took me almost 150 minutes to find a solution to login. This is by all means, unacceptable.
Finally, i discovered that the PHP login script, expects instead of "Ș", the ASCII code ( Ş ).
I don't know what about you, but I'm sure I'm not a computer, by all means. So, how was i supposed to guess what the hell the login script expected from me and what the error message meant?
Nevertheless, I was persistent enough to discover this.
So, if there is anyone in this situation, just search for the ASCII code of the character (LibreOffice, Special Characters, KeyDown) and replace it in the login window. Something like this:
"Ş"
Remember to end the tag with ";".
I omitted the semicolon because it is impossible to put the whole HTML TAG string without getting it replaced with the special character. Weird behavior, to say the least!
The same issue can be generated by the System Font(s), if it is an old ISO definition, such as "Courier New Western". All fonts have to be UTF-8 compliant.
2. Ranking icons.
As you can see, my ranking icons show as placeholders.
Since on my forum I replaced some default icons with others, I came across this.
First possible cause is the size of the image.
The standard size and file format, can be obtained from the "Star" icon, which shows correctly.
For any other file, whatever image would that be, it has to have the same format. If it's a .gif has to be converted to .png, and so on, depending on the default format. There should be a mention regarding supported formats and possibly, the size.
Same program that converts, can resize it to the size of the Star icon. So, say if this is "Star.ico" or maybe "Star.gif" and 16px, then all other ranking icons in the script directory, have to stick to this size and file format.
I'm pretty sure that only Jerry can fix that, since it is done at hosting level, using some FTP (FileZilla, for one) or maybe the web app of the hosting. Both work fine, i used both.
After fixing, a full backup is required. After this, in case of need, only the changed directories need (eventually) to be restored.
3. Forum Menu
Now, the Forum Menu, has links for "New Posts", "Today's Posts". Both return an empty string.
While for "Today's Posts" this might be true, for "New Posts", I highly doubt that, unless the time stamp or range is set to "0". If so, what's the use of this link?
I guess this can be solved at Admin level, since there has to be some time string to set the interval in the querry string of the Forum Settings.
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
Current Machine:
Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.