Re: ARCHIVE: Snarkpit v6 Bugs
Posted by Riven on Wed Feb 11th at 11:22pm 2009
I was checking out the articles and downloads section again, and it seems like the downloads section, if organized by the highest rated, it still doesn't organize it correctly. But the articles section works perfectly if it's filtered with a highest rating.
Also, when going to rate an article, after it refreshed the page (once I rated it) I got another nasty php error at the top:
but if you refresh it again, or ever view it again, it's gone. -Never to return!
Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA
Occupation: Architect
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Thu Feb 12th at 9:16am 2009
lol it's not a nasty php error, it's quite a nice little one Fixed
The downloads rating sort order thing is just as I've explained before... the bug with the rating calc system. Just give a download a rating and it'll automatically fix it... I thought I'd written a script to fix them all tbh, but maybe I'm just going crazy
-----------
Hmm you didn't accidentally click the login button twice did you reaper? The message you saw is the site's flood control, same system as on the current globat site. Normally you shouldn't see it, so sorry about that... can't think why it should trigger :/ I'll keep an eye on it, thanks
larchy
super admin
496 posts
87 snarkmarks
Registered: Jan 14th 2008
Location: UK
Occupation: kitten fluffer
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by Riven on Thu Feb 12th at 1:35pm 2009
Quoting larchy
The downloads rating sort order thing is just as I've explained before... the bug with the rating calc system. Just give a download a rating and it'll automatically fix it... I thought I'd written a script to fix them all tbh, but maybe I'm just going crazy
Ah, yea, this is like the third time I've asked, lol I keep forgetting about that one. Sorry to have to make you re-explain it my bad; just not paying attention.
*re-reads entire thread to make sure not to miss anything!*
Riven
super admin
1639 posts
802 snarkmarks
Registered: May 2nd 2005
Location: Austin, Texas, USA
Occupation: Architect
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Fri Feb 13th at 9:12am 2009
Quoting aaron_da_killa
I searched for "hello" and "Hello" in forum posts and nothing came up. I'm pretty sure that there are multiple threads out there with the word hello in it
I've looked into this in a lot more detail, and I think what is happening is that because 'hello' is a very common word it is probably a)not in the column index, b)is ignored by MySQL's natural language search.
Anything such as 'I', 'we', 'are', 'for' get assigned extremely low relevancies and tend not to be matched.
Try keywords... the search is boolean btw... I might add some instructions on how to use it.
larchy
super admin
496 posts
87 snarkmarks
Registered: Jan 14th 2008
Location: UK
Occupation: kitten fluffer
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by reaper47 on Fri Feb 13th at 11:04am 2009
larchy, that browser/IP spying thingy works flawlessly for me.
Quoting larchy
Anything such as 'I', 'we', 'are', 'for' get assigned extremely low relevancies and tend not to be matched.
I tried searching for common keywords regarding hammer editing (forum posts). It worked for the most part but,
a) the results list was unreadable due to visible tags and lacking formatting. b) Short but important terms which are common (BSP, HL2, etc) seem to be cut off from the search because they have too few letters.
reaper47
member
2827 posts
450 snarkmarks
Registered: Feb 16th 2005
Location: Austria
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Fri Feb 13th at 12:38pm 2009
Unfortunately by default MySQL searches only on words with four or more letters.
This can be changed by setting the variable 'ft_min_word_len', but this is not a dynamic setting that I am able to change. I would have to have access to the MySQL config file, and then restart the web server (and rebuild the database indexes) for the change to take effect... I don't think that's something that is going to happen unfortunately.
This is pretty standard tbh.
I had intended to give the search page a bit of love, because as you mention it's pretty nuts'n'bolts right now. Will see what I can do to clean it up.
Edit: starting to improve the formatting, plus a few things under the hood. I don't think the search is too bad really
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by reaper47 on Fri Feb 13th at 4:33pm 2009
Quoting larchy
Unfortunately by default MySQL searches only on words with four or more letters.
This can be changed by setting the variable 'ft_min_word_len', but this is not a dynamic setting that I am able to change. I would have to have access to the MySQL config file, and then restart the web server (and rebuild the database indexes) for the change to take effect... I don't think that's something that is going to happen unfortunately.
Yes, I expected that.
The new search page is much better. The colors are too extreme, though. It's almost hard to read because of the blinding contrast. Maybe darker colours for the underground overlay? Like ### instead of ### and ### instead of ### ...
reaper47
member
2827 posts
450 snarkmarks
Registered: Feb 16th 2005
Location: Austria
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by reaper47 on Tue Feb 17th at 2:34pm 2009
With the blue theme, the "recent forum posts" and "recent update" boxes on the front page are displayed underneath each other instead of side to side (Firefox 3).
reaper47
member
2827 posts
450 snarkmarks
Registered: Feb 16th 2005
Location: Austria
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by Riven on Tue Feb 17th at 9:42pm 2009
When clicking on map images on their profile pages (to open them in a new window or tab) I get only a blank page with the text: "No images available" written at the top.