News:

Wondering if this will always be free?  See why free is better.

Main Menu

Default Session Length

Started by Matthew K., December 23, 2009, 10:34:14 AM

Previous topic - Next topic

John1

Can you narrow down where the edits are missing ?
The only thing i didnt add is the code for the language/index.english.php.

Could that be the cause ?

Secondly, all the errors are originating from google servers..
what does that mean ?

Matthew K.

There should be three edits being made in Login.template.php.

And no, language files would have nothing to do with a template file shooting an error.

I am not sure how spiders would change any effect of this mod.

John1

Well all the edits are there now. Let me also point out that i use the simple portal login system.

Which still has the "forever" session drop down on it.
Could that be the problem ?

Matthew K.

It shouldn't be a problem...did you re-install Default Session Length?

iPhoneDestek

translation in turkisch




<file name="$languagedir/Help.turkish.php">
<operation>
  <search position="end" />
   <add><![CDATA[
// Default Session Length Mod translation by SirtLanVadisi.net
    $helptxt['default_session_time'] = 'Üyenin varsayılan oturum süresini sağlar . <span style="font-weight: bold;">Bu alanda dakika geçer</span><span style="font-style: italic;"><br /><br />Sonsuza kadar boş bırakınız veya 0 olarak set aktif kalma süresini belirleyin.</span>';
// End Default Session Length Mod translation by SirtLanVadisi.net
   ]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.turkish.php">
<operation>
  <search position="end" />
   <add><![CDATA[
// Default Session Length Mod translation by SirtLanVadisi.net
    $txt['default_session_time'] = 'Varsayılan Oturum Süresi';
// End Default Session Length Mod translation by SirtLanVadisi.net
   ]]></add>
</operation>
</file>
<file name="$languagedir/index.turkish.php">
<operation>
  <search position="end" />
   <add><![CDATA[
// Default Session Length Mod translation by SirtLanVadisi.net
    $txt['quick_login_dec'] = 'Giriş için Kullanıcı Adınız ve Şifreniz';
// End Default Session Length Mod translation by SirtLanVadisi.net
   ]]></add>
</operation>
</file>



$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Matthew K.

Thank you very much Sirt! :) I will be sure to add it in the upcoming version.

Do you mind if I take your name out of the code? I tend to label all of my code the same way. If that's okay with you, I will add your name in the readme and description.

Matthew K.

Default Session Length Updated to Version 1.4. Now supports both SMF 1.1.12 as well as SMF 2.0 RC4.

Motardist

Hi,

Is there an update planned for this mod, I tried it on RC5 and no go?

Great mod, but I need to move up from 1.1.13 real soon.

Thanks

Matthew K.

Eventually, I do plan on going back through my mods and updating them. Definitely when 2.0 is released, if not before. Did you try using Version Emulate? I don't see how there would be conflicts here.

Aportadordelmix


Matthew K.


Aportadordelmix

Quote from: Labradoodle-360 on February 25, 2011, 01:11:02 AM
Not sure by what you mean...

Yes you can edit my Login.templete.php not find most of the codes to edit the mod?

Matthew K.

Just find all instances of "cookeLength" in Login.template.php and see what I do with those instances in the default template.

Aportadordelmix

Quote from: Labradoodle-360 on February 25, 2011, 01:28:59 AM
Just find all instances of "cookeLength" in Login.template.php and see what I do with those instances in the default template.

This code is not in my file:
cookeLength

I can not find the codes that the mod needs to function.  ???

Matthew K.


Aportadordelmix

Quote from: Labradoodle-360 on February 25, 2011, 01:33:45 AM
I apologize. "cookielength"
Thanks
Quote
    Set Default Login Session Length


What value do I use it?

Matthew K.

Take a peak at what I find and replace for Login.template.php.

Aportadordelmix

Quote from: Labradoodle-360 on February 25, 2011, 01:44:26 AM
Take a peak at what I find and replace for Login.template.php.
Solved  ;D

Matthew K.


Motardist

Quote from: Labradoodle-360 on February 24, 2011, 07:27:24 PM
Eventually, I do plan on going back through my mods and updating them. Definitely when 2.0 is released, if not before. Did you try using Version Emulate? I don't see how there would be conflicts here.
Yes I installed it (twice now) under RC4 emulation, there were no error messages and I have a field in miscellaneous to enter the default value, problem is the message still asks for the session length (Login with username, password and session length).

Also when I'm sent to login from the gallery bridge I get the offer (Always stay logged in:)

Not sure I can do anything more as not got the knowledge, will wait for the final.

Thanks

Advertisement: