View Poll Results: Would you use a "quick reply code tag button" if it was introduced?

Voters
31. You may not vote on this poll
  • Yes, yes I would.

    23 74.19%
  • Nope.

    8 25.81%

Thread: Code Tag Button

  1. #16
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    IF there was an auto code tags button on Quick Reply...

    * The newbies wouldn't use it anyway, as they would be too in an "urgent" hurry all the time to be bothered to use it.
    * As for me, I would just "[ CODE][/CODE ]" it by hand. Most of the trivial code example I post are typed out directly in the Quick Reply textarea anyway. Come on people, set an example...

    So personally, I don't see the need for it. Maybe for some of the senior members, but I don't think I'd find a good use for it, other than a waste of good bandwidth.
    Code:
    #include <stdio.h>
    
    void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){
    puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9
    /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i]
    ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][
    t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}

  2. #17
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    If there's a quote button, there should be a code button. Simple logic.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #18
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    If there's a quote button, there should be a code button. Simple logic.
    Yeah, I am fully agreed with this simple logic.
    It seems it is hard for admins to manipulate VBulletin built-in configuration.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  4. #19
    Registered User
    Join Date
    Aug 2006
    Posts
    163
    I never use the quick reply. I also never use the code tag button(just type it, it takes less time than finding it with the mouse).

  5. #20
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Actually, I don't use it too, but making this shouldn't be so difficult, because it can just be copied from quote button and then change the picture and text it adds.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  6. #21
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> because it can just be copied from quote button and then change the picture and text it adds.

    ... Or you could just copy it from the proper reply ... like I did

    <td><div class="imagebutton" id="vB_Editor_001_cmd_wrap0_code"><img src="images/editor/code.gif" width="21" height="20" alt="Wrap [CODE] tags around selected text" /></div></td>
    @Admins - Go on ... do it!! Just once, it can't hurt!

    (Do admins give in to peer pressure?)
    Last edited by twomers; 09-24-2006 at 12:26 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  3. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  4. What's the html tag you use when putting a code on a webpage?
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 05-26-2002, 05:21 AM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM