Welcome, Guest. Please Login or Register.
November 07, 2024, 10:35:53 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Redirected « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: Redirected  (Read 1212 times)
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Redirected
« Reply #15 on: April 11, 2003, 02:31:49 AM »
Reply with quote

Workaround the problem by editing your template.php and Settings.php offline.
Logged

Boy M
Jr. Member
**
Posts: 57


****Sensor****

WWW
Re:Redirected
« Reply #16 on: April 11, 2003, 12:27:19 PM »
Reply with quote

What exactly do I have to do then? I'm a noob at YaBB..
Logged

Before posting please search
Oh, and a simple "thank you" goes a long way.
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Redirected
« Reply #17 on: April 11, 2003, 10:07:37 PM »
Reply with quote

I have the mod, In a zip file. I will have a url in a bit.
Logged

king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Redirected
« Reply #18 on: April 11, 2003, 10:12:00 PM »
Reply with quote

Here it is:
http://members.lycos.co.uk/yourkilla/yabbse/attachments/lycos_1.4.1.mod

It won't be there for long, it is in my attachments folder :P
Logged

Boy M
Jr. Member
**
Posts: 57


****Sensor****

WWW
Re:Redirected
« Reply #19 on: April 12, 2003, 10:08:21 AM »
Reply with quote

Thank you very much, but I helped it out without a mod already :)

For the other people who uses lycos too, this is what you have to do:

Download the index.php file on your hard disk and search for this code:


$dbcon = mysql_connect($db_server, $db_user, $db_passwd);
mysql_select_db($db_name);


And replace it with this:

$tempxyz = 0;
$dbcon = false;
while (tempxyz < 5 and !$dbcon) {
$dbcon = mysql_connect($db_server, $db_user, $db_passwd);
$tempxyz++;
}
mysql_select_db($db_name);



This was it for the index.php. Now download the subs.php file (found in /Sources/) and search for this:


function redirectexit (){
  global $yySetLocation;
  header("Location: ".str_replace(" ","%20",$yySetLocation));
  obExit();
}


And replace with this:

function redirectexit (){
  global $yySetLocation;
  print <<<eot
<html>
<head>
<script language="JavaScript">
<!-- Begin
location.href="$yySetLocation"
//  End -->
</script>
</head>
<title>YaBB Redirect</title>
</head>
<body>
 Redirect naar $yySetLocation
 <br>
 Klik <a href="$yySetLocation">hier</a> als dit niet vanzelf gebeurd.
</body>
</html>
eot;
  obExit();
}


It worked fine for me! (I use YaBBSE 1.5.1)

Thanks for all the help anyway!!!
Logged

Before posting please search
Oh, and a simple "thank you" goes a long way.
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Redirected
« Reply #20 on: April 12, 2003, 10:18:31 AM »
Reply with quote

Quote from: king_killa on April 11, 2003, 10:07:37 PM
I have the mod, In a zip file. I will have a url in a bit.
Great! Thanx  8)
I've attached the mod to this topic
« Last Edit: April 12, 2003, 10:19:17 AM by Compuart » Logged

king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Redirected
« Reply #21 on: April 12, 2003, 03:05:04 PM »
Reply with quote

No problem
Logged

Boy M
Jr. Member
**
Posts: 57


****Sensor****

WWW
Re:Redirected
« Reply #22 on: April 14, 2003, 01:11:43 PM »
Reply with quote

BTW, this mod is for 1.4.1...
I'm using 1.5.1..
Logged

Before posting please search
Oh, and a simple "thank you" goes a long way.
king_killa
Full Member
***
Posts: 132


king killa big wheela cat peela

WWW
Re:Redirected
« Reply #23 on: April 14, 2003, 09:41:32 PM »
Reply with quote

yes, but it is easy to install manualy
Logged

Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Redirected « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.067 seconds with 21 queries.