Results 1 to 7 of 7

Thread: [Release Vb 2.x] Vb Code modification

  1. #1
    Senior Member floleb7 has disabled reputation floleb7's Avatar
    Join Date
    Apr 2001
    Location
    Paris, France
    Age
    29
    Posts
    442
    i don't like Vb Code system actually so i use a simple system
    you click on the img one time there is the first tag you click another time the tag is closed more simple i think



    Code:
    <a alt1="[mail]" alt2="[/mail]" t="0" onClick="t=1-t;if (t==1){message.value=message.value+alt1};if (t==0){message.value=message.value+alt2}"><img src="images/bbcode/mail.gif" 
                border=0></a>
     

  2. #2
    New Member Aaron Pepper is on a distinguished road
    Join Date
    Mar 2001
    Location
    Canada
    Age
    26
    Posts
    21
    Can I see a demo of this in action?
    | www.allrpg.com | www.chronocross.com | www.zoneofenders.com |
     

  3. #3
    Senior Member floleb7 has disabled reputation floleb7's Avatar
    Join Date
    Apr 2001
    Location
    Paris, France
    Age
    29
    Posts
    442
    i can just put a screen (i like this method without JS)

    screen here
    Last edited by floleb7; Sat 21st Apr '01 at 3:58pm.
     

  4. #4
    Senior Member Streicher has disabled reputation Streicher's Avatar
    Join Date
    Jan 2001
    Location
    Reinbek, Germany
    Posts
    383
    It does not work with Netscape 4.7x.
    Streicher
     

  5. #5
    Senior Member floleb7 has disabled reputation floleb7's Avatar
    Join Date
    Apr 2001
    Location
    Paris, France
    Age
    29
    Posts
    442
    hum i haven't test with NS i will see a correction for NS's user
     

  6. #6
    Senior Member floleb7 has disabled reputation floleb7's Avatar
    Join Date
    Apr 2001
    Location
    Paris, France
    Age
    29
    Posts
    442
    so with this it works with ns 4.7 so 6 i hope
    1) add this to template
    before /header

    Code:
    <script language="JavaScript" src="scripts.js"></script>
    2) add this to the same template each time where you want in the template (with a good image)
    each time you add an image with a bbcode be careful about addcode('') you need to put the good action

    Code:
    <img src="img/bbcode/gras" border="0" alt="Mettre le texte en gras : texte"  onMouseUp="addCode('gras')">

    2) open scripts.txt and remplace replier to the name of your textarea (name="" in template)
    3) modify the code as you want (it's in french so don't worry )
    4)save to scripts.js
    5) upload scripts.js to your forum directory
    Last edited by floleb7; Sat 5th May '01 at 8:16am.
     

  7. #7
    Senior Member Streicher has disabled reputation Streicher's Avatar
    Join Date
    Jan 2001
    Location
    Reinbek, Germany
    Posts
    383
    That is really good. Do you know how to make a dropdown field to insert the values directly into the textarea.

    For example a dropdown field with two entries:

    Arrow down and arrow up. And for arrow down insert &darr; and for arrow up &uarr; in the textarea
    Streicher
     

Similar Threads

  1. Template Modification - Parsing Code?
    By N9ne in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 1
    Last Post: Sat 30th Aug '03, 10:07pm
  2. That's the alpha pre-release code?
    By JHung in forum Chit Chat
    Replies: 26
    Last Post: Mon 12th Aug '02, 5:46am
  3. [Release] Email Activate Code
    By Kier in forum Releases: Version 2.x
    Replies: 11
    Last Post: Fri 27th Jul '01, 8:54pm
  4. [release run and test code hack]
    By ztsky in forum Releases: Version 2.x
    Replies: 13
    Last Post: Tue 10th Jul '01, 1:11am

Bookmarks

Posting Permissions

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