ARCHIVE: Snarkpit v6 Bugs

ARCHIVE: Snarkpit v6 Bugs

Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Thu Jan 22nd 2009 at 4:38pm
larchy
496 posts
Posted 2009-01-22 4:38pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
:sherlock:

If you find a bug then tell us so we can fix it - thanks!

NB - please post feedback in the other sticky, post only bugs in here

NB - when posting a bug tell us where it occurs (an URL is helpful if possible), and if it is a layout/rendering issue please tell us what browser you are using.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Le Chief on Sat Jan 24th 2009 at 1:12am
Le Chief
2605 posts
Posted 2009-01-24 1:12am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Bug:

Users online page, content seems to be centered on the vertical axis rather than being aligned to the top of the page.

Browser: Firefox 3.0.5
Aaron's Stuff
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Le Chief on Sat Jan 24th 2009 at 1:21am
Le Chief
2605 posts
Posted 2009-01-24 1:21am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Bug: Search feature dosen't work at all

Bug: There is a spelling error in a page that is displayed after doing a search in the forums, titles and posts: No results to display for the search "hello" in the section "forumst"
Aaron's Stuff
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Sat Jan 24th 2009 at 7:47am
larchy
496 posts
Posted 2009-01-24 7:47am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Thanks aaron!

The online users page was being pushed down because there was actually an error message there (it was black text on a black bg... you had to highlight it to see it or be using the blue theme). Fixed now.

Search does seem to be working? Type in 'feedback' and it returns loads of threads, including the other sticky.

forumst isn't a spelling mistake, it's 'forum titles', just needs cleaning up.

Improving the search page design is one of the things I wanted to do but haven't got round to :/
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Sat Jan 24th 2009 at 10:57am
Riven
1640 posts
Posted 2009-01-24 10:57am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
Here are a few bugs I've found:
  • When sorting by highest rated maps under ALL games it didn't put the highest rated maps first; I think it was still alphabetizing them.
  • When viewing pictures on map profiles, if you press the button to view a different picture in the list, and then click on that picture to open it in a new window, the window will always show the first picture for that map, no matter which one you clicked on in the list. This is an issue on the other version of the site as well.
  • Some things don't seem to line up on user profiles; look for the featured map's image buttons. (notably mine: Riven's profile
  • I still don't see an AIM icon on my actual profile page (next to the steam profile icon) [NOTE]: I know it's on my posts, just not on my profile page. I feel like I'm a broken record on this :roll: :lol:
  • On a post on the other version of the site, someone used a quote tag but ended it with [unquote] instead of [ /quote] [/quote] and it screwed up the entire layout of the page, treating all the other posts as one huge quote. -It was an easy fix, but was wondering if that kind of thing could be preventable through code? Test: [quote=Testing mess up] BLA BLA BLA BLA [unquote] -see what I mean?
[EDIT]: using FireFox v3.0.5
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Le Chief on Sat Jan 24th 2009 at 11:20am
Le Chief
2605 posts
Posted 2009-01-24 11:20am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
larchy said:
Search does seem to be working? Type in 'feedback' and it returns loads of threads, including the other sticky.
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, here is one :naughty:. Unless the search feature doesn't work that way.

Bug: The upload avatar feature in the control panel didn't work for me (I tried changing my avatar)

Bug: My timezone isn't listed in the edit profile section of the control panel, my timezone is +10.
Aaron's Stuff
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Sat Jan 24th 2009 at 6:01pm
larchy
496 posts
Posted 2009-01-24 6:01pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven! Sorry about the AIM icon thing, thought I'd fixed it - and I had added the code except I'd made a small mistake that meant it still wasn't showing :oops: Fixed now.

Quote tag parsing fixed :)

The popup map screenshot page thing is kinda awkward tbh... I'll have to make the js change the link when you scroll through all the screenies.

The map rating sort option problem actually appears to be a synchronisation issue - I'll have to code a resync control in the admin panel.

[Edit: Balls - the way the ratings thing works is there is a big array of user ids and ratings, but so there is an overall rating we can sort by there is a field that holds the sum of all these ratings. If you edited your existing rating then your new rating would get added onto this total, but your old rating wouldn't be deducted first... eg if you rated a map 5 and you were the only person who had rated it then it's overall rating would be 5, but if you then changed the rating to 4 it's overall rating would be 9! The map page sorts by the overall rating and this is what is causing the sort issue... code is fixed now (and the fix has been applied to the articles ratings too), will have to see about resynching the ratings totals]

Profile page on the black theme should have the main map image size and navigation arrow size & positioning fixed now.
Avatar and photo upload edit change bug thing fixed

Timezone added :D

I'll have to do some further work on the search. It's a total arse to write a decent search script and the current one is actually based on a bunch of open source code by one of the Google guys that's I've hacked into working on here... it seemed pretty good but obviously there's some big room for improvement. Still, not as bad as EVE - theirs has been fubar for years :scared:
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Le Chief on Sun Jan 25th 2009 at 6:09am
Le Chief
2605 posts
Posted 2009-01-25 6:09am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Bug: Funny symbols replace certain characters on tutorials, example.

Browser: Firefox 3.0.5 Operating System: XP Home Edition SP2
Aaron's Stuff
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Sun Jan 25th 2009 at 12:12pm
Riven
1640 posts
Posted 2009-01-25 12:12pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
aaron_da_killa said:
Bug: Funny symbols replace certain characters on tutorials
And in Profiles.
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by G4MER on Mon Jan 26th 2009 at 1:07am
G4MER
2460 posts
Posted 2009-01-26 1:07am
G4MER
floaty snark rage
member
2460 posts 360 snarkmarks Registered: Sep 6th 2003 Location: USA
Hey Larch a couple issues..

http://opal.lunarbreeze.com/~snark3/snarkpower/articles/game/cat/pn/tp/192/TUTORIAL_-_CONSTRUCTIVE_CRITICISM:

That was by me not unknown.. also do you see the little ? where ' should be?

Also on this posting the smilies are running off the page in a stright line last in the box I see is :evil: so maybe need a break after it to have the other start below.

Still looking about man. I am testing this in Opera right now, will also look in Firefox and explorer.

Pit does not work says invalid directory... figure thats ust because of this being a test.

I like the new themes, and the front page being more balanced. It seems much fater and smooth. The map over lays with the text is a great feature. The delete button on this is in the red and yellow and not blue if you want it to match up.

The buttons kinda blend in and do not pop... but they still look good to me.

So far the only browser to display the site correctly has been Safari. The say hi to message is correctly placed in the Safari Browser.. in IE Opera and FireFox it is pushed hard right and all you see is ravva.

Also the smilies display correctly in the box on Safari. So the code is off on the other browsers in some areas.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Mon Jan 26th 2009 at 9:36am
larchy
496 posts
Posted 2009-01-26 9:36am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Firefox 3 does not display the issues you describe, so I am assuming you are talking about Firefox 2?

Pits hadn't been uploaded, they're being upped now.

Odd characters fixed.

As always, thanks for the feedback and thoughts :)
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Tue Jan 27th 2009 at 5:14pm
larchy
496 posts
Posted 2009-01-27 5:14pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
If anyone still has any issues with odd characters in FF3, try this:

Click View > Character Encoding and change unicode to 'Western (ISO-8859-1)'

Should be fixed now tho without needing that.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Wed Jan 28th 2009 at 7:49am
Riven
1640 posts
Posted 2009-01-28 7:49am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
I made sure my character encoding was ISO-8859-1) and instead of getting the strange ? diamond icons, i get this in their place: �

So everytime you read don't in my profile, you will see: don�t

I was able to fix it by just replacing them with the apostrophy, but I left the bottom half of my profile message with em so you could see. My Profile

I would image other people's profiles might have the same error, or is this just my browser doing this to me? -FireFox 3.0.5
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Wed Jan 28th 2009 at 8:16am
larchy
496 posts
Posted 2009-01-28 8:16am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
I see them too m8

I actually manually edited your profile last night, ran scripts to remove those characters in the entire database, and reexported/imported the users/user profile tables from my local copy with different encoding to try and fix those symbols. Last night it was working for me, so not sure why they came back :/

There must be some odd glitch with the character encoding somewhere but I can't find what it is.

The symbols you are seeing are actually a different single quote character... no idea why they replaced the normal single quote character, and as I say I manually changed yours last night so don't know why they came back :/ grrr, gremlins.

I checked the globat db and the characters are the same in there (so it's not an import/export issue AFAIK)... theres a big mix of odd non-unicode characters. My script fixed them for articles, dunno why the profiles are being a pain.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Le Chief on Fri Jan 30th 2009 at 3:09am
Le Chief
2605 posts
Posted 2009-01-30 3:09am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
I don't see funny symbols in Riven's profile anymore but there are a bunch of
tags showing.
Aaron's Stuff
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Fri Jan 30th 2009 at 6:55am
Riven
1640 posts
Posted 2009-01-30 6:55am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
aaron_da_killa said:
I don't see funny symbols in Riven's profile anymore but there are a bunch of
tags showing.
same here; I see the same thing.
  • I don't know if it's about the post you made on the front page or not, but This page has a nasty SQL statement at the bottom:
    User posted image
  • What happened to my signature? It's blank now? ;(
  • The registration date for users listed on posts are all the same default "1969" date. But they're correct in profiles.
  • This is funny:
    User posted image
    OMG! you can view between pages! What is this world coming to!? :flail:
    I was checking my control panel in one FireFox tab, and had the HL forum open in another. After noticing my sig was gone, I changed the number of posts from 20 to 80 again and applied. When I switched to the HL forum, I went to the next page, and got some weird paging results as you can see.
  • IDK if it's because the DB is incomplete, but also in that pic above you can see. A lot of the posts are missing their reply values and the author values. After page 3, I think they all are missing. -Is that too from the incomplete DB?
That's all I've got for now... Keep up the AWESOME work! :munky:
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Fri Jan 30th 2009 at 9:20am
Riven
1640 posts
Posted 2009-01-30 9:20am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
This user: UltimateRugal when viewing the memberlist (he's listed on page 3) his profile is missing an entry and all his fields are miss-aligned for some reason.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Fri Jan 30th 2009 at 9:27am
larchy
496 posts
Posted 2009-01-30 9:27am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
It's because he's being sucked into a time vortex! oh noes! :flail:
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Fri Jan 30th 2009 at 9:53am
larchy
496 posts
Posted 2009-01-30 9:53am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven said:
page has a nasty SQL statement at the bottom
Actually a little bug in PHP! Coded a workaround, thanks!
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Tue Feb 3rd 2009 at 9:36am
larchy
496 posts
Posted 2009-02-03 9:36am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven said:
What happened to my signature? It's blank now? ;(
One of the user database copies didn't fully complete - everything should be ok now.
Riven said:
The registration date for users listed on posts are all the same default "1969" date. But they're correct in profiles.
Just the column name changed on the database table and the script wasn't updated... if you see that anywhere else lemme know so I can make the change.
Riven said:
OMG! you can view between pages! What is this world coming to!? :flail:
I was checking my control panel in one FireFox tab, and had the HL forum open in another. After noticing my sig was gone, I changed the number of posts from 20 to 80 again and applied. When I switched to the HL forum, I went to the next page, and got some weird paging results as you can see.
It's not really a bug tbh. Say you are viewing 20 posts per page and are on page 5, the topic offset (the number from which records start being returned) would be 80 (ie you skip the first 80 posts and view 80-100). If you change the number of posts viewed to 30 and refresh the page then the offset is still 80, but because it's 30 posts per page it means you're now viewing page 2.67

If you do it with even numbers then you won't get a fraction, although all the page numbers will change.

Anyway, added code to take out the decimal places, but the way it's working is ok/the same.
Riven said:
A lot of the posts are missing their reply values and the author values. After page 3, I think they all are missing. -Is that too from the incomplete DB?
Yeah, just stuff missing from the forums/topics/posts tables, no worries :)
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Tue Feb 3rd 2009 at 9:38am
larchy
496 posts
Posted 2009-02-03 9:38am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven said:
What happened to my signature? It's blank now? ;(
One of the user database copies didn't fully complete - everything should be ok now.
Riven said:
The registration date for users listed on posts are all the same default "1969" date. But they're correct in profiles.
Just the column name changed on the database table and the script wasn't updated... if you see that anywhere else lemme know so I can make the change.
Riven said:
OMG! you can view between pages! What is this world coming to!? :flail:
I was checking my control panel in one FireFox tab, and had the HL forum open in another. After noticing my sig was gone, I changed the number of posts from 20 to 80 again and applied. When I switched to the HL forum, I went to the next page, and got some weird paging results as you can see.
It's not really a bug tbh. Say you are viewing 20 posts per page and are on page 5, the topic offset (the number from which records start being returned) would be 80 (ie you skip the first 80 posts and view 80-100). If you change the number of posts viewed to 30 and refresh the page then the offset is still 80, but because it's 30 posts per page it means you're now viewing page 2.67

If you do it with even numbers then you won't get a fraction, although all the page numbers will change.

Anyway, added code to take out the decimal places, but the way it's working is ok/the same.
Riven said:
A lot of the posts are missing their reply values and the author values. After page 3, I think they all are missing. -Is that too from the incomplete DB?
Yeah, just stuff missing from the forums/topics/posts tables, no worries :)
aha, just tried to post and it broke! :D fixed :p
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Tue Feb 3rd 2009 at 5:09pm
larchy
496 posts
Posted 2009-02-03 5:09pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven said:
When viewing pictures on map profiles, if you press the button to view a different picture in the list, and then click on that picture to open it in a new window, the window will always show the first picture for that map, no matter which one you clicked on in the list. This is an issue on the other version of the site as well.
Fixed! (Ctrl+f5 to refresh the js if it doesn't work!)
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Tue Feb 3rd 2009 at 8:06pm
larchy
496 posts
Posted 2009-02-03 8:06pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven said:
When sorting by highest rated maps under ALL games it didn't put the highest rated maps first
I know I mentioned this before, but there was actually a problem with the way I'd designed the system that I didn't figure out earlier on account of me being thick.

There may still be some maps out of order when you sort by this option (and articles/dls for that matter), but I have now corrected the rating system and made it so that it is self correcting - that is, everytime someone rates a map the value which determines the sort order is recalculated, so if there are any maps being shown out of order just rate them and it'll fix it!
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Wed Feb 4th 2009 at 8:23pm
Riven
1640 posts
Posted 2009-02-04 8:23pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
I don't think smileys work in the discussion sections on map profiles...
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Thu Feb 5th 2009 at 8:51am
larchy
496 posts
Posted 2009-02-05 8:51am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Just quickly checked and they do in the map descriptions and the discussion thread underneath the map.... is that where you mean?

They don't on the overlay text, but that's intentional.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Thu Feb 5th 2009 at 9:26pm
Riven
1640 posts
Posted 2009-02-05 9:26pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
Ok, yea, you're right. They do work in the map descriptions and discussion threads underneath maps. I had thought I spotted a text smiley and figured something wasn't working right, but now that I've had time to double check, I don't think there is an issue. -False Alarm! :hee:
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Mon Feb 9th 2009 at 3:23pm
Riven
1640 posts
Posted 2009-02-09 3:23pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
This thread and the "all visitors please read" thread are missing their paging buttons in the thread list on the general banter forum page.

BTW, I like the new "hot topic" icon! Sweet!
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Mon Feb 9th 2009 at 3:52pm
larchy
496 posts
Posted 2009-02-09 3:52pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
whaaaa?
User posted image
:confused:

[Edit: ahhhh it was because it was using the number of topics to paginate the threads... 'cos you can increase that in your user profile now and it ballsed it up. Fixed!]

Also, I haven't done anything for the past few days 'cos I've been horrendously ill D: Progress will hopefully resume shortly.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Tue Feb 10th 2009 at 11:30am
larchy
496 posts
Posted 2009-02-10 11:30am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
I've started doing the laborious task of cross-browser fixes, and have redone quite a lot of css and some actual layout code to get IE6 working - ctrl+f5 to refresh your stylesheets if the forums look a mess.

The new code that pops up the right map screenshot from the map page needed to be redone too, and I'm having to call a function constructor to get the code to work in IE 6 (because it doesn't support DOM1+), which is slow because it forces an eval... but at least it works and there isn't really much js going on anyway so shouldn't be a problem.

Also, your avatar looks crap on IE Riven because it doesn't support the transparency.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Wed Feb 11th 2009 at 2:49am
Riven
1640 posts
Posted 2009-02-11 2:49am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
Excuse YOU Sir! But I think my avatar looks just fine!
-I polish it every day!

-Na, I bet the transparency is double crap in IE6, -Oh well :p I wonder what the percentage of users still use IE6 and earlier are? :sherlock:
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Wed Feb 11th 2009 at 4:01am
Riven
1640 posts
Posted 2009-02-11 4:01am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
OK, a couple of things...

clicking on any PM user icon brings me to a "Find User Failed" page: http://opal.lunarbreeze.com/~snark3/index.php?p=cp&pma=new&pmr=6381
Ok, when I was testing the $M rate page for the super admin panel, I changed the fixed rates for downloads and articles to 10 from 0 and updated it. When checking my own profile snarkmarks, it says I'm still receiving none from downloads even though I have 1. -Does that download need to have at least 1 rating in order for the fixed rate to count at all? I thought fixed rates are given automatically after uploading that item, and then the percentage from ratings is added to that fixed rate?

So, shouldn't my number have changed whenever I updated the fixed rate for downloads?

Also, I've gotten another request from a user about their account not wanting to work for them. I'll PM you the details on the globat site, but this seems to be a re-occurring problem. Is there something more to this than the person forgetting their username or password? -And has there been any fixes for it on this new version of the site if there are any bugs involved?
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Le Chief on Wed Feb 11th 2009 at 5:19am
Le Chief
2605 posts
Posted 2009-02-11 5:19am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Riven said:
Excuse YOU Sir! But I think my avatar looks just fine!
-I polish it every day!
:rofl::rofl::rofl::rofl::rofl::rofl::rofl::rofl::rofl::rofl:
Aaron's Stuff
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Wed Feb 11th 2009 at 8:25am
larchy
496 posts
Posted 2009-02-11 8:25am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
I redid the snarkmark code so that it now stores a fixed value. This is updated if you visit the control panel > snarkmark link, and will also be when you add any new content.

But right now you may no longer immediately see the effects when you change the snarkmark values... the reason I did this is because calculating everyone's rating dynamically is expensive as you have to pull all the stuff they've ever uploaded from three different tables, loop through it and work out the values... I wrote a script to resync everyone's rating but haven't put it into an admin control yet - but I will so you can resync everyone manually. In the meantime the resync on that cp page will act as a sort of occasional resync when users visit it.

_________

Yes there is a problem with accounts and reactivating on globat. I have pulled my hair out trying to get things to work because what does work one day doesn't work the next. They have changed the way the server handles $_GET and $_POST requests at least 3 times (this has to do with why the slashes randomly appear in posts), some days the mail function plain doesn't work so noone gets emails, then it suddenly does, sometimes it sends a glut of backlogged ones... but even then with the activation emails the code is wrong because the database query fails... I've tried to fix things as best I can but I honestly feel like Sisyphus

The code for creating/reactivating etc has been redone for this new site - it had to be because I've completely changed the user database. I've redone the way the activations system works anyway.... the system on globat is just the code from the old site by leperous because I didn't want any problems so just stuck with what worked... but obviously it hasn't gone well! I've also added a contact page and additional error/help pages if something goes wrong so that it's easier for ppl to contact me if they are having trouble.
The globat code is basically abandoned as far as I'm concerned, I'm sick of coding around their fking crappy server bollox and downloading my own code from there to find out it's had extra stuff added to the start and end of it (no kidding - remember when the original site had those hidden porn links appear in the code this time last year? and it was a cross site scripting attack that had added the code to the index files? I'm sure globat's servers are compromised)
thanks for the pm link bug, will fix
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Wed Feb 11th 2009 at 9:00am
larchy
496 posts
Posted 2009-02-11 9:00am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Ok m8 I dunno, I've just changed my email, my pw, and used the password retrieve thing and it worked each time... so fkknows tbh, dunno whats happening.

I've added my email address to the "activation failed" error message so they can email me directly if they have a problem.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Wed Feb 11th 2009 at 9:19am
larchy
496 posts
Posted 2009-02-11 9:19am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Here's the sort of crap randomly added by globat:
<?php @register_shutdown_function("__sfd1229464065__");function __sfd1229464065__() { global $__sdv1229464065__; if (!empty($__sdv1229464065__)) return; $__sdv1229464065__=1; echo <<<DOC__DOC

DOC__DOC;
} ?>
<?php @register_shutdown_function("__sfd1228928734__");function __sfd1228928734__() { global $__sdv1228928734__; if (!empty($__sdv1228928734__)) return; $__sdv1228928734__=1; echo <<<DOC__DOC

DOC__DOC;
} ?>
Which makes the script call a function (or functions) every time it finishes running, and fk knows what they're doing 'cos the names are totally screwy.

Oh, and you can access the phpymyadmin page for the globat database just by going to the correct URL - no password, no login, nothing, totally unprotected. Sooner we're off them the better tbh.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Wed Feb 11th 2009 at 1:02pm
larchy
496 posts
Posted 2009-02-11 1:02pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven said:
I wonder what the percentage of users still use IE6 and earlier are? :sherlock:
About 30%. Unfortunately a lot of companies are IE6 only as their company intranets only work with IE6 and they daren't change it. Some just also don't want to have to deploy IE7 due tot he work involved, and they won't use anything other than IE because the likes of Firefox's server deployment features are utter crap.

Firefox is around 20%, Opera < 1%, Chrome and Safari abour 3-4%, and the remaining largest single chunk is IE7

However on technology related sites (ie sites whose users have any sort of basic clue) Firefox is about 50%, IE about 20% and the rest mostly Safari with some Opera and (increasingly) Chrome

For snarkpit about 22% is IE, 34% Firefox, 3% Opera, 3% Safari and (helpfully) 36% 'unknown', but I put this down to globat's webstats being crap. I'd guess it's mostly made up of Firefox running extensions and possibly Chrome.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Wed Feb 11th 2009 at 1:16pm
larchy
496 posts
Posted 2009-02-11 1:16pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Riven said:
clicking on any PM user icon brings me to a "Find User Failed" page: http://opal.lunarbreeze.com/~snark3/index.php?p=cp&pma=new&pmr=6381
pm system hadn't been changed to use the new user accounts database. Fixed.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Wed Feb 11th 2009 at 9:01pm
Riven
1640 posts
Posted 2009-02-11 9:01pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
BTW, the user who can't login to their account is on the old pit. I understand you're leaving to the dogs, so I'll tell him to wait for the time being.

The new pit here on lunarpages, has already proved its superiority. One of our older members, fatstrings was having trouble logging in on the old site, having the same problem as the member I just described, and he couldn't re-activate or anything like that. He tried all the fixes but no avail. I gave him the beta address and told him to logon here instead, and low & behold it worked first time around! -Hopefully we'll be seeing him on here soon!

So, that (to me) proves the new system you coded is much better. If I get any more complaints, I'll give them an estimated wait period. -Do you want to start the countdown? I realize we're waiting on Lep to do something for Gwil before we can make the actual switch, but I'd like to know when you will be ready?

Oh, and also, I still don't see the updated $M on my control panel to reflect the 10 recieved from my one 'download'. -I thought visiting that page will refresh my profile's $M? -Or do I actually need to do a global manual resync?
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Wed Feb 11th 2009 at 9:10pm
larchy
496 posts
Posted 2009-02-11 9:10pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
I tried all the account activation stuff this mornign on globat and it worked for me tho D:
hmmm well I don't think making sure all the various browsers work will take too long... and I want to add a couple of things still. Could do it next week sometime maybe?

AFAIK all that has to be done with the domain is to update the nameservers, and once that's done its 2-3 days to propagate... and i'll have to take the globat site off so that I can take a snapshot of the database and then transfer everything using the monstrous uber-scripts of database reconstructingness... not looking forward to that!

Would be good if a few more people got the address for here because they'll inevitably find bugs that we've missed.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by reaper47 on Wed Feb 11th 2009 at 11:02pm
reaper47
2827 posts
Posted 2009-02-11 11:02pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
Hey there!

Upon logging in the first time (ever), I was sent to this page:

"Action denied!

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

Return to previous page »"

I am logged in now, though, and everything works fine, it was just a weird welcome message.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Wed Feb 11th 2009 at 11:22pm
Riven
1640 posts
Posted 2009-02-11 11:22pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
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:
User posted image
but if you refresh it again, or ever view it again, it's gone. -Never to return!
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Thu Feb 12th 2009 at 9:16am
larchy
496 posts
Posted 2009-02-12 9:16am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
lol it's not a nasty php error, it's quite a nice little one :p 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 :rolling:
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
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Thu Feb 12th 2009 at 9:44am
larchy
496 posts
Posted 2009-02-12 9:44am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
Fixed a problem with the posting code that caused multiple reply notification emails to be sent out.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by Riven on Thu Feb 12th 2009 at 1:35pm
Riven
1640 posts
Posted 2009-02-12 1:35pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
larchy said:
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 :rolling:
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 :oops: my bad; just not paying attention.

re-reads entire thread to make sure not to miss anything!
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: ARCHIVE: Snarkpit v6 Bugs Posted by reaper47 on Thu Feb 12th 2009 at 1:41pm
reaper47
2827 posts
Posted 2009-02-12 1:41pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
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.
Why snark works.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Thu Feb 12th 2009 at 1:55pm
larchy
496 posts
Posted 2009-02-12 1:55pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
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.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Fri Feb 13th 2009 at 9:12am
larchy
496 posts
Posted 2009-02-13 9:12am
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
aaron_da_killa said:
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.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by reaper47 on Fri Feb 13th 2009 at 11:04am
reaper47
2827 posts
Posted 2009-02-13 11:04am
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
larchy, that browser/IP spying thingy works flawlessly for me.
larchy said:
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.
Why snark works.
Re: ARCHIVE: Snarkpit v6 Bugs Posted by larchy on Fri Feb 13th 2009 at 12:38pm
larchy
496 posts
Posted 2009-02-13 12:38pm
larchy
fluffy teim
super admin
496 posts 87 snarkmarks Registered: Jan 14th 2008 Occupation: kitten fluffer Location: UK
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 :|

http://opal.lunarbreeze.com/~snark3/index.php?p=search&query=search%20formatting&sec=forumsp
Re: ARCHIVE: Snarkpit v6 Bugs Posted by reaper47 on Fri Feb 13th 2009 at 4:33pm
reaper47
2827 posts
Posted 2009-02-13 4:33pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
larchy said:
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 ### ...
Why snark works.