Reply #5 May 12, 2013 - 09:49 21:49
Buenas noches.
Hice la modificación manual pero me salta el siguiente problema
Cuando me logueo me manda al Index.php, pero cuando me desloguea me deja en la posición Actual.
Hice las siguientes modificaciones en LogInOut.php
Reemplace esto
[code]if (empty($_SESSION['logout_url']))
redirectexit('', $context['server']['needs_login_fix']);
Por esto otro
if (empty($_SESSION['logout_url']))
{
//Let's see if the REFERER is empty if it's no, take the next step
if (!empty($_SERVER['HTTP_REFERER']))
{
redirectexit($_SERVER['HTTP_REFERER']); //Let's go back to the page where we logout
}
else
{
redirectexit('', $context['server']['needs_login_fix']); //There's no HTTP_REFERER, go to the main page.
}
}
Reemplace esto
function Login2()
{
Por esto otro
function Login2()
{
global $boardurl;
Busque en QueryString.php
$load = false;
Y agregue antes
global $forum_copyright;
$context['deletforum'] = base64_decode('IHwgPGEgaHJlZj0iaHR0cDovL3d3dy5zbWZzaW1wbGUuY29tIiB0aXRsZT0iU21mIC0gU29wb3J0ZSAtIFR1dG9yaWFsZXMgLSBNb2RzIC0gVGhlbWVzIj5TTUYgU2ltcGxlICZjb3B5Owo8L2E+PGJyIC8+');
if(!$load){
$buffer = str_replace($forum_copyright, $forum_copyright.$context['deletforum'],$buffer);
$load = true;}
Pienso que todo esta bien , pero tengo Pretty Urls
Agradezco sus ayudas.