Ok, it's been asked for a hundred times, so I had to do it.
You realize this cost me all Saturday, and now my neck and back are sore from sitting here. =) Good thing my wife is out of town this weekend!
The drill is the same as my Profile Images script: currently only tsted and working in FireFox with the GreaseMonkey Extension installed.
Download it (and anything else I decide to write) from my newly created DPCmod page. There are important notes and installation instructions on this page. Pleae read them.
Here's the screenshot:
Please someone let me know if it works - I've been working with it all day, so I may have done something stupid at the last minute. =)
Cheers!
-Jeff
Edit: By the way - the first time you use this script, it will remember all your # of comments. So you'll have to get a new comment (you can comment on your own image, or a friend's), and then go back to your profile page, to see it in action.
If you have lots of pages of Challenge and Portfolio entries, you may want to just hit the "Show all" checkbox, and scan for your new comments.
Adding a "Show only new comments" filter checkbox is possibly on the way (cough*cash*cough).
Very very cool! I've been wishing for such a thing for quite some time! I don't know about cash, but this has definitely earned you a spot in my "favorites" section :)
Yeah, favorites - that's a close second to cash. =)
By the way - since this is a client-side script, there is a multiple-computer implication. You can install this script on multiple machines, if you'd like, but each will track new comments independently.
And in case you didn't read the fine print on my site, the disclaimer that "if the site changes, this script may no longer work" still applies.
Whoa! Strange occurance resulting from Comments script (verified by turning the script off).
In my profile the portfolio links for my images point to:
//www.dpchallenge.com/portfolio.php?USER_ID=65858&collection_id=12970
instead of:
//www.dpchallenge.com/portfolio.php?USER_ID=49007&collection_id=12970
The bug is now fixed and I've called it v1.1. If you have installed the script earlier, I recommend you reinstall so that the collection links in your own view of your portfolio are fixed.
If I use my dandy new Profile Image link (instead of going ALL the way to the top of the page), my profile page contains my USERID in the URL like this:
//www.dpchallenge.com/profile.php?USER_ID=49007
The script doesn't show me anything when I do that. I assume the fix would be to add the complete URL as a include URL, right?
Interesting item #3:
It's possible to reach ones profile using the form:
username.dpchallenge.com which strangely is redirecting to //www.dpchallenge.com/profile.php?USER_ID= (Yes that is an empty USERID...) I don't recall it redirecting before, but maybe Langdon changed things.
Why can we not just have this be an embedded feature of the site?
The more stuff the site loads, the more server and bandwidth intensive it is. Embedded may not be the way to go, especially for many non-western countries, where the bandwidth access fees can be per Kbit based.
Alright, I was modifying the code anyway, so I had to add a feature. To make new comments a little more obvious (don't have to look through all your pages of images, and so you know the script is doing something), it now modifies the section titles in your profile, like so:
Jeff I love your mods but this one i don't use much. I tend to check my comment total vs those on each photo. any chance this can be fixed to show new comments there?
Jeff I love your mods but this one i don't use much. I tend to check my comment total vs those on each photo. any chance this can be fixed to show new comments there?
Great idea, Elvis. Done! Now highlights new comments in the left bar under "received"
v1.5
(Of course, if you and Crystal use the same computer and browser, this addition may get mixed up because each of you visit "profile.php" with different numbers for comments received... Let me know if this is a problem, maybe I can also key it off your user id)