UBB.Dev
Posted By: Astaran [6.x] Redirected index.php - 02/16/2003 1:26 PM
If you wanna get rid of the "Go here" link that occurs when trying to access your threads directory, simply replace the content of the index.php with this:

<?php
// Require the library
require ("main.inc.php");
header("Location: {$config['phpurl']}/ubbthreads.php");
?>
Posted By: JustDave Re: [6.x] Redirected index.php - 02/16/2003 1:32 PM
Thanks Astaran.

This is one of them things I have been meaning to post but never seemed to think of it till after I'm away from the keyboard. LoL now I don't have to think about it.
Posted By: JoshPet Re: [6.x] Redirected index.php - 02/16/2003 1:43 PM
Added here:

https://www.ubbdev.com/threads/php/index.php

If anyone wants to see what it does.

Good thinking. Should be standard.
Posted By: Astaran Re: [6.x] Redirected index.php - 02/16/2003 1:44 PM
Yeah, im using it since version 5.x and never posted it also.
I'm afraid, i need someone who documents all the hacks i have done so far. There are several ones i'd like to share but i have no time towrite up a foolproof documentation.

Any, volunteers?
Posted By: JustDave Re: [6.x] Redirected index.php - 02/16/2003 1:47 PM
I think Josh just stepped out. LoL

/me trys to look occupied...
Posted By: JoshPet Re: [6.x] Redirected index.php - 02/16/2003 1:50 PM
He he.... I'm always happy to document cool stuff if I can figure it out. LOL
Posted By: Astaran Re: [6.x] Redirected index.php - 02/16/2003 1:54 PM
Maybe i should come up with a list of hacks and you decide weather they are cool or not?
Posted By: Dalantech Re: [6.x] Redirected index.php - 02/16/2003 11:19 PM
Excellent!
Posted By: AllenAyres Re: [6.x] Redirected index.php - 02/17/2003 5:34 AM
thanks astaran
Posted By: donJulio Re: [6.x] Redirected index.php - 03/15/2003 9:45 PM
If I replace "ubbthreads.php" with "categories.php" on the 4th line, will it take me to that page instead?
Posted By: JoshPet Re: [6.x] Redirected index.php - 03/15/2003 10:00 PM
Yup... you can put whatever script you want there.
Posted By: donJulio Re: [6.x] Redirected index.php - 03/18/2003 6:50 AM
Cool!
© UBB.Developers