ARCHIVE: Snarkpit v6 Bugs
locked
Quote
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!






Quote
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 smiley 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 smiley

-----------

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




Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Thu Feb 12th at 9:44am 2009


Fixed a problem with the posting code that caused multiple reply notification emails to be sent out.



Quote
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 smiley


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 smiley my bad; just not paying attention.

*re-reads entire thread to make sure not to miss anything!*






Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by reaper47 on Thu Feb 12th at 1:41pm 2009


btw, it seems I am getting the

"Action denied!

You must wait at least 1 seconds before making another submission!

Return to previous page ยป"

page upon every login, not just the first.






Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Thu Feb 12th at 1:55pm 2009


Reaper, can you please visit this address:

http://opal.lunarbreeze.com/~snark3/info.php

There should be two lines, the first 'Browser:' followed by a user agent string, the second 'IP address:' followed by your ip

are both of them listed correctly for you, or is one or both of the values missing?


Thanks.




Quote
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.




Quote
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.






Quote
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 smiley

http://opal.lunarbreeze.com/~snark3/index.php?p=search&query=search%20formatting&sec=forumsp





Quote
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 ### ...






Quote
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).





Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Tue Feb 17th at 2:37pm 2009


Hmmm :/ Not on my firefox3 they're not



Quote
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.

Here's a link to it: http://opal.lunarbreeze.com/~snark3/pop.php?win=gallery&map=3087&num=2







Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Thu Feb 19th at 2:57pm 2009


fixed



Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by RedWood on Thu Feb 19th at 4:38pm 2009


When u click view all smillies, it doesn't show the smillies under their text code.


Reality has become a commodity.



Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by reaper47 on Thu Feb 19th at 6:00pm 2009


Mini-error:

Probably, when there are 4n+1 maps, there is an empty last page when viewing the 4 thumbnails for maps in the user profiles.

Example:

http://opal.lunarbreeze.com/~snark3/index.php?p=viewprofile&uid=3705&c=1
(click "next page" and it's empty)






Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Thu Feb 19th at 6:17pm 2009


Yeah, there are some issues developing due to the changes I'm making with the various new features.

Fixed that, and also fixed the 'view all maps by this user' link, which didn't work because of the new map landing page.. so fixed that too smiley

Good spotting anyway!




Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by RedWood on Thu Feb 19th at 6:25pm 2009


Yes but now that page says i have 3 maps instead of 5.


Reality has become a commodity.



Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by larchy on Thu Feb 19th at 6:28pm 2009


Because 2 are abandoned



Quote
Re: ARCHIVE: Snarkpit v6 Bugs
Posted by RedWood on Thu Feb 19th at 6:36pm 2009


i c


smiley



Reality has become a commodity.




locked