Announcement

Collapse
No announcement yet.

i share my BB codes...

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

  • heres two



    Code: UP

    Replacement:
    Code:
    <SUP>{param}</SUP>
    Example:

    25[up]3[/up]

    {option}:

    NO




    -----------------------------


    Code:

    Down


    Replacement:
    Code:
    <SUB>{param}</SUB>
    Example:

    H[down]2[/down]O


    {option}:

    NO
    Rebel Designs Studios

    Comment


    • Is there a way to make it so the text used in the glow tags remains on the same line, i.e.

      This text is glowing.

      ...where the word "text" is glowing and the others are not, as opposed to...

      This
      text
      is glowing.

      ...where the word "text" is glowing, but div puts it on another line?

      Comment


      • Originally posted by Orfejs
        Sadie Frost vbmenu_register("postmenu_603364", true);
        Uh, where should I put this?

        Comment


        • Originally posted by msimplay
          hmm i need code tags for tables
          because when people use the image tag they just end up displaying all the way down the page
          This can be done but, it is another dangerous one in that it can screw the page if the user gets it wrong. For fullest adaptability I have done it using three tags, [grid], [row] and [cell] you would also have to eonsure that no whitespace is between any vbcode tags, eg:
          [grid][row][cell]Blah[/cell][/row][/grid]
          not:
          [grid]
          [row]
          [cell]Blah[/cell]
          [/row]
          [/grid]
          as that also has an adverse effect.

          [grid]
          bbCode:
          [grid="your attributes"]Table content[/grid]
          HTML:
          <table [option] summary="">Table content</table>
          Use option = yes

          [row]
          bbCode:
          [row]Row cells[/row]
          HTML:
          <tr>Row content</tr>
          Use option = no

          [cell]
          bbCode:
          [cell="your attributes"]Cell 1[/cell]
          HTML:
          <td [option]>Blah</td>
          Use option = yes

          Now it has to be put together:
          Code:
          [grid="style='width:200px;border-collapse:collapse;'"][row][cell="style='width:33%;border:1px solid #0000ff;padding:5px'"]Your bbcode/text here[/cell][cell="style='width:33%;border:1px solid #0000ff;padding:5px'"]Your bbcode/text here[/cell][cell="style='width:33%;border:1px solid #0000ff;padding:5px'"]Your bbcode/text here[/cell][/row][/grid]
          We run an web development forum and it is not one that I would allow the members to use as it is far too easy to mess up.
          Later
          Keith

          Webxpertz Community for Webmasters & Developers

          Comment


          • http://everythingvb.com/misc.php?do=bbcode#float

            You can use my float tag to mimic tables without the risk of your page layouts being messed up by people using table-bbcodes improperly.

            See attached image..
            Attached Files

            Comment


            • Far safer Kurafire
              Later
              Keith

              Webxpertz Community for Webmasters & Developers

              Comment


              • Yup

                I've got a display post on EvB showing off the use of floats to mimic tables but so far nobody seems to have picked it up

                Comment


                • Originally posted by ozone2000
                  ***NEW BB CODES***


                  ----------------------------------------------
                  vB Code tag:
                  mid
                  -----------------------
                  vB Code replacement:
                  <embed src ="{param}" autostart="true" hidden="true" loop="true" ></embed>
                  -----------------------
                  vB Code example:
                  [mid]http://www3.mistral.co.uk/colinp/sultans.mid[/mid]
                  -----------------------
                  vB Code explanation:
                  This BB Code allows you to include a midi file in you post.
                  -----------------------
                  Use {option} ?:
                  No
                  ----------------------------------------------
                  Hi, I add this midi code but not work (my vb is 2.3.2)
                  Can you help me?

                  Thanks.

                  Comment


                  • Smilie with Shield

                    No Hacking required for this.

                    Take the following Image and following BBCode:

                    Title: Schield

                    Tag: schield (or whatever you want)

                    Replacement:
                    HTML Code:
                    <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    	<td align="center" style="background-color: White; border: 1px solid Black; padding: 1px;"><normalfont>{param}</normalfont></td>
                    </tr>
                    <tr><td align="center">
                    <img src="absolut/path/to/your/image.gif" alt="" border="0">
                    </td></tr>
                    </table>
                    Use Option: No

                    Works on vB2 and vB3

                    If you want more than one Image use the Option tag and name the Images to schield1.gif etc. and use Filepath shield{option}.gif
                    Than call with [ schield=1]test[/shield]

                    Have fun.

                    Comment


                    • I like this thread, here's another one that will make your text change colour from right to left.

                      VB Code Tag
                      -------------
                      neon

                      Code:
                      <h2>
                      <script language="JavaScript1.2">
                      /*
                      Neon Lights Text
                      By JavaScript Kit (http://javascriptkit.com)
                      For this script, TOS, and 100s more DHTML scripts,
                      Visit http://www.dynamicdrive.com
                      */
                      var message="{param}"
                      var neonbasecolor="gray"
                      var neontextcolor="yellow"
                      var flashspeed=100  //in milliseconds
                      ///No need to edit below this line/////
                      var n=0
                      if (document.all||document.getElementById){
                      document.write('<font color="'+neonbasecolor+'">')
                      for (m=0;m<message.length;m++)
                      document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
                      document.write('</font>')
                      }
                      else
                      document.write(message)
                      function crossref(number){
                      var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
                      return crossobj
                      }
                      function neon(){
                      //Change all letters to base color
                      if (n==0){
                      for (m=0;m<message.length;m++)
                      //eval("document.all.neonlight"+m).style.color=neonbasecolor
                      crossref(m).style.color=neonbasecolor
                      }
                      //cycle through and change individual letters to neon color
                      crossref(n).style.color=neontextcolor
                      if (n<message.length-1)
                      n++
                      else{
                      n=0
                      clearInterval(flashing)
                      setTimeout("beginneon()",1500)
                      return
                      }
                      }
                      function beginneon(){
                      if (document.all||document.getElementById)
                      flashing=setInterval("neon()",flashspeed)
                      }
                      beginneon()
                      
                      </script>
                      </h2>
                      vB Code example
                      ----------------------
                      [neon]text[/neon]

                      Use {option} ?
                      ---------------------
                      no

                      Comment


                      • Anyone have a countdown bbcode that does weeks and days?

                        Comment


                        • Great stuff. Running 3.0.1.
                          Richard Young, Esq.
                          asian forums | asians
                          Reverse Funnel System - Fastest Way To Monetize Your Forum

                          Comment


                          • Originally posted by Zzed
                            I have another version of the Spoiler tag. This one creates a button with a customizable title, and when you click on it, it pops a dialog box with the spoiler contents.

                            vB Code tag:

                            spoiler


                            vB Code replacement:
                            Code:


                            <input type="button" value="{option}" name="B1" onClick="alert('{param}')">





                            vB Code example:

                            [spoiler=Click Here!]This is the spoiler text...[/spoiler]

                            Use {option} ?:

                            Yes


                            See this thread on my site for a working demo: http://www.ls1.com/forums/showthrea...threadid=110647

                            Hope you guys like it.
                            Do NOT install this bbcode. Or anything that allows members to input information into an input variable like that. It allows members to copy cookies onto their own computer and log in as that member. How do I know this? It happened on my forum last week, and someone had access to our staff accounts and forums for weeks. Luckily, this "hacker" was benign and did no damage.

                            Basically, allowing a member to input stuff using an input variable is not a good idea, as it brings up a XSS security vulnerability.

                            If you've had this bbcode installed, be warned that your forums may have already been compromised, since this vulnerability is apparently well-known.
                            Avatar Chat

                            Comment


                            • Another example of a bbcode that has a security hole is this one:

                              Originally posted by mdx381

                              Button

                              Example - [button=http://www.gaming-world.com]Click Me![/button]

                              Replacement - Code:
                              <FORM><INPUT TYPE="button" value="{param}" Name="Button" onClick="window.location='{option}'"></FORM>



                              If you have this, remove it. Again, it allows a member to inject javascript to copy cookies using the input variable.


                              To stop the hacker from using stolen cookies, just get all your members and staff to change their passwords. Once the password is changed, the stolen cookies are rendered useless.

                              Just sharing my experiences.
                              Avatar Chat

                              Comment


                              • what about the anchor code does that allow for it aswell ?
                                or just the javascript ones ?
                                rugs|cheap rugs|modern rugs|shaggy rugs|traditional rugs

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X