Results 1 to 5 of 5

A script to unbreak all of the links to threads

This is a discussion on A script to unbreak all of the links to threads within the Feedback forums, part of the General category; I wasn't sure which person I should send this too, so I'll just put it here. Replace /forums/viewtopic.php with this: ...
Page: 1


  1. #1
    Hypnos
    Guest

    Default

    I wasn't sure which person I should send this too, so I'll just put it here.

    Replace /forums/viewtopic.php with this:
    http://pastebin.ca/311684

    It will automaticly redirect anyone who clicks a link to a thread on the old forum, to the thread on the new forum.

    EDIT: Put it up on pastebin since ipb wants to make it a URL, even when it's in a codebox...

  2. #2
    Banned Senior Member
    Join Date
    Mar 2006
    Location
    Kanata eh?
    Posts
    7,163

    Default

    soon the /forums will be changed to the normal /index.php. This was just to setup invision while phpbb was running

  3. #3
    Protoss Arbiter Senior Member
    Join Date
    Mar 2006
    Location
    California
    Posts
    2,296

    Default

    Will do, soon.
    Why do people set the var beforehand <_<

    Why don&#39;t they just do

    Code:
    <?php
    //viewtopic.php by Hypnos
    header("Location: http://www.ko4life.com/forums/index.php?showtopic=" . $_GET[&#39;t&#39;]);
    ?>
    So much simpler :<

  4. #4
    Hypnos
    Guest

    Default

    Because then typos, like forgetting to put "Location: " are easier to see.

  5. #5
    Protoss Arbiter Senior Member
    Join Date
    Mar 2006
    Location
    California
    Posts
    2,296

    Default

    Because then typos, like forgetting to put "Location: " are easier to see. [/b]
    /emo

Bookmarks

Posting Permissions

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