It is currently Sat Sep 23, 2017 5:33 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Various updates...
PostPosted: Sat Sep 11, 2010 3:10 pm 
Offline
User avatar

Joined: Sat Feb 04, 2006 9:19 am
Posts: 2150
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.


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sat Sep 11, 2010 8:01 pm 
Offline
User avatar

Joined: Fri Jun 04, 2010 2:11 am
Posts: 326
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?


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 12:15 am 
Offline
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 7223
Location: US, Texas
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.


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 1:29 am 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 2901
Location: Romania
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...


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 3:43 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4118
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?


Top
 Profile  
 
 Post subject: Re: Comments not working?
PostPosted: Sun Sep 12, 2010 6:09 am 
Offline

Joined: Tue Aug 22, 2006 6:59 am
Posts: 127
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.


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 10:25 am 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 2901
Location: Romania
Ahhh... you seem to be right! I also can't add comments! (12.sept.2010 - 19:25:00 GMT)


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 12:01 pm 
Offline

Joined: Tue Aug 22, 2006 6:59 am
Posts: 127
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.


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 12:19 pm 
Offline

Joined: Sat Feb 09, 2008 12:49 am
Posts: 69
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.


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 1:38 pm 
Offline
User avatar

Joined: Sat Feb 04, 2006 9:19 am
Posts: 2150
Quote:
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?

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


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 2:27 pm 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 2901
Location: Romania
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);


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 2:55 pm 
Offline

Joined: Tue Aug 22, 2006 6:59 am
Posts: 127
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();"/>


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 8:06 pm 
Offline
User avatar

Joined: Mon Mar 26, 2007 10:54 pm
Posts: 218
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.


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 8:13 pm 
Offline

Joined: Tue Mar 09, 2010 7:36 pm
Posts: 194
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.


Top
 Profile  
 
 Post subject: Re: Various updates...
PostPosted: Sun Sep 12, 2010 8:21 pm 
Offline
User avatar

Joined: Sat Jun 10, 2006 11:54 am
Posts: 175
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group