Welcome Back - Good Bye [New Look For Curve Theme]

Started by islam2hamy, September 20, 2008, 01:01:44 PM

Previous topic - Next topic

islam2hamy

Quote from: senyorito on September 23, 2008, 08:55:55 PM
I've tested it on SMF 1.1.5.
ok I've tested it on SMF 1.1.5,
and it is work very good!

what is your theme name??
if the theme have his own language file ,
don't forget to copy this code in the end of the file.

$txt['welcome_1'] = 'welcome back';

$txt['welcome_2'] = 'You will be auto redirect to the home page.';

$txt['welcome_3'] = 'If your browsers did not support auto redirect , click';

$txt['welcome_4'] = 'Here';

$txt['welcome_5'] = 'Good Bye';

$txt['welcome_6'] = 'See you later.';

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito

Bro, I'm only using the default theme for my test sites.  And yes I know what to do with the $languagedir if ever necessary. 

Btw, in most cases, custom themes are using the default $languagedir.

I've tested your mod to 1.1.6, and 2.0 Beta 4 and it works well there.  But with 1.1.5, naah.  Even on a fresh installed 1.1.5.

islam2hamy

Quote from: senyorito on September 24, 2008, 12:12:52 PM
Bro, I'm only using the default theme for my test sites.  And yes I know what to do with the $languagedir if ever necessary. 

Btw, in most cases, custom themes are using the default $languagedir.

I've tested your mod to 1.1.6, and 2.0 Beta 4 and it works well there.  But with 1.1.5, naah.  Even on a fresh installed 1.1.5.
mmm, ok

i tested it with a fresh installed 1.1.5 , and it is work good ,
can you attach the LogInOut.php file for your forum

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito


matasanos


islam2hamy

Quote from: senyorito on September 24, 2008, 02:38:00 PM
Here bro...

(zip file)

ok bro...
i found the problem the problem was because you are use the  mode FORCE TOPIC READ ON LOGIN

i fixed the file,
download it from attach.

Quote from: matasanos on September 24, 2008, 03:27:51 PM
all works fine for me

thanks!!

you are welcome.

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito

Bro, I've got both running at the same time in 1.1.6 and it has no problem.  We're only talking of 1.1.5 bro.  I've tried to uninstall and delete FORCE TOPIC READ ON LOGIN but to no avail on 1.1.5.

islam2hamy

Quote from: senyorito on September 25, 2008, 12:11:22 AM
Bro, I've got both running at the same time in 1.1.6 and it has no problem.  We're only talking of 1.1.5 bro.  I've tried to uninstall and delete FORCE TOPIC READ ON LOGIN but to no avail on 1.1.5.

don't uninstall it , only replace the file that i am attached up.

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito

^ I've tried bro... still the same.

islam2hamy

ok if you don't need the FORCE TOPIC READ ON LOGIN mod

replace your attach file (zip) and remove the mod

after that install my mode

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito

Already done... no miracle happened.

islam2hamy

attach the new LogInOut.php  file please.

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito

Ok.  I removed the MOD (FORCE TOPIC READ ON LOGIN) and deleted it from the package manager.

Then, I installed your MOD.  Nothing good happened.

Then, I followed what you did to my LogInOut.php by adding the following:

FIND:
// Set the login URL - will be used when the login process is done.
if (isset($_SESSION['old_url']) && preg_match('~(board|topic)[=,]~', $_SESSION['old_url']) != 0)
$_SESSION['login_url'] = $_SESSION['old_url'];
else
unset($_SESSION['login_url']);


ADD AFTER:

redirectexit('action=login3');


AND,

FIND:
redirectexit($temp, $context['server']['needs_login_fix']);


REPLACE WITH:
redirectexit('action=logout3', $context['server']['needs_login_fix']);


Result = still the same.

I attached the modified LogInOut.php with added codes.

islam2hamy


Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito

Just like what I've said bro, after uninstalling and deleting FORCE TOPIC READ ON LOGIN, I installed your mod and nothing good happened.  It seems that the attached file is just the same with the regular installation of the MOD without any other modification.  Anyhow, I've uploaded and applied it... still the same.

Earlier, I've tried to install your MOD in a fresh installed SMF 1.1.5.  No other MODS are being installed except your MOD and yes, it works properly.  It seems to me that your MOD need to be installed first before installing the other MODs to avoid conflict to one another (though I'm not 100% sure by that, but that is how I see it).

The following are my test sites:

http://remus.isgreat.org/index.php (SMF 1.1.5) -- Here, I've already removed the other MOD installed, and yet, your MOD couldn't work properly.  There were 10 other MODs installed to this test site prior to the installation of your MOD.

http://smf-115.isgreat.org/index.php (SMF 1.1.5) -- This one is a fresh installed SMF 1.1.5 test site.  Your MOD works here properly even I've already modified your mod to my needs.

islam2hamy

may be the error in the (index.php) file ?

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





senyorito

I don't know bro.  It's kinda weird you know, because I've already removed the other MODs installed and yet, it doesn't work.

sadachannu

 :( :( :( :'( :'( i installed this mod but facing problems now . i cannot login to my admin panel due to lissing of login2.php file.

martrek

Spanish translation :)

Quote
$txt['welcome_1'] = 'Bienvenido de nuevo';

$txt['welcome_2'] = 'Serás redireccionado automáticamente a la página principal.';

$txt['welcome_3'] = 'Si tu explorador no soporta la auto redirección, haz click aquí';

$txt['welcome_4'] = 'Aquí';

$txt['welcome_5'] = 'Adiós';

$txt['welcome_6'] = 'Nos vemos luego.';
SMF 2.0 RC3

islam2hamy

#39
Quote from: sadachannu on September 27, 2008, 07:16:08 AM
:( :( :( :'( :'( i installed this mod but facing problems now . i cannot login to my admin panel due to lissing of login2.php file.

were is the login2.php file and what is wrong in it??

Quote from: martrek on September 27, 2008, 07:41:00 AM
Spanish translation :)

Quote
$txt['welcome_1'] = 'Bienvenido de nuevo';

$txt['welcome_2'] = 'Serás redireccionado automáticamente a la página principal.';

$txt['welcome_3'] = 'Si tu explorador no soporta la auto redirección, haz click aquí';

$txt['welcome_4'] = 'Aquí';

$txt['welcome_5'] = 'Adiós';

$txt['welcome_6'] = 'Nos vemos luego.';

(spanish_es) or (spanish_latin)  ??

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Advertisement: