Remember me

Author Message

Przemek Niemczuk

Monday 02 February 2009 1:06:50 am

Is there the possibility of such a configuration eZpublish that there was no need to log in each time you restart the browser. Forum IPB has the option: Remember me - http://www.forum.treningbiegacza.pl//index.php?act=Login&CODE=00. You can not run under eZpublish?

primo

Paul Forsyth

Monday 02 February 2009 7:04:36 am

Hi Przemek,

Yes, this feature is standard in eZ Publish.

You can see this in action in the administration home page.

If you look at the corresponding admin template 'design/admin/templates/user/login.tpl' you can see for yourself the form values needed in your own script to use this feature.

Paul

Przemek Niemczuk

Thursday 05 February 2009 2:35:38 pm


I have the code in the file you provided, but in spite of the fact that he is not seeing it on the results page:

{if and( ezini_hasvariable( 'Session', 'RememberMeTimeout' ), ezini( 'Session', 'RememberMeTimeout' ) )}
    <div class="block">
        <input type="checkbox" tabindex="1" name="Cookie" id="id3" /><label for="id3" style="display:inline;">{"Remember me"|i18n("design/admin/user/login")}</label>
    </div>
{/if}

or something I do not understand: http://treningbiegacza.pl/index.php/ezwebin_site_admin/

primo

Łukasz Serwatka

Thursday 05 February 2009 2:42:33 pm

Hi,

That piece of code will be execute only when site.ini.[Session].RememberMeTimeout setting is set. See settings/site.ini for more details. In your case you have to configure it in settings/siteaccess/ezwebin_site_admin/site.ini.append.php, simply put

[Session]
RememberMeTimeout=3600

Tune RememberMeTimeout value for your needs.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Przemek Niemczuk

Thursday 05 February 2009 2:48:08 pm

Now I have this setting - no value. What should I set?

primo

Łukasz Serwatka

Thursday 05 February 2009 2:49:42 pm

Number of seconds a session cookie will last.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Przemek Niemczuk

Thursday 05 February 2009 2:56:34 pm

It is possible to say for the month?

primo

Norbert Wagner

Thursday 19 February 2009 5:32:47 am

Is it possible to set this to unlimited? 0?
Thanks,
Norbert

Yannick Komotir

Friday 20 February 2009 4:31:32 am

 

     It is possible to say for the month? 
 

yes, the number is in second

for 1 month = 30 x 24 x 60 x 60 = 259200

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

*- pike

Wednesday 23 September 2009 3:28:59 am

Is it possible to set this to unlimited? 0?
Thanks,
*-pike

---------------
The class eZContentObjectTreeNode does.

eZ debug

Timing: Jan 17 2025 23:39:31
Script start
Timing: Jan 17 2025 23:39:31
Module start 'content'
Timing: Jan 17 2025 23:39:32
Module end 'content'
Timing: Jan 17 2025 23:39:32
Script end

Main resources:

Total runtime1.2135 sec
Peak memory usage4,096.0000 KB
Database Queries223

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.1328180.8438
Module start 'content' 0.00671.0530 769.9766759.5000
Module end 'content' 1.05980.1537 1,529.4766340.4453
Script end 1.2135  1,869.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.3971210.0002
Check MTime0.00210.1770210.0001
Mysql Total
Database connection0.00080.062810.0008
Mysqli_queries1.127492.90062230.0051
Looping result0.00240.19372210.0000
Template Total1.183497.520.5917
Template load0.00210.176720.0011
Template processing1.181297.336920.5906
Template load and register function0.00030.025010.0003
states
state_id_array0.00090.073310.0009
state_identifier_array0.00140.115520.0007
Override
Cache load0.00190.1587420.0000
Sytem overhead
Fetch class attribute can translate value0.00150.123870.0002
Fetch class attribute name0.00190.1542120.0002
XML
Image XML parsing0.00200.161670.0003
class_abstraction
Instantiating content class attribute0.00000.0023130.0000
General
dbfile0.00310.2544350.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 34
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs