Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2013
    Location
    London
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    BBCode Help needed

    Hi all,

    I need to set up a BBCode Structure for a signature... but I have no idea how to do it... Could Anybody help?

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    851
    Thanks
    11
    Thanked 79 Times in 77 Posts
    ☠ ☠RON☠ ☠

  • #3
    0x3
    0x3 is offline
    New Coder
    Join Date
    Sep 2013
    Posts
    37
    Thanks
    0
    Thanked 5 Times in 5 Posts
    There's a couple of ways, i would use javascript, simple regular expressions and string manipulation for example;

    PHP Code:
    var = /d/; // Digit.
    var '1';

    b.replace(a,'one');
    console.log(b); // output one. 
    take the same concept with any standard of bbcode.


  •  

    Tags for this Thread

    Posting Permissions

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