Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Site Comments & Suggestions Site Comments & Suggestions
Search Search
Search for:
Tech Support Guy Forums > > >

TSG Google Chrome App


(!)

TechGuy's Avatar
TechGuy   (Mike) TechGuy is offline TechGuy has a Profile Picture
Computer Specs
Administrator with 12,210 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
19-Sep-2012, 09:50 PM #16
I'm all for adding server-side functionality, although I'm not sure exactly how the security would work, I'm sure it can be done.
LauraMJ's Avatar
LauraMJ has a Photo Album
Computer Specs
Administrator with 11,902 posts.
 
Join Date: Mar 2004
Location: Somewhere back in the Mountain
Experience: Intermediate
19-Sep-2012, 10:20 PM #17
Ent, it works very well! Love all the links and shortcuts you included!




Now can you update the one Ciberblade made for my forum? Please? Pretty Please?
TheShooter93's Avatar
TheShooter93   (Cody) TheShooter93 is offline TheShooter93 has a Profile Picture
Computer Specs
Member with 6,875 posts.
THREAD STARTER
 
Join Date: Jul 2008
Location: Orlando, Florida
Experience: Advanced
19-Sep-2012, 10:21 PM #18
Glad to hear it's possible server side and that you guys like Ent's updates.
Ent's Avatar
Ent   (Josiah) Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 4,876 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
20-Sep-2012, 07:42 AM #19
Quote:
Originally Posted by TechGuy View Post
I'm all for adding server-side functionality,
Great news!
What functionality would you have in mind?

Quote:
Originally Posted by TechGuy View Post
although I'm not sure exactly how the security would work, I'm sure it can be done.
Having had a little more time to think about it since my first hurried post (making dozens of 16x16px images doesn't use a lot of brain power), I suspect you could just use the same session cookies as you've already using for the site. You're not using encryption or anything fancy for the main site, so there's no real reason to make things any harder for the add-on.
__________________
I don't read minds. Please help everyone by answering any questions and reporting on the results of any suggestions.
Our Library of Knowledge is provided for your use. Can you help to improve it?
TechGuy's Avatar
TechGuy   (Mike) TechGuy is offline TechGuy has a Profile Picture
Computer Specs
Administrator with 12,210 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
20-Sep-2012, 12:56 PM #20
That's true, Josiah -- as long as people understand that they need to stay logged in for the extra features to work.
Ent's Avatar
Ent   (Josiah) Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 4,876 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
20-Sep-2012, 06:59 PM #21
I reckon most people can figure that much out, especially among the helpers. Most of us have a decent level of technical know-how.

I seriously hope I haven't taken on too much here. Chrome development is proving harder to understand than I'd anticipated.
TechGuy's Avatar
TechGuy   (Mike) TechGuy is offline TechGuy has a Profile Picture
Computer Specs
Administrator with 12,210 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
21-Sep-2012, 11:15 AM #22
What format would be best to output the user-specific data? Just simple line breaks, or XML format?
Ent's Avatar
Ent   (Josiah) Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 4,876 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
21-Sep-2012, 11:26 AM #23
I'd think either XML or JSON.

Information that would be useful would be
a count of pending PMs, or Boolean value for whether there are any PMs (such as already gives the notification in the top right corner).
Thread Title and URL for each subscribe thread with one or more new posts. (such as already exists in New Subscribed Threads under "My Account").

I'm now confident that I could get both kinds of notification into an add-on on either browser.
__________________
I don't read minds. Please help everyone by answering any questions and reporting on the results of any suggestions.
Our Library of Knowledge is provided for your use. Can you help to improve it?

Last edited by Ent; 21-Sep-2012 at 11:43 AM..
TechGuy's Avatar
TechGuy   (Mike) TechGuy is offline TechGuy has a Profile Picture
Computer Specs
Administrator with 12,210 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
21-Sep-2012, 11:44 AM #24
That sounds great, Josiah! I'll see what I can come up with.

Unless I'm misunderstanding something, I suspect you won't need both a count of new PMs and a boolean of whether or not there are new PMs... if UnreadPMs > 0 then...

Let me know if I'm misunderstanding your request, though

I'm going to work on doing it as XML if that's OK. I figure that might be best for any future use / development.
Ent's Avatar
Ent   (Josiah) Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 4,876 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
21-Sep-2012, 11:57 AM #25
I don't think you'd need both, it just depends on whether you want the addon to display "You have 2 unread PMs." or just "You have unread PMs."
TechGuy's Avatar
TechGuy   (Mike) TechGuy is offline TechGuy has a Profile Picture
Computer Specs
Administrator with 12,210 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
21-Sep-2012, 08:24 PM #26
Check this out, Josiah. Note that results are cached for 1 minute to prevent running too many database queries. The top timestamp shows when the results were generated, not necessarily the time of the most recent request.

http://forums.techguy.org/xmluserstats.php
TechGuy's Avatar
TechGuy   (Mike) TechGuy is offline TechGuy has a Profile Picture
Computer Specs
Administrator with 12,210 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
21-Sep-2012, 08:26 PM #27
This is a problem with the subscribedthreads part -- it's not showing the proper threads. I'll work on that soon, but hopefully this will give you a good start in the meantime.


Edit: I think the subscribedthreads bug is fixed now.

Last edited by TechGuy; 21-Sep-2012 at 08:37 PM..
Ent's Avatar
Ent   (Josiah) Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 4,876 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
22-Sep-2012, 06:32 AM #28
Is there any way that it could only give the subscribed threads where <unread> is greater than 0? I could of course strip them out client-side, but it seems to make it easier and lower network overhead not to send the details of a bunch of threads with no new info anyway.

Or is there a reason you'd want them displayed?
__________________
I don't read minds. Please help everyone by answering any questions and reporting on the results of any suggestions.
Our Library of Knowledge is provided for your use. Can you help to improve it?
TechGuy's Avatar
TechGuy   (Mike) TechGuy is offline TechGuy has a Profile Picture
Computer Specs
Administrator with 12,210 posts.
 
Join Date: Feb 1999
Location: Chambersburg, PA
Experience: Advanced
22-Sep-2012, 09:46 AM #29
Up to you - I just figured I'd give you as much data as possible to do with as you wish. Could be useful, depending on how you choose to display the data either now or in the future. :-)
Ent's Avatar
Ent   (Josiah) Ent is offline Ent is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 4,876 posts.
 
Join Date: Apr 2009
Location: United Kingdom
Experience: Intermediate
24-Sep-2012, 07:58 AM #30
Because the Chrome extension interface must be built with pure HTML, I can't create the submenus used in the firefox addon. Ironically, this means that the functional overlap between the two extensions is almost 0.

This isn't as polished as I'd like it to be, but I don't anticipate having a great deal more time to spend on it in the immediate future. Obviously if you spot specific bugs I'll try to fix them.
__________________
I don't read minds. Please help everyone by answering any questions and reporting on the results of any suggestions.
Our Library of Knowledge is provided for your use. Can you help to improve it?
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑