Announcement

Collapse
No announcement yet.

Disable ckeditor mail button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MEsh3L85
    replied
    Originally posted by punchbowl View Post
    I'm not sure we use that template any more.
    you can use what I mentioned in my last post

    Leave a comment:


  • punchbowl
    replied
    Originally posted by DelphiVillage View Post
    hi,

    You could remove the mailicon by editing "editor_toolbar_on"

    HTML Code:
    <vb:if condition="$show['url_bbcode'] OR $show['attach'] OR $show['img_bbcode']">
          <li>
           <vb:if condition="$show['url_bbcode']">
            <img src="{vb:stylevar imgdir_editor}/createlink.png" class="imagebutton" id="{vb:raw editorid}_cmd_createlink" width="20" height="20" alt="{vb:rawphrase insert_link}" />
            <img src="{vb:stylevar imgdir_editor}/unlink.png" class="imagebutton" id="{vb:raw editorid}_cmd_unlink" width="20" height="20" alt="{vb:rawphrase remove_link}" />
           [B] <img src="{vb:stylevar imgdir_editor}/email.png" class="imagebutton" id="{vb:raw editorid}_cmd_email" width="20" height="20" alt="{vb:rawphrase insert_email_link}" />[/B]
           </vb:if>
           <vb:if condition="$show['img_bbcode'] OR $show['attach']">
            <img src="{vb:stylevar imgdir_editor}/insertimage.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertimage" width="20" height="20" alt="{vb:rawphrase insert_image}" />
            <img src="{vb:stylevar imgdir_editor}/video.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertvideo" width="21" height="20" alt="{vb:rawphrase insert_video}" />
    I'm not sure we use that template any more.

    Leave a comment:


  • MEsh3L85
    replied
    we need to change one line in clientscript/ckeditor/ckeditor.js :

    1 ) PLEASE backup your ckeditor.js before doing anything .

    2 ) open ckeditor.js and search for :

    Code:
    x.addMode('enhancedsource',{load:function(D,E){v(x,x.lang.vbulletin.email,'');


    i think it's on line 129

    replace it with :

    Code:
    x.addMode('enhancedsource',{load:function(D,E){v(x,x.lang.vbulletin.email,'none');


    good luck guys

    Leave a comment:


  • Mark.B
    replied
    This isn't an issue with the new editor.

    I've just noticed the same button on my site and I'm still on the old editor.

    Shows how much attention I pay.

    Leave a comment:


  • DelphiVillage
    replied
    hi,

    You could remove the mailicon by editing "editor_toolbar_on"

    HTML Code:
    <vb:if condition="$show['url_bbcode'] OR $show['attach'] OR $show['img_bbcode']">
          <li>
           <vb:if condition="$show['url_bbcode']">
            <img src="{vb:stylevar imgdir_editor}/createlink.png" class="imagebutton" id="{vb:raw editorid}_cmd_createlink" width="20" height="20" alt="{vb:rawphrase insert_link}" />
            <img src="{vb:stylevar imgdir_editor}/unlink.png" class="imagebutton" id="{vb:raw editorid}_cmd_unlink" width="20" height="20" alt="{vb:rawphrase remove_link}" />
           [B] <img src="{vb:stylevar imgdir_editor}/email.png" class="imagebutton" id="{vb:raw editorid}_cmd_email" width="20" height="20" alt="{vb:rawphrase insert_email_link}" />[/B]
           </vb:if>
           <vb:if condition="$show['img_bbcode'] OR $show['attach']">
            <img src="{vb:stylevar imgdir_editor}/insertimage.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertimage" width="20" height="20" alt="{vb:rawphrase insert_image}" />
            <img src="{vb:stylevar imgdir_editor}/video.png" class="imagebutton" id="{vb:raw editorid}_cmd_insertvideo" width="21" height="20" alt="{vb:rawphrase insert_video}" />
    or by disallowing url bbcode

    Leave a comment:


  • ThorstenA
    replied
    Originally posted by MEsh3L85 View Post
    you first need to switch the editor to Source mode then you can see it
    Yes with Opera I see the mail button once I click on the A/A button.

    Leave a comment:


  • Steve Machol
    replied
    Ahhh, interesting. The only way I see to remove that is by disabling 'Allow Basic BB Code'. Other than that, this is going to require manually editing it out of the code.

    Leave a comment:


  • Mark.B
    replied
    Yes I can see it on this site.

    Would be handy to be able to turn that off, or easily remove it. Many forums don't allow posting of email addresses and having an email button sort of makes that tricky to enforce.

    Leave a comment:


  • MEsh3L85
    replied
    Originally posted by Steve Machol View Post
    I don't see that button on any 4.1.4 installation. Is this from a custom BB Code?
    you first need to switch the editor to Source mode then you can see it

    Leave a comment:


  • CK
    replied
    That screeny was from here :/

    Leave a comment:


  • ThorstenA
    replied
    I don't see the mail icon here on vbulletin.com/forum with Opera 7 on Windows 7. I do see it on my forum.

    Leave a comment:


  • CK
    replied

    Leave a comment:


  • ThorstenA
    replied
    No, normal Windows 7 on my old computer

    Just eat self made waffles, I forgot how good they taste

    Leave a comment:


  • CK
    replied
    Originally posted by ThorstenA View Post
    Nice find! I am browsing on Opera (newest) Windows 7.
    Windows Phone7?

    Completely forgot about Opera desktop (my old baby) using 11.10 and I'm not seeing the button either.

    Leave a comment:


  • ThorstenA
    replied
    Originally posted by ChemicalKicks View Post
    How ****ing weird is that!!!
    Nice find! I am browsing on Opera (newest) Windows 7.

    Leave a comment:

Related Topics

Collapse

Working...
X