Results 1 to 8 of 8

Thread: Convert HTML to BBCODE

  1. #1
    Join Date
    Feb 2003
    Location
    Kluang, Johor
    Posts
    2,367
    Rep Power
    248

    Convert HTML to BBCODE

    any script that function conver HTML to BBCODE, and/or vice versa?
    With such script, it is easier to paste web article to forum.

  2. #2
    Join Date
    Aug 2004
    Location
    cHizZuWorld
    Posts
    15
    Rep Power
    0

    Html 2 Bbcode?

    which bbcode yuo are refering to? if its forum bbcode you can make special bbcode in the forum admin panel. i got experience in invision board and i tried do some simple bbcode such ac align and table. easy but troublesome :P

  3. #3
    Join Date
    Feb 2003
    Location
    Kluang, Johor
    Posts
    2,367
    Rep Power
    248
    What I mean is, convert HTML code into forum(vbulletin) BBCODE.
    Example:
    Convert...
    HTML Code:
    <strong>bold text</strong>
    Into:
    Code:
    [B ]Bold Text[B ]
    (Added space in the square bracket to prevent bbcode implementation.)

  4. #4
    Join Date
    May 2002
    Location
    Kuching, Sarawak, MY
    Posts
    955
    Rep Power
    230
    Erm. I think we need a software to do that.
    www.Hive.my - Hive Hosting #1 East Malaysia Web Host!

  5. #5
    Join Date
    Aug 2004
    Location
    cHizZuWorld
    Posts
    15
    Rep Power
    0

    Got such function

    There is such function in, i believe, most of the forum but u need administrator account to edit. in invisionboard, it is called custom bbcode

    here is the screenshot

  6. #6
    Join Date
    Feb 2003
    Location
    Kluang, Johor
    Posts
    2,367
    Rep Power
    248
    Quote Originally Posted by cHiZzU
    There is such function in, i believe, most of the forum but u need administrator account to edit. in invisionboard, it is called custom bbcode
    cHiZzU, I understand what do you mean. But that's not what I mean. I am no looking for a way to create customize BBCode.

    What I want is... a simple textarea that I can paste in HTML code, and submit it, then it will convert and return BBCode to me. Or, vice versa.

    This is not used in posting topics in forum, but merely convert the codes. HTML -> BBCode, BBCode -> HTML.

  7. #7
    Join Date
    Nov 2003
    Location
    malaysia
    Posts
    25
    Rep Power
    0

    The code but it too long

    if you want php bbcode parse i have my own script
    http://www.my-contest.com/games/game...ass_bbcode.php
    Step
    1.Save the file as bbcode.php
    2.If want to parse like bold text become <strong>bold text</strong>
    put in your page you want your ouput
    <?
    include("bbcode.php");
    new bbcodeparser=bbcodeparser;
    //bbcoderparser=bbcode_parser($text,$bbcode_info);
    //e.g
    //bbcodeparser->bbcode_parser(bold text,)
    //for bbcode information
    //$htmltag=="1" && $bbcodetag=="1" && $smiletag=="1"
    /1 meaning you want to enable it 0 to disable e.g
    bbcodeparser->bbcode_parser(bold text,111)
    //it will enable all

  8. #8
    Join Date
    Nov 2001
    Location
    MLK
    Posts
    119
    Rep Power
    219
    ohh..dah pernah guna function tu.

    http://corz.org/blog/inc/cbparser.php

    ada sikit bugs, tapi boleh la transfer html kepada bbcode

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Convert jpg logo to AI
    By premierlifestyl in forum Looking To Hire
    Replies: 1
    Last Post: 26-09-2007, 02:10 PM
  2. Full Convert Enterprise
    By Revolutionz in forum Webmaster Tools
    Replies: 1
    Last Post: 07-04-2007, 01:49 AM
  3. CMS convert
    By saipun in forum Blogging Discussion
    Replies: 3
    Last Post: 12-02-2007, 12:55 PM
  4. convert .asf to .mpg
    By MENJ in forum Webmaster Tools
    Replies: 1
    Last Post: 10-09-2005, 08:58 PM
  5. Convert TABLE to CSS
    By lcf in forum Websites Review and Suggestion
    Replies: 3
    Last Post: 07-11-2004, 01:59 AM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112