|
James T. Johnson wrote:
I am I doing that bad already?
I was just using your name as an example
Don't be so sensitive !
Regardz
Colin J Davies
Sonork ID 100.9197:Colin
More about me
|
|
|
|
|
Colin Davies wrote:
Don't be so sensitive !
I guess what I said reads harshly, it was more in jest But I do need to be less sensitive, etc...
Jamez
Simplicity Rules!
|
|
|
|
|
Being sensitive is not such a bad thing Jambo
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
We had the feature till a while back. Maybe it's being redone in a better way.
Nish
The posting stats are now in PDF:-
http://www.busterboy.org/codeproject/
Feel free to make your comments.
Updated - May 04th, Saturday
|
|
|
|
|
Yep - it is. Most of the plumbing is in place but I had to pull the 'Edited By' tag because of the backend redesign. It's one of those things that I thought "No one will notice if it's gone a day or two".
How wrong I am
cheers,
Chris Maunder
|
|
|
|
|
Good to have you back, Chris
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
I thought I'd toss another mail into Chris's inbox whilst he was away. How about doing a simple search/replace during the process of submitting a post which would translate CodeGuru pseudo-tags into real HTML tags? Like, replace [code] with <pre> and [/code] with </pre> and so on.
--Mike--
Buy me stuff! (Link fixed now)
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Big fan of Alyson Hannigan and Jamie Salé.
Sonork - 100.10414 AcidHelm
|
|
|
|
|
I think thats a kewl idea as well Mike.
Regardz
Colin J Davies
Sonork ID 100.9197:Colin
More about me
|
|
|
|
|
Michael Dunn wrote:
translate CodeGuru pseudo-tags into real HTML tags
Why would anyone use [code] tags? Do they do that in CodeGuru. And will this automatic replacement, help former codeguru-posters to post here easily? Is this suggestion to make the transition easier. I am not a former codegur-guy like the rest of you. I am a native CPian. Born here, grew up here. To me Codeguru is a just folk-lore. That's why I ask all these questions.
Regards
Nish
The posting stats are now in PDF:-
http://www.busterboy.org/codeproject/
Feel free to make your comments.
Updated - May 04th, Saturday
|
|
|
|
|
Yeah the [code] tags were big and a revolution when first used at CodeGuru.
Regardz
Colin J Davies
Sonork ID 100.9197:Colin
More about me
|
|
|
|
|
Colin,
Were you a former codegurist too?
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
|
Thanks Mike
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Ah.. but I use [ and ] for brackets...
Well.. it would be a better way of doing things... so it's a good idea in my book
"Isn't that the "write once, debug everwhere" language?" Tom Archer on Java...
|
|
|
|
|
If the [ and ] brackets are replaced with HTML, my nick would suffer
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Maybe we should rebel against this idea
"Isn't that the "write once, debug everywhere" language?" Tom Archer on Java...
|
|
|
|
|
Brian Delahunty wrote:
Maybe we should rebel against this idea
Maybe, but then maybe I'll use { and } instead
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Nish [BusterBoy] wrote:
Maybe, but then maybe I'll use { and } instead
That is probably a better idea then my one... ah well. At least I gave my two cents
"Isn't that the "write once, debug everywhere" language?" Tom Archer on Java...
|
|
|
|
|
I've got the code for that tucked away somewhere (a more extensive system than merely search and replace) but why? For use in 'No HTML' messages? As an alternative method?
cheers,
Chris Maunder
|
|
|
|
|
Chris Maunder wrote:
but why?
So that people who are used to CG, and don't know or forget that CP doesn't use [] pseudo-tags, will have their post appear the way they intended.
--Mike--
Buy me stuff! (Link fixed now)
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Big fan of Alyson Hannigan and Jamie Salé.
Sonork - 100.10414 AcidHelm
|
|
|
|
|
Has this ever been a problem (I've not seen [pre] used but I'll certainly add it if it's a common issue)
cheers,
Chris Maunder
|
|
|
|
|
I wouldn't call it a problem, more like a "nice to have". I've seen people occasionally use [code] and [/code], and how tough would it be to switch that to <pre> and </pre> during the submission process?
--Mike--
Buy me stuff! (Link fixed now)
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Big fan of Alyson Hannigan and Jamie Salé.
Sonork - 100.10414 AcidHelm
|
|
|
|
|
Why not just add some buttons to the form to wrap the selected text in <pre> or <code> tags? You could also do a replace on &, < and > to replace with &, < and >, to make it easier to post code samples.
EG:
<script language='javascript' type='text/javascript'>
<!--
function formatSel(txt, tag) {
var tr;
if (document.selection.type.toLowerCase() == 'text') {
tr = document.selection.createRange();
var pe = tr.parentElement();
if (!(pe.tagName.toLowerCase() == 'textarea' && pe.id == txt.id))
tr = txt.createTextRange();
}
else
tr = txt.createTextRange();
var cont = tr.text;
cont = cont.replace(/&/ig,'&');
cont = cont.replace(/</ig,'<');
cont = cont.replace(/>/ig,'>');
cont = '<' + tag + '>' + cont + '</' + tag + '>';
tr.text = cont;
}
function markPre() {
formatSel(document.MessageForm.ContentText, 'pre');
}
function markCode() {
formatSel(document.MessageForm.ContentText, 'code');
}
</script>
Richard
|
|
|
|
|
Hi Chris,
Your rules that the status of a member will automatically be updated.
More specifically, the part where a membership should be promoted to
the next level after each year of membership.
Well, mine is still in the same old status,
even after more than 1 yr of membership.
Can u check up the scripts handling this ?
|
|
|
|
|
If you look over the (slightly convoluted) rules you'll see your status is correct.
cheers,
Chris Maunder
|
|
|
|