+ Reply to Thread
Results 1 to 4 of 4

Thread: to add a button to editor?

  1. #1

    to add a button to editor?

    Hi all:

    I have a problem with the new BBCodes, how can i add a BBCode that uses a option?

    I can add succesfully bbcodes that only wraps the text, but a spoiler tags who uses a option... i canīt do it!

    The bbcode is this: http://www.vbhackers.com/f76/3-6-0-b...iler-tag-4965/

    Thanks and sorry my english...

  2. #2
    Senior Member feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen, Denmark
    Posts
    10,127
    Everything you need is right there when you Add New BBCode.



    Use {option} and Button Image
    Last edited by feldon23; Sat 4th Nov '06 at 5:35pm.
    Do you run a vBulletin 3.x forum? Want to keep it running? You owe it to yourself to join the vB3 Forever Group and vB3Forever.org.

    "vBulletin 3.8.6...will most likely be the final support release." - IB Adrian


  3. #3
    But that i need is insert it in the "showthread_quickreply" template directly, the bbcode is yet inserted as you tell.

    The code to do this with a bbcode that wrap the text is some like this:

    PHP Code:
    <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td
    That i need is use a bbcode with option and insert in the template. With know this part is enough:

    PHP Code:
    {$editorid}_cmd_wrap0_quote 

  4. #4
    Senior Member feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23 is a name known to all feldon23's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen, Denmark
    Posts
    10,127
    As you say, adding a button to Quick Reply or Quick Edit requires template editing.

    It would require some Javascript editing I think to do both {param} and {option} since basically you have to clone to URL button and change it for your purposes.

    This level of customization is best for vBulletin.org I think.
    Do you run a vBulletin 3.x forum? Want to keep it running? You owe it to yourself to join the vB3 Forever Group and vB3Forever.org.

    "vBulletin 3.8.6...will most likely be the final support release." - IB Adrian


+ Reply to Thread

Similar Threads

  1. Problems with Link Button in Editor
    By Parker Clack in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 4
    Last Post: Fri 4th Aug '06, 8:37am
  2. Can't Use Delete Button on WYSIWYG Editor
    By ZippyV in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 2
    Last Post: Mon 28th Nov '05, 12:49am
  3. WYSIWYG Editor Strikeout button
    By DirectPixel in forum vBulletin Suggestions and Feedback
    Replies: 8
    Last Post: Thu 16th Jun '05, 1:07pm
  4. Adding a button to WYSIWYG Editor
    By kirupa in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 2
    Last Post: Thu 6th Jan '05, 7:52pm
  5. [URL] button and WYSIWYG Editor
    By Dart1337 in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 0
    Last Post: Sun 6th Jul '03, 3:12pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts