|
Hmmm, though I suspected that, that is counter-intuitive. Perhaps one of the "last updated" messages could be "Answer deleted 5 minutes ago". That way, the user isn't left wondering what update occurred 2 hours ago that isn't visible for some unknown reason. Not sure if you'd want to bump the answer in that scenario or not.
|
|
|
|
|
Here[^].
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hopefully I get MVP at some point and can spoof you even better!
By the way, there's nothing that says you can't steal a member's alias while they're spoofing yours. Sweet revenge.
|
|
|
|
|
Actually there is.
Terms of Use[^]
12. COMMUNICATIONS SERVICES
25.Create a false identity for the purpose of misleading others
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Is that really you Chris?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
Oops.
|
|
|
|
|
Could we get maybe the below two CSS styles defined for articles? I'd like to use some call-outs like they do in Reader's Digest. I don't want to use the "nav-right-sidebar" because call-outs shouldn't be tied to the layout of your hosting interface. You have a call-out style defined, but it doesn't have any width.
Also, is it possible to create a "code-collapsed" style? I want to be able to display collapsed segments of code so the user can orient themselves within a segment of auto-generated code (by the MS InterOp Toolkit). I can get close with a span style set to box, but the padding is causing overlap with the line above.
.right-sidebar
{
float:right;
width:190px;
background-color:#FFFFEF;
margin: 10px 7px 15px 15px;
border: 1px #FFCC66 solid;
border-radius:10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}
.left-sidebar
{
float:left;
width:190px;
background-color:#FFFFEF;
margin: 10px 7px 15px 15px;
border: 1px #FFCC66 solid;
border-radius:10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}
Without darkness, there are no dreams.
-Karla Kuban
|
|
|
|
|
Nevermind about the sidebars for call-outs. I kept using "style:" instead of "style=" for setting width. I'd still like to have a collapsed code style because of the munging of the formatting tool.
Without darkness, there are no dreams.
-Karla Kuban
|
|
|
|
|
Not exactly sure what you mean by this: is it simply that you want to wrap some code in a collapsed block with a [+] sign to expand it later? This would require code changes. Alternatively, we could offer somethind like
<pre lang="C#" collapsed="true">
so that the code block starts off collapsed.
Or am I missing your point?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Segments that could be dynamically collapsed/expanded would be over the top fantastic. But what I need is something that mimics it.
Here's what I'm after: I'm using a tool that auto-generates code. My article isn't focusing on explaining the auto-generated code, but the stuff that's added to it. As such, the reader will find the collapsed properties and methods useful in orienting themselves within the overall code. What's not helpful is displaying the mountain of code that's in the collapsed segment.
What I can do now is something like this:
<pre lang="whatever">
...
<span class=tiny-text>[+]</span> <span class=box style=font-size:10pt>Public Property MyProperty...</span>
...
</pre>
Notice that I've left off the quotes. You have to leave them off because the <pre> tag processing adds them back automatically. As a direct result, though, you can't use multiple classes. The real problem, though, is that the box class is too large cuts into the code line above it.
Again, if there were a class like code-collapsed, you could actually place code into it that could, for now, be marked invisible, but later could be made dynamic to allow the curious reader to expand and collapse.
Without darkness, there are no dreams.
-Karla Kuban
|
|
|
|
|
You need to surround class names and styles in quotes
<span class="class1 class2" style="whatever">...
(I edited and fixed your message above)
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Yes, I know that. And if you'll read the article, you'll see why this isn't possible. That's one of my points!
Without darkness, there are no dreams.
-Karla Kuban
|
|
|
|
|
I have noticed that the rep numbers on your profile's "About" tab differs from the (supposedly) same numbers on the "Reputation" tab (the graph)
Why is that and which numbers are correct???
|
|
|
|
|
Probably a caching issue.
I think the about tab is updated immediately and the graph takes a while, or the other way around
|
|
|
|
|
it is one or a few bugs. Typically a few points are just missing on the reputation graph (I'm currently missing 12 points there). It gets corrected whenever the powers that be decide on recalculating everything.
|
|
|
|
|
Aaany day now...
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Any chance you can remove the new icon when the refresh button is clicked? It would be nice on F5 too, but I can understand if you don't want it on that for fear of too many postbacks. Thanks!
|
|
|
|
|
Not a good idea IMO. When several messages are marked NEW and one refreshes the page, why would all those new messages loose their NEW mark? I probably refresh before I've read them all.
|
|
|
|
|
Didn't think about that. However, my original request is that when they click on the "Refresh" link to the right of the "New Message" link in each forum, then it would be nice if it cleared the new icon for those pages. Another option is to change the color for the newer ones that appear from the last time you refreshed. The problem is for extremely long threads, most of the posts have the new icon, and I click on refresh to see when a new one arrives based on an email I received. If all the posts remain new, then I really can't differentiate them until I read them all, which isn't always my intent.
|
|
|
|
|
The way I see it, CP is not keeping individual history, the NEW marks are just a comparison of your visit time with each and every message creation time; storing such per member would yield truckloads of new booleans. No one is keeping track what you did and didn't read on a page. Furthermore, the layout options include "expand all" and "expand one" so it becomes just impossible.
|
|
|
|
|
True, but it appears that it currently does something like "if within a certain amount of time, mark as new". What I would like to see is "if within an epsilon amount of time, mark as 'just in'" (new icon of a different color), else "if within a certain amount of time, mark as new". That should certainly be doable without major modification to the code. Heck, the epsilon could also be setup as a personal preference.
|
|
|
|
|
So a "new" icon and a "just posted" signifier?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Exactly. Although, the text "just posted" might be a tad long. How about "new" vs "now"?
|
|
|
|
|
that would be OK for me, as is the current situation.
|
|
|
|
|
Please see this[^] post and its context. The post is not from me.
I realise that it is only a joke and am not offended by it but I do feel that the ability to do this sort of thing is somewhat undesireable, to say the least.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|