+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Allow users to stay signed in not workin

  1. #11
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    Quote Originally Posted by Viktor View Post
    Hello Sahap Gezer,

    Please take my code and put to file: ftp://templates>>your_template>>tpl>>blocks>>user_navbar .tpl

    find: <span class="links"> at line ~47
    and add code above:
    Code:
    Only registered members can view the code.
    hello viktor

    craigslist template ?

  2. #12
    This is for Sahap Gezer because he is using general wide template. But I saw craigslist template and you can try to use it there also.

    Yakup let me know about results.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #13
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    <!-- user navigation bar -->

    <span class="circle{if $isLogin} logged-in{/if}{if $new_messages} notify{/if}" id="user-navbar">
    <span class="default">{if $new_messages}<span class="count">{$new_messages}</span>{/if}</span>
    <span class="content {if $isLogin}a-menu{/if} hide">
    {if $isLogin}
    <ul>
    {foreach from=$account_menu item='mItem'}
    {if $mItem.Key == 'my_messages' && !$config.messages_module}{continue}{/if}
    <li class="{if $page == $mItem.Path}active {/if}{if $mItem.Key == 'my_messages' && $new_messages} messages{/if}">
    {if $mItem.Key == 'my_messages' && $new_messages}
    <span class="counter" title="{$lang.new_message_available|replace:'[count]':$new_messages}">{$new_messages}</span>
    {/if}
    <a class="font2" title="{$mItem.title}" href="{if $mItem.Page_type == 'external'}{$mItem.Controller}{else}{$rlBase}{if $config.mod_rewrite}{if $mItem.Path != ''}{$mItem.Path}.html{$mItem.Get_vars}{/if}{else}{if $mItem.Path != ''}?page={$mItem.Path}{$mItem.Get_vars|replace:'?' :'&'}{/if}{/if}{/if}">{$mItem.name}</a>
    </li>
    {/foreach}
    <li><a class="font2 logout" title="{$lang.title_logout}" href="{$rlBase}{if $config.mod_rewrite}{$pages.login}.html?action=log out{else}?page={$pages.login}&amp;action=logout{/if}">{$lang.logout}</a></li>
    </ul>

    {rlHook name='tplAfterAccountMenu'}
    {else}
    {include file='blocks'|cat:$smarty.const.RL_DS|cat:'login_m odal.tpl'}
    {/if}
    </span>
    </span>

    <!-- user navigation bar end -->
    user_navbar .tpl-- There is no <span class="links">

  4. #14
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    hello viktor it does not work..

  5. #15
    Hello Yakup,

    Excuse me for template craglist: open file: ftp://templates>>your_template>>tpl>>blocks>>login_modal .tpl
    and and code above tag </form>
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #16
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    Codes already in there

    not working

  7. #17
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    i have the simple template and the code you showed is already in use, so can you tell me is it supposed to stay connected when I re open from the night before because now it does not / nothing like any other stay connected site ? does stay connected in flynax have different rules ?

  8. #18
    Hello All,

    Open file: ftp:includex>>controllers>>login.inc.php
    find code:
    PHP Code:
    Only registered members can view the code
    next 2 lines should be:
    PHP Code:
    Only registered members can view the code
    Then please check method 'login' in file: ftp://includes>>classes>>rlAccount.class.php

    please check your first line of method and mine:
    PHP Code:
    Only registered members can view the code
    then after line: $this -> synchronizeFavorites();

    check code:
    PHP Code:
    Only registered members can view the code
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #19
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    hello viktor

    There are all codes


    not working

  10. #20
    Master
    Join Date
    Nov 2015
    Location
    calisyapiemlak.com.tr
    Posts
    236
    FlyNax demo does not work on web site

+ Reply to Thread