CODE vs QUOTE [message #10709] |
Sun, 08 June 2003 01:39 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
fudforum does not put CODE items in a hightlighted table
This is inside CODE tags. not impressive and the same thing in QUOTE tags
Quote: | This is inside QUOTE tags
|
I think CODE should be similar...
I know, what is the difference...
CODE is for program/html/etc code and QUOTE is for quoting what someone said
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
|
|
|
Re: CODE vs QUOTE [message #10710 is a reply to message #10709] |
Sun, 08 June 2003 02:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Code is displaying text as is, without any formatting so that the data is shown without any modifications. If you want pretty output and want to display PHP code use the [php] tag.
FUDforum Core Developer
|
|
|
|
Re: CODE vs QUOTE [message #10721 is a reply to message #10713] |
Sun, 08 June 2003 16:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
it adds <?php because it is intended for PHP code only.
FUDforum Core Developer
|
|
|
|
|
|
Re: CODE vs QUOTE [message #12136 is a reply to message #12124] |
Tue, 29 July 2003 22:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The whole idea behind the code tag is to format the text in such a way that it is shown as is. This is very important when showing code of various programs.
FUDforum Core Developer
|
|
|
Re: CODE vs QUOTE [message #12146 is a reply to message #12136] |
Tue, 29 July 2003 23:00 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
prottoss wrote on Tue, 29 July 2003 18:01 | The whole idea behind the code tag is to format the text in such a way that it is shown as is. This is very important when showing code of various programs.
|
hmmmm...I did say in my last postesm2002 wrote on Tue, 29 July 2003 11:54 |
nothing wrong with Quote: | "displaying text as is, without any formatting so that the data is shown without any modifications."
|
|
As you can see from my post, if you want to not format it, I have no problem with that. But it would seem that it would be appropriate to identify that section as a separate section
Maybe if I am persistent like the guy who wanted to "Deleting Old Members"
prottoss wrote on Thu, 24 July 2003 18:29 | FYI:
Deleting Old Members
I've just added the edit, delete, ban/unban links to the member list allowing the administrator to quickly perform these actions on the listed users. This feature will be avaliable in the 2.5.1 release.
Thanks for being persistent and coming up with this idea.
|
But this is still great software!
I still continue to promote it....
http://www.sentraweb.com/community/showthread.php?s=&threadid=1397
http://www.cgi-central.net/forum/index.php?act=ST&f=9&t=1701&s= 65ef6fbcf39420b3d5a528c19e4b90c2
usually, I recommend it sooner or later at any message board I sign into...
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
|
|
|
Re: CODE vs QUOTE [message #12152 is a reply to message #12146] |
Wed, 30 July 2003 00:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The problem with making such a change is that it would break backwards compatibility with earlier versions of the [code] tag. Meaning that if you were to quote or edit an older message using the old [code] format the message would not get parsed correctly.
FUDforum Core Developer
|
|
|
|
Re: CODE vs QUOTE [message #12158 is a reply to message #12155] |
Wed, 30 July 2003 02:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I am mostly undecided on this issue at this point. Let's see what other FUDforum users have to say. Then I will make my, hopefully more educated decision.
FUDforum Core Developer
|
|
|
|
|
Re: CODE vs QUOTE [message #12175 is a reply to message #12173] |
Wed, 30 July 2003 19:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Good idea, by putting a titleless [quote] with a [code] you get the desired effect.
FUDforum Core Developer
|
|
|
|
|
Re: CODE vs QUOTE [message #12191 is a reply to message #12189] |
Wed, 30 July 2003 22:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Code tag is still necessary because it makes sures that the formatting of the text inside the code tag is not modified in any shape or form.
FUDforum Core Developer
|
|
|
|
Re: CODE vs QUOTE [message #12197 is a reply to message #12192] |
Thu, 31 July 2003 00:33 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
One way to do this would be to make [code] tag be converted to a special type of quote. Which as far as displaying of the data is concerned would do: [quote title=Code][code]some code...[./code][/title].
FUDforum Core Developer
[Updated on: Thu, 31 July 2003 00:33] Report message to a moderator
|
|
|
|
Re: CODE vs QUOTE [message #12202 is a reply to message #12201] |
Thu, 31 July 2003 01:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
But you could apply the same sort of formatting inside the quote, no?
FUDforum Core Developer
|
|
|
Re: CODE vs QUOTE [message #12205 is a reply to message #12202] |
Thu, 31 July 2003 02:38 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
prottoss wrote on Wed, 30 July 2003 21:23 | But you could apply the same sort of formatting inside the quote, no?
|
ahhh, not exactly...
Quote: | Some of them want to use you
Some of them want to get used by you
Some of them want to abuse you
Some of them want to be abused
|
well, at least I have figured out how to use the code feature inside the quote feature to do what I want. and other users will almost never figure it out...
not exactly the solution I think is best but maybe you will have change of heart.
take a look at how the G-T folks handle it...
http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=247964;#247964
even that would be acceptable!
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
[Updated on: Thu, 31 July 2003 02:46] Report message to a moderator
|
|
|
Re: CODE vs QUOTE [message #12288 is a reply to message #12205] |
Sat, 02 August 2003 22:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I think the argument is not the 'how will it look' but whether or not special code is needed or not. Ultimately
doing [quote][code][./code][./quote] is hardly something complex, just perphaps not obvious.
FUDforum Core Developer
|
|
|
Re: CODE vs QUOTE [message #12310 is a reply to message #12288] |
Mon, 04 August 2003 05:40 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
prottoss wrote on Sat, 02 August 2003 18:36 | I think the argument is not the 'how will it look' but whether or not special code is needed or not.
|
aaahhh, but the 'how will it look' was my argument from the beginning while your argument has been whether any 'special code is needed or not.'
remember the post above where I stated you could not even tell that the code feature had been used...1?:
esm2002 wrote on Tue, 29 July 2003 11:54 | One of the two following paragraphs uses the code feature. can you tell which one?
<th><b>Encrypt Admin Password?</b><br>encrypt password in config file to hide it?</th>
<td><input type=checkbox name=@ADMIN_PASS_ENCRYPTED@ value=1 checked></td>[/font]
<th><b>Encrypt Admin Password?</b><br>encrypt password in config file to hide it?</th>
<td><input type=checkbox name=@ADMIN_PASS_ENCRYPTED@ value=1 checked></td>
Can you even tell that the code feature has been used...!
Wouldn't it look so much better like this
Code: | <th><b>Encrypt Admin Password?</b><br>encrypt password in config file to hide it?</th>
<td><input type=checkbox name=@ADMIN_PASS_ENCRYPTED@ value=1 checked></td>
|
|
prottoss wrote on Sat, 02 August 2003 18:36 | Ultimately doing [.quote][.code][./code][./quote] is hardly something complex, just perphaps not obvious.
|
Yes, it is not complex. Yes, it is not obvious. Yes, almost no one will figure it out. Yes, there will those who ues it and like it. Yes, there will those who don't use because it don't "set apart" the text. Yes, IMHO, those is the latter group will far exceed the former group, making the code feature irrelevent.
It is code and not some free form text. Generally, it will be used in post that lots of paragraph of text interspersed with snippets of "code." Wouldn't it look better to set off the code form the other paragraphs?
Maybe we could have a code_two feature...
Sleep tight...don't let the bed bugs bite!
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
|
|
|
Re: CODE vs QUOTE [message #12320 is a reply to message #12310] |
Mon, 04 August 2003 16:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I never found a need for identifying code more then it is and given that in a year since forum's inception neither did other users this does not appear to be an issue of concern. While [quote][code] combination may not be obvious to most people those who absolutely need for some reason to identify code will surely figure it out eventually.
FUDforum Core Developer
|
|
|
|
Re: CODE vs QUOTE [message #12346 is a reply to message #12344] |
Tue, 05 August 2003 19:37 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I disagree the feature works as intended, and is quite useful.
FUDforum Core Developer
|
|
|
|
Re: CODE vs QUOTE [message #12357 is a reply to message #12352] |
Tue, 05 August 2003 23:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you find it useless don't use it, no one is forcing you to. That said keep in mind you gotta convince me to add a feature and not have me convince you of why the current implementation works. The wonderous nature of open source allows you to take the forum sources and modify them to your liking.
FUDforum Core Developer
|
|
|
|
Re: CODE vs QUOTE [message #12386 is a reply to message #12363] |
Wed, 06 August 2003 18:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The reason is very simple:
[code] tag is ment to display source code. It is likely people will copy & paste that code into actual applications. It is highly important that the data remains as is, so that when it is pasted the browser does not add any special characters that would corrupt the code.
FUDforum Core Developer
|
|
|
|
Re: CODE vs QUOTE [message #12395 is a reply to message #12390] |
Wed, 06 August 2003 20:27 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If all of the forums decide to switch from PHP to ASP does it mean I have to follow suit? Each developer chooses an implementation they like and implement it. In some cases for the sake of ease of uses certain things may be addapted from other similar applications, but that's not always the case.
FUDforum Core Developer
|
|
|
Re: CODE vs QUOTE [message #12406 is a reply to message #12395] |
Wed, 06 August 2003 23:56 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
in other words, you have no real reason other than that is just the other way you want it. You don't cite ease of use, code efficiency, speed, it looks better or anything of substance. you want it that way because you want it that way.
I have said it before: if you can build a better mousetrap than what is on the market, I am all for it even if no other one does it that way. But the crowd is not always wrong. Most times, something is done the way it is done because it really is the "best" way. If you deviate, then your reasons needs to be sound.
So far, all you have provided is form over substance. you want it a certain way because you want it a certin way without any substantive reason: form over substance.
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
|
|
|
|
Re: CODE vs QUOTE [message #12409 is a reply to message #12406] |
Thu, 07 August 2003 00:25 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
1 person hardly consitutes a crowd. And you are right, I did it in a certain way because I like it, since I am the developer that is my decision to make. If you fail to convince me to change my opinion and do not want to modify the source code yourself, tough luck.
FUDforum Core Developer
|
|
|
|
|
|