Various updates...

Changes, updates etc. related to this website will be posted here.

Moderators: usdcs, Andrew Lee, webfork

Message
Author
User avatar
Andrew Lee
Posts: 2182
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Various updates...

#1 Post by Andrew Lee » Sat Sep 11, 2010 3:10 pm

Here are a couple of changes I managed to clobber together this weekend:

1. When posting comments that include keywords like virus, threat etc., a message box pops up and reminds you that comments about viruses detected in apps should be sent to the author or the TPFC web forums. Thanks to webfork for suggesting this.

2. When making edits to an entry that doesn't change its content (eg. change in formatting only), an error message will appear "None of the fields have been changed". Now, a checkbox "Force update" will appear at the end of the page (before the "Submit" button). If you check that and hit "Submit" again, you will be permitted to force update the entry.

3. I am playing around with displaying the screenshots using a lightbox. The current implementation is done using Lightbox 2. Let me know if you like this.

User avatar
dmg
Posts: 326
Joined: Fri Jun 04, 2010 2:11 am
Contact:

Re: Various updates...

#2 Post by dmg » Sat Sep 11, 2010 8:01 pm

I like the way the screenshots look with lightbox. It does not appear to increase the time required to display the images. Are there any negatives to using it?

User avatar
webfork
Posts: 7497
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Various updates...

#3 Post by webfork » Sun Sep 12, 2010 12:15 am

dmg wrote:I like the way the screenshots look with lightbox. It does not appear to increase the time required to display the images. Are there any negatives to using it?
The animation does seem to take some time to work before the image shows up, but I would say that it looks much more polished. I think most visitors would prefer it.
Andrew Lee wrote:"Force update" will appear at the end of the page
Very good idea.

User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: Various updates...

#4 Post by joby_toss » Sun Sep 12, 2010 1:29 am

Now that you use Lightbox, is there a way we can add 2-3 representative screenshots for one app (Lightbox Image set)?
It looks cool but (gee, I'm afraid this is gonna sound really bad) it kinda' contrasts with the "old" design of the website... Old is not bad! And I don't want to offend anyone! I'm not an expert on web design and I may be very off on this one! It is my opinion that something new (colors, graphics, logos etc.) should be added also...

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: Various updates...

#5 Post by guinness » Sun Sep 12, 2010 3:43 am

I somehow agree with your statement about updating the layout of TPFC, but with new design generally comes complexity to the site. I love how I can just post without having all the fuss, it's like an old Nokia, it does what it's supposed to do!

You're are right about the Lightbox not sitting with the rest of the site design, maybe its the logo (which I like) or the colours?

dot
Posts: 127
Joined: Tue Aug 22, 2006 6:59 am

Re: Comments not working?

#6 Post by dot » Sun Sep 12, 2010 6:09 am

I don't seem to be able to post my smart comments below an entry in the database anymore, whether logged out or logged in. The buttons [Preview] and [Post comment] don't work. I've disabled every possible little security feature I could think of and tried several browsers, and the buttons still don't work. Time of failed attempts: Sep 12th, about 15:30 GMT.

User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: Various updates...

#7 Post by joby_toss » Sun Sep 12, 2010 10:25 am

Ahhh... you seem to be right! I also can't add comments! (12.sept.2010 - 19:25:00 GMT)

dot
Posts: 127
Joined: Tue Aug 22, 2006 6:59 am

Re: Various updates...

#8 Post by dot » Sun Sep 12, 2010 12:01 pm

Glad you could confirm it, joby, as I can see new comments getting added all the while (easily to be detected in the new comment box). Strange.

Edit: well, at least webfork's latest comment on "Screeny" is new. Maybe commenting works for him because he's moderator.

bassiliin
Posts: 69
Joined: Sat Feb 09, 2008 12:49 am

Re: Various updates...

#9 Post by bassiliin » Sun Sep 12, 2010 12:19 pm

Damn, this new screenshot thingie. I really hate this. It's been annoying me since all suddenly discovered it and put in their galleries. Rolling slow bling-bling. Am I the only one who doesn't like this? And it also doesn't "fit" with the look of wesite.

User avatar
Andrew Lee
Posts: 2182
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Various updates...

#10 Post by Andrew Lee » Sun Sep 12, 2010 1:38 pm

You're are right about the Lightbox not sitting with the rest of the site design, maybe its the logo (which I like) or the colours?
I don't get it. It's basically a big white rectangle where the image sits, and a "Close" button at the bottom left. What logo, or color?
I don't seem to be able to post my smart comments below an entry in the database anymore, whether logged out or logged in. The buttons [Preview] and [Post comment] don't work. I've disabled every possible little security feature I could think of and tried several browsers, and the buttons still don't work. Time of failed attempts: Sep 12th, about 15:30 GMT.
What browser/version are you using? Also, if you could bring up the Javascript console, could you please send me any error messages you see? I think it is probably related to the pre-submit logic I put in to check for virus, threats etc. in the comment.

User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: Various updates...

#11 Post by joby_toss » Sun Sep 12, 2010 2:27 pm

Tried posting a comment for Clavier and got this in error console (Opera 10.61 with javascript enabled, on win7x64):
  • JavaScript - http://www.portablefreeware.com/?id=983

    Uncaught exception: TypeError: Cannot convert '$(element)' to object
    Error thrown at line 1685, column 4 in <anonymous function: ancestors>(element):
    return $(element).recursivelyCollect('parentNode');
    called from line 246, column 6 in <anonymous function: _methodized>():
    return __method.apply(null, [this].concat($A(arguments)));
    called via Function.prototype.apply() from line 3783, column 6 in <anonymous function: findElement>(event, expression):
    var elements = [element].concat(element.ancestors());
    called from line 246, column 6 in <anonymous function: _methodized>():
    return __method.apply(null, [this].concat($A(arguments)));
    called via Function.prototype.apply() from line 191, column 12 in <anonymous function: updateImageList>(event) in http://www.portablefreeware.com/lightbox/js/lightbox.js:
    var target = event.findElement('a[rel^=lightbox]') || event.findElement('area[rel^=lightbox]');
    called from line 209, column 6 in <anonymous function: bind>():
    return __method.apply(object, args.concat($A(arguments)));
    called via Function.prototype.apply() from line 3877, column 6 in <anonymous function>(event):
    handler.call(element, event);

dot
Posts: 127
Joined: Tue Aug 22, 2006 6:59 am

Re: Various updates...

#12 Post by dot » Sun Sep 12, 2010 2:55 pm

Wouldn't know what to post from the confusing results of the error consoles of the different browsers. But Opera's "Developer Tools" got this result for the two inactive buttons:

"Preview" button:
<input type="submit" name="preview" value="Preview" onclick="return disableCommentButtons();"/>

"Post comment" button:
<input type="submit" name="post" value="Post comment" onclick="return disableCommentButtons();"/>

User avatar
grannyGeek
Posts: 218
Joined: Mon Mar 26, 2007 10:54 pm

Re: Various updates...

#13 Post by grannyGeek » Sun Sep 12, 2010 8:06 pm

But about those new screenshots.....
They are attractive, and fast to load on this *fast* connection and pc (don't know how they'll be at the local library with dial-up).

But I like the old method better when they open on a separate page, I find it easier to refer back and forth between description/comments and the illustration.
And I'm one of those dreadful people who likes to save copies of interesting web-pages, and saving a gif file just isn't the same....

well, it's only granny grumping, so I'll adjust.

Hydaral
Posts: 194
Joined: Tue Mar 09, 2010 7:36 pm

Re: Various updates...

#14 Post by Hydaral » Sun Sep 12, 2010 8:13 pm

bassiliin wrote:Damn, this new screenshot thingie. I really hate this. It's been annoying me since all suddenly discovered it and put in their galleries. Rolling slow bling-bling. Am I the only one who doesn't like this? And it also doesn't "fit" with the look of wesite.
I hate Lightbox too, but I usually open images in a new window and thankfully Lightbox has been coded with this in mind, so it doesn't really annoy me that much.

User avatar
usdcs
Posts: 175
Joined: Sat Jun 10, 2006 11:54 am

Re: Various updates...

#15 Post by usdcs » Sun Sep 12, 2010 8:21 pm

Not so good on my BlackBerry Bold. The screenshot link simply doesn't work, which might be OK. But, I often log on to the site from my phone.

I don't know if it is possible to test for mobile browser and to modify the behavior.

Ref:
BlackBerry Bold 9700
OS: v5.0.0.602
RIM Browser: v5.0.0

Hmmm... Might have to try Opera for my BB again.

Post Reply