Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2005
    Posts
    2,444
    Tokens
    0

    Latest Awards:

    Default Whats the redirect code?

    Hey,

    What's the re-direct code to redirect a site in BB Code please?

    +rep to whoever

    Thanks

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    There is no "BB code" way to redirect. In php:

    PHP Code:
    header("Location: http://yoursite.com/yourpage.php"); 

  3. #3
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    I didnt know you could do a redirect in BBcode .. Learn something new every day..
    Last edited by Sam; 12-10-2006 at 03:17 PM.

  4. #4
    Join Date
    Apr 2005
    Posts
    2,444
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Organised View Post
    There is no "BB code" way to redirect. In php:

    PHP Code:
    header("Location: http://yoursite.com/yourpage.php"); 
    I mean code that will work in a vBulletin template to redirect a forum?

  5. #5
    Join Date
    Oct 2006
    Posts
    602
    Tokens
    0

    Default

    What about the codes on the websites I need that one

  6. #6
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    You could use a META redirect on vbulletin or just on your site.

    For the meta you'll need to do something like this..

    <meta HTTP-EQUIV="REFRESH" content="0; url={param}">

    I think it's {param}. Should be quite easy. Then you'd just type your url and wrap it in [redirect] tag's or whatever you called it.

  7. #7
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    BBCode isn't a language, it's used on forums etc. when users are not allowed to submit their own HTML. BBCode is parsed and turned into HTML once submitted; I doubt there's a "redirect BB Code" specified, therefore you'll need to use HTML/JavaScript.
    HTML Code:
    <script type="text/javascript">
    <!--
    setTimeout("document.location.href='URL here'", 10000);
    -->
    </script>
    Edit: If you're looking for a redirect script so you can supply users with a "Redirect BBCode", I suggest you do not use JavaScript.
    Last edited by nets; 12-10-2006 at 04:11 PM.
    kinda quit.

  8. #8
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    http://img179.imageshack.us/my.php?i...6171920li4.png

    Tried and tested

    Just enter into BBCode manager on vbulletin that, you might want to change 0 to 3-5 but it's up to you.
    Last edited by RYANNNNN; 12-10-2006 at 04:20 PM.

Posting Permissions

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