|
Yeah, I'm seeing it to and I do a lot. It irritated me to no end now I just ignore it...
|
|
|
|
|
Bassam Abdul-Baki wrote: but there appears to be a very small horizontal line next to the cursor line.
I sometimes see it (like now, for instance) but not always. I've seen it on other sites too, like Wikipedia, so it's not an issue just with CP.
|
|
|
|
|
I've ditched automatic refresh. For one thing, there's no way i'd get away with releasing it in it's current form. For another, it made things really jerky, as background updates happened continually.
I've added manual refreshing. But not like what's in the released version. This checks for new threads, then updates every thread on the page - so once the update is done, you can be reasonably certain you're seeing what's there (outstanding bug: only retrieves the first 50 posts in a thread). This is pretty much the way automatic refresh worked, except it's not automatic. Also, you can easily refresh individual threads - try this out in the Thread View!
Finally: snazzy progress throbbers!
As always, the trunk is frequently changed, so use only if you want the latest and greatest and don't mind a few hiccups.
|
|
|
|
|
The shorcut Ctrl+Shift+P now invokes the PRE button, instead of the Preview button. Intentional? (I originally suggested C+S+P for Preview since that's the shortcut in my IE bar.)
|
|
|
|
|
CPhog should only auto-check the "Modified" box if the persons edit is older than 15 minutes.
In most cases I make a post. Then read it over and modify it only to correct spelling and grammar and that's always done right after I post. I don't think "Modified" should be checked until it's been at least 15 minutes.
Check out my 7 Part Series on Networking[^]
Spyware Giving You Fits? Read My Latest Article.[^]
Welcome to the CodeProject!- أهلاً بكم في كود بروجكت
- Καλώς ήλθες στο τόπο τωνκοδικων - സീപിയിലേക്കൂ സ്വാഗതം - コード·プロジェクトへようこそ - Добро пожаловатьна - كوڈ ڀراجيكٹ ميں خوش آمديد - ಸೀಪೀ" ಗೆ ಸ್ವಾಗತ
|
|
|
|
|
code-frog wrote: In most cases I make a post. Then read it over and modify it only to correct spelling and grammar and that's always done right after I post. I don't think "Modified" should be checked until it's been at least 15 minutes.
That is... a very good idea. I do that frequently as well...
Last modified: 2hrs 22mins after originally posted -- In the trunk... (also new: offset rather than absolute modification times, split-out signatures for modifications)
|
|
|
|
|
Is removing CPhog and GM as simple as deleting the scripts? It seems like there should be more to it.
How would I make sure that all traces are gone so I can reload GM then CPhog? Ideas? Right now my CPhog experience has me way down.
I also sucks because if I post a new message it defaults to no CPhog. However if I click reply to load CPhog (but don't reply) then click new message I can post a new message in CPhog. WEIRD...
I only read cp for the articles.
Iron Speed Designer MVP Check out my 7 Part Series on Networking[^]
Spyware Giving You Fits? Read My Latest Article.[^]
|
|
|
|
|
On my old 600 MHz box, CPhog's startup time on each page was painfully long. But I have a new modern machine now and no longer notice it.
I don't think un/reinstalling would change anything. CPhog is just going through the HTML and tweaking things as necessary. If you're viewing 50 posts per page, that's 150 HTML elements to change (Reply/Modify/timestamp) and that just takes time.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
|
Wow, something's weird then. Mine is a 2.4GHz Turion (running 32-bit Vista). The work CPHog does is CPU- and memory-bound, having to slog through the HTML DOM, I would think your higher raw CPU speed would be enough.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
|
(Using the HTML editor, FF 1.5.0.4, GM 0.6.4)
1. type "Call foo"
2. hit Ctrl+Shift+Left arrow to select "foo"
3. hit Ctrl+Shift+C
Result: the edit box contains just "foo<code>"
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
Heh.
I guess it's worth paying attention to return values.
Fixed in the trunk.
|
|
|
|
|
As Mr. Burns would say, excellent
Nice new emoticon bar too, btw!
|
|
|
|
|
Is it possible to generate digital signatures with the greasemonkey API? It would be nice to be able to detect if someone's spoofing or not..
If it is indeed possible, you could always stick the code into a <span style = "display: none">signature</span>, and then verify it on at the click of a button.
--
80 percent entertainment by volume
|
|
|
|
|
Javascript has its own crypto API (which i've never used and know nothing about), so i'd imagine it's possible.
Alternately, i could just make it slightly easier to view the user's profile from a message. It'd be pretty hard to spoof another user's ID or "member since" date.
|
|
|
|
|
Slightly less hardcore, but it would work.
--
Secreted by the Comedy Bee
|
|
|
|
|
I've finally gotten off my butt to get some info about the problem. I went to my blog page and tried to create a new post with CPHog enabled and I got the same unexpected error that I've been getting creating any new post for a while now. The main difference I've seen is that CPHog seems to send an ArticlePassword of 3 instead of 379421473. I hate to just dump the request logs, but you might find this useful:
This time I fired up HttpLook to capture the session and this is what I saw:
#35 13:24:30.304 209.171.52.99:80
POST /script/comments/app/user_do_new.asp?forumid=18722&main=/script/comments/forums.asp HTTP/1.1
Host: www.codeproject.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,**;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: cat=3; Email=; LastVisit=7%2F27%2F2006+2%3A28%3A03+PM; loginkey=; MPP=50; exp1=5; datefilter=3; noise=1; ebNewBandWidth_.www.codeproject.com=202%3A1128096368418; LoungeTab=0; SessionGUID=%7BC7F8A5F9%2DD962%2D4982%2DB279%2DDD0F13CAFB2C%7D
Pragma: no-cache
Cache-Control: no-cache
#38 13:24:31.116 209.171.52.99:80
HTTP/1.1 200 OK
Date: Thu, 27 Jul 2006 18:28:26 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 10008
Content-Type: text/html
Set-Cookie: SessionGUID=%7BC7F8A5F9%2DD962%2D4982%2DB279%2DDD0F13CAFB2C%7D; path=/
Set-Cookie: cat=3; expires=Fri, 27-Jul-2007 04:00:00 GMT; path=/
Cache-control: private
[snip]
And this was the successful old school result
#39 13:26:35.414 209.171.52.99:80
POST /script/comments/app/user_do_new.asp?id=178544&main=/script/profile/whos_who.asp&df=100&forumid=18722&noise=1&exp=6&mpp=50 HTTP/1.1
Host: www.codeproject.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*
I can imagine the sinking feeling one would have after ordering my book,
only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
|
|
|
|
|
Nice bug report, Andy!
The problem was caused by CPhog not picking up the changes you made to your login email. I've updated the script to pull this every time CPhog loads, which should eliminate this problem... hopefully it doesn't slow anything down (let's see how asynchronous this AJAX thing really is... )
Pull the latest script from the link in my sig, refresh CP, all should be well. (alternately, if you're using the trunk version, just pull the latest from... uh, whatever that URL is - i updated both).
|
|
|
|
|
Man I feel like a luser. That should have been freaking obvious to me. If you see this post then it is working now.
Using the GridView is like trying to explain to someone else how to move a third person's hands in order to tie your shoelaces for you.
-Chris Maunder
|
|
|
|
|
I can see your hog! Hallelujah!
--
Behold, for I am THE CORRUPTOR!
|
|
|
|
|
Andy Brummer wrote: If you see this post then it is working now.
|
|
|
|
|
Some of you may have noticed sigs now get wrapped in <div class="ForumSig">...</div> tags. This serves 2 purposes:
1. We can mess around with people's sigs. Clip them, make them invisible, make 'em yellow. Whatever.
2. I can split the message and sig in the "modify message" page.
I'm guessing this may give you some ideas for CPHog...
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Threw a few things into the trunk this evening. Nothing major, but possibly something worth commenting on before i merge 'em into the live branch:
- Empty signatures now display placeholder text
- Clicking the collapsed signature line expands it and opens it for editing.
- The emoticon menu shortcut key (Ctrl+E) now actually does something
- Speaking of formatting menus, they've changed: font face, color and size, paragraph alignment, and emoticons now expand into the area below the formatting menu.
- A couple of other minor bug fixes related to quoting and replying.
|
|
|
|
|
About them tweaks. Would it be possible to generate a modification timestamp that is english only? It would seem that your script is using some date/time-formatting based on my computers locale settings. I'm not bothered by it, but it might bother others who aren't Swedish. After all, CP is english only.
[edit]See timestamp below:[/edit]
--
If not entertaining, write your congressmanLast modified: den 15 juli 2006 18:28:39 --
|
|
|
|