xx Hello

March 10, 2018, 08:45:13 AM by dndperas
Please guys i wants to know how to add icons in my forums, i mean photo for members group i cant upload photo here to tell u the example but if u understand wat im asking for, answer me asap
4 comments | Write Comment

xx Links in forum have an extra http//

March 02, 2018, 04:17:43 AM by MichelleHudspeth

Going to start another thread here. I upgraded my forums to 1.1.21 and plan on moving them to 2.0.x. However I want to make sure they are fully functioning before I completely upgrade. At the moment, all of the links in my forums create an extra http//(without the semi colon) Ex. cs4you.net [nofollow]. Only the links that are created in the messages are displaying this. Their titles are displayed as cs4you.net . I've looking through my setting and can't find anything related to this. I would love some guidance on how to take away the http//.

2 comments | Write Comment

xx How Add Users? Where Documented?

February 28, 2018, 09:54:12 PM by sakura9x
How do I add users? Manually (my preference?), by invite (how do I do this). Where is this documented. Also, why could I not find documentation on this when searching for it?
3 comments | Write Comment

xx CR + LF file corruption after FTP transfer

February 26, 2018, 07:30:45 PM by GigaWatt
I don't know exactly where to post this... it's not exactly related to SMF itself, but I was Googling around the past few weeks for a solution to this problem to no avail.

The problem happened after the main admin decided that (for some unknown reason ::)) to just... abandon the forum. And not just abandon it, he removed it from the hosting service (he just removed the top level domain and... you get the idea, nothing loads ::)). I was a mod, but I decided to keep the forum going, along with some of the other admins of the forum. Since none of us had access to the hosting, I asked one of them to (politely ::)) ask the main admin if we could have a copy of the script and the database. I personally knew the main admin... I was surprised when I received a copy of the database and the script.

Anyhow, I had to update the script and the database, it was running an older version of SMF (I think 1.1.16), blah blah blah... to cut a long story short, everything turned out well... except for the attachments. Something must have happened during the FTP transfer (the main admin wrote me that he did the backup of the script via FTP). After some file analysis and hex editing, binary compares and whatnot, I learned that this is called a "CR + LF file corruption". Lucky me ::).

I have no idea if he (the main admin) did this on purpose or not... in the end, it doesn't matter. What matters to me is... is there a way to fix the files?

Now, after some online searching, I found out that the most common type of corruption is just a simple "0D 0A" binary modification. For those who have no idea what these bytes represent, 0D represents carriage return (CR) and 0A represents line feed (LF). Unix/Linux uses LF (0A) to end a line (and start a new one), Macs use CR (0D) and Windows uses both of them, CR + LF (0D 0A). Most FTP programs, when set to transfer FTP files in ASCII mode, just make a simple binary change (change 0D to 0A or vice versa, in some cases add 00 before or after the line end), but they don't "eat" bytes. In this particular case, whole bytes were missing... which in return, means that the file downloaded via FTP had a smaller file size than the original file.

Here's a screen shot of a binary compare of an original (left) and a corrupted (right) file.

Basically, you have to add bytes to the file based on a certain criteria (binary string) that appears in the file.

Now, I searched and searched... I didn't find any program that can do this. I can do it manually for some of the attachments, but I can't do it for all of them (around 7000 attachments).

Basically, what I'm looking for is a program that can do this in bulk. Give it a bunch of files, set the binary criteria, patch the files.

Or... if someone has a better idea, I'm opened to suggestions. In case you're thinking of suggesting another backup of the forum's script and files... already tried to force that with the main admin... it's a no go. He's a coder... and an admin, so... you know... he's god ::)... he knows best ::)... he thinks I'm not doing something right and either won't make another backup or... he's deleted the forum from the server (I think this is the more probable scenario). In either case, I can't get another copy of the files.
23 comments | Write Comment

solved Site don't link to css

February 24, 2018, 01:09:55 PM by FernandoArt
I have a big problem with my installation. the site don't link with css... this is my site
1 comment