|
That would be cool, especially if it could add a target="_blank", maybe as an option, or a default for non CP links.
Dylan Kenneally
London, UK
|
|
|
|
|
I would like to see an additional button similar to Quote Selected Text, which prompts via JavaScript for a desired URL and a textual description, and inserts <a href="URL">description</a> [<a href="URL" target="_blank">^</a>] (Maybe the description field should be defaulted with Clickety ) So Chris has not to implement a parser for the postings...
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
Not tested, but just hacked in:
function EnterHyperLink()
{
var txtURL = prompt("Enter URL","");
if (txtURL == "")
return;
var TextArea = document.MessageForm.ContentText;
var text = TextArea.value;
if (document.MessageForm.Format && !document.MessageForm.Format.checked)
{
text += txtURL;
}
else
{
var txtDesc = prompt("Description","Clickety");
if (txtDesc == "")
return;
text += "<a href=\"" + strURL + ">" + strDesc + "</a>";
text += " [<a href=\"" + strURL + " target=\"_blank\">^</a>] ";
}
TextArea.value = text;
TextArea.focus();
}
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
|
I've added a new 'link' button - thanks to Jason Jystad.
cheers,
Chris Maunder
|
|
|
|
|
excellent and clean solution
|
|
|
|
|
Chris Maunder wrote:
I've added a new 'link' button
It even inserts target="_blank" ... cool. Thanks Chris.
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
It adds target="_blank" only if the link is outside of CodeProject.
cheers,
Chris Maunder
|
|
|
|
|
Code Project's message board has an expanded view option that, I assume, allows a user to view all of the threads of a page in their entirety.
Even though this option is for Supporters only, I believe this option would benefit more users because it saves time posting, replying, and looking for answers.
Tell me what you think.
Peter O.
|
|
|
|
|
The problem with expanded view is that the Ads won't re-load. Currently the Ads re-load when we view individual messages! I think it's okay for supporters to have it as they have already shown their support for CP in a big way.
Regards
Nish
Author of the romantic comedy
Summer Love and Some more Cricket [New Win]
Review by Shog9
Click here for review[NW]
|
|
|
|
|
Someone posted a JavaScript snippet a couple weeks ago that shows all posts, although me personally I don't like it, I find it's hard to follow threads when I can't clearly see the indentation of each post.
--Mike--
Just released - RightClick-Encrypt v1.3 - Adds fast & easy file encryption to Explorer
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
That'd be Paul
I used it for a bit, but I agree its a little hard to follow the threads.
Cool piece of script though.
Bruce Duncan, CP#9088, CPUA 0xA1EE, Sonork 100.10030 Arthur-Anderson, proud sponsor of the Corporate Make A Wish Foundation.
|
|
|
|
|
At the top left of every page (under the Options box), it displays your username (or rather the username of the currently logged in user)
Would it be too difficult to make this link to your own profile page? (as it's surprisingly difficult to reach your own profile quickly)
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
Hey, cool. That was quick
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
|
Just wondering if it would be possible to have a "Remove Picture" button in the "My Settings" or a restore default button.
"When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it" Nish on life [methinks]
"It's The Soapbox; topics are optional" Shog 9
|
|
|
|
|
Any particular reason?
cheers,
Chris Maunder
|
|
|
|
|
Chris Maunder wrote:
Any particular reason
Well if he writes a ten page Soapbox post about his ex-girlfriend, a dirty weekend and the CP photo upload area we will know.
I got some spam today about a site where disgruntled boyfriends can upload movies and pics of their exs, in the buff of course. How odd.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge
Alison Pentland wrote:
I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!
|
|
|
|
|
Paul Watson wrote:
I got some spam today about a site where disgruntled boyfriends can upload movies and pics of their exs, in the buff of course. How odd.
Why would you want to do that?!?!?!?! weird.
"When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it" Nish on life [methinks]
"It's The Soapbox; topics are optional" Shog 9
|
|
|
|
|
Brian Delahunty wrote:
Why would you want to do that?!?!?!?!
Well I personally wouldnt want to post nude pics of my girlfriend or even ex-girlfriends. But I guess some guys, who are hurting deep inside, see it as cure, through revenge. I guess. Ultimately they will come up short and realise it, but we often do things in haste while in pain and angry. Things we come to regret.
Brian Delahunty wrote:
When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it
There we are.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge
Alison Pentland wrote:
I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!
|
|
|
|
|
Paul Watson wrote:
Well I personally wouldnt want to post nude pics of my girlfriend or even ex-girlfriends.
Neither would I.
Paul Watson wrote:
But I guess some guys, who are hurting deep inside, see it as cure, through revenge.
Probably. I know some people who have ancted like that. Always end's up hurting them more in the end.
"When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it" Nish on life [methinks]
"It's The Soapbox; topics are optional" Shog 9
|
|
|
|
|
Paul Watson wrote:
I got some spam today about a site where disgruntled boyfriends can upload movies and pics of their exs, in the buff of course. How odd.
What is the URL of that site....;)
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
Chris Maunder wrote:
Any particular reason?
LOL... no.. not really. I was just going to upload another one a while back and thought it might be a nice feature
"When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it" Nish on life [methinks]
"It's The Soapbox; topics are optional" Shog 9
|
|
|
|
|
I don't know if it is possible on this form, but some other forms let us add html tags to pretty-up the code that we post. For example:
[code]
class MyClass
{
};
[/code]
When the above example is displayed, the text between the tags are aligned and tabbed something like what you would see in the VC6 IDE.
|
|
|
|
|
Well, you *can* do:
<pre>
class MyClass
{
}; </pre>
Although it only reformats the code for articles, not in the forums. Still, it does *preserve* spacing (except for extra blank spaces, which it seems to trash with extreme prejudice), so you can use something like SciTE to do formatting for you if you wish.
I agree it would be nice to have some sort of feature that would pre-process posts (instead of doing all the reformatting when the page is displayed) in order to do stuff like automatically creating clickable links, syntax highlighting, conversion of < and > to < and >, etc.
- Shog9 - Aaah... It's time to relax. You know what that means: a glass of beer, your favorite ergo chair... And of course, The Code Project loaded on your Personal Computer System. So go on, and indulge yourself, put your feet up. Lean back and just enjoy the articles. After all, CP sooths even the savage
|
|
|
|