Show whos was onlune but not who is online????

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Show whos was onlune but not who is online????

Post by FiB on Mon Jun 01, 2015 4:11 pm

Is there anyway I can still show who was online in the last 24hours but not show who is on line presently?


FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Mon Jun 01, 2015 4:27 pm

I am sure there is a way. What exactly did you have in mind?

Do you have any code for this currently?

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Mon Jun 01, 2015 4:45 pm

I want to get rid of what highlighted red. I don't have any code at all Sad


FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Mon Jun 01, 2015 5:11 pm

Hmmm... A code will need to be developed then, unless I can look around and find one. I am not that good with developing an entire code yet though, so if I can't find anything, we should see what @Ikerepcs thinks.

I will look around and see if I can find anything. If you find anything that might help please let us know as well. Smile

-Brandon

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Mon Jun 01, 2015 5:39 pm

Ok Brandon Cheers

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Thu Jun 04, 2015 12:54 pm

@The Flash Do you think you could create a code for something like this?

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by Sir.Mayo on Fri Jun 05, 2015 3:40 am

Hello,


What is your forum version?


The following worked for me:

GOTO

ACP> Display> Templates > general >index_body

Edit that template and find

Code:
   {L_ONLINE_USERS}

and remove it.

Pres save, then publish the template.
avatar
Sir.Mayo
New member

Posts : 4
Pts : 5
Reputation : 1
Join date : 2015-05-11
Location : USA
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Fri Jun 05, 2015 9:05 am

phpbb2 can't find
Code:
{L_ONLINE_USERS}

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by Sir.Mayo on Fri Jun 05, 2015 9:15 am

Have you tried this?

Display>Generalities
Display list of connected members during last 12* hours :Yes
Period in hours : 24
Save.
avatar
Sir.Mayo
New member

Posts : 4
Pts : 5
Reputation : 1
Join date : 2015-05-11
Location : USA
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Fri Jun 05, 2015 9:21 am

Yes I have that set as 'YES' but that is only to do with who was connected not who is?? I'm trying to not show who is connected but want to keep the rest.

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Thu Jun 11, 2015 1:17 pm

Bump!

@Sir.Mayo ... Can you provide support for the above code?

Edit: I missed a few replies... My apologies! @FiB have you done a search in the templates for the part Sir.Mayo mentioned?

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Thu Jun 11, 2015 1:43 pm

Yes As I said above I can't see it?????

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Thu Jun 11, 2015 2:23 pm

Hmmm...

Ok @Sir.Mayo may you provide a screenshot or something of where in the templates that is?

-Brandon

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Thu Jun 11, 2015 2:27 pm

Here is my template

Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <!-- BEGIN message_admin_titre -->
   <tr>
      <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
   </tr>
   <!-- END message_admin_titre -->
   <!-- BEGIN message_admin_txt -->
   <tr>
      <td class="row1" rowspan="3" align="center" valign="middle">
      <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
      </td>
   </tr>
   <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                  <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                  <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle" align="right">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                           <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                           <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="50%" valign="top">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
         <!-- END switch_user_logged_in -->
         <!-- BEGIN switch_delete_cookies -->
         <br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
         <!-- END switch_delete_cookies -->
      </td>
      <td width="50%" align="right">
         <span class="gensmall">
            <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br />
            <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br />
            <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
            <!-- BEGIN switch_on_index -->
               <!-- BEGIN switch_delete_cookies -->
               <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
               <!-- END switch_delete_cookies -->
            <!-- END switch_on_index -->
         </span>
      </td>
   </tr>
</table>

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                  <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                  <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                           <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                           <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catHead" colspan="2" height="28">
      <!-- BEGIN switch_viewonline_link -->
      <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
      <!-- END switch_viewonline_link -->

      <!-- BEGIN switch_viewonline_nolink -->
      <span class="cattitle">{L_WHO_IS_ONLINE}</span>
      <!-- END switch_viewonline_nolink -->
      </td>
   </tr>
   <tr>
      <td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
      <td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
      {TOTAL_USERS}<br />
      {NEWEST_USER}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
      {RECORD_USERS}<br />
      <br />
      {LOGGED_IN_USER_LIST}</span></td>
   </tr>
   {L_CONNECTED_MEMBERS}
   {L_WHOSBIRTHDAY_TODAY}
   {L_WHOSBIRTHDAY_WEEK}
   <tr>
      <td class="row1"><span class="gensmall">{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</span></td>
   </tr>
   <!-- BEGIN switch_chatbox_activate -->
   <tr>
      <td class="row1">
         <span class="gensmall">{TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp; {CHATTERS_LIST}<br />
            <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
            //<![CDATA[
            insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            //]]>
            </script>
            <!-- END switch_chatbox_popup -->
         </span>
      </td>
   </tr>
   <!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td>&nbsp;&nbsp;</td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
    FB.init({
      appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
      cookie    : true,
      xfbml      : true,
      oauth      : true,
      version    : 'v2.3'
    });

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Thu Jun 11, 2015 6:50 pm

@FiB wrote:
Code:

<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catHead" colspan="2" height="28">
      <!-- BEGIN switch_viewonline_link -->
      <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
      <!-- END switch_viewonline_link -->

      <!-- BEGIN switch_viewonline_nolink -->
      <span class="cattitle">{L_WHO_IS_ONLINE}</span>
      <!-- END switch_viewonline_nolink -->
      </td>
   </tr>
   <tr>
      <td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
      <td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
      {TOTAL_USERS}<br />
      {NEWEST_USER}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
      {RECORD_USERS}<br />
      <br />
      {LOGGED_IN_USER_LIST}</span></td>
   </tr>
   {L_CONNECTED_MEMBERS}
   {L_WHOSBIRTHDAY_TODAY}
   {L_WHOSBIRTHDAY_WEEK}
   <tr>
      <td class="row1"><span class="gensmall">{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</span></td>
   </tr>
   <!-- BEGIN switch_chatbox_activate -->
   <tr>
      <td class="row1">
         <span class="gensmall">{TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp; {CHATTERS_LIST}<br />
            <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
            //<![CDATA[
            insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            //]]>
            </script>
            <!-- END switch_chatbox_popup -->
         </span>
      </td>
   </tr>
   <!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td>&nbsp;&nbsp;</td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
    FB.init({
      appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
      cookie     : true,
      xfbml      : true,
      oauth      : true,
      version    : 'v2.3'
    });

  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     js.src = "//connect.facebook.net/en_US/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->


I presume it would somewhere around there....

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by Ikerepc on Wed Jun 17, 2015 4:25 pm

Hi. Please post your url if you can, and I will modify your template. It is easy.

I'm sorry because I wasn't able to be here this days, but now I'm here.
avatar
Ikerepc
Ikerepc (Forum owner)
Ikerepc (Forum owner)

Posts : 345
Pts : 480
Reputation : 19
Join date : 2014-12-10
Location : Croatia
Full

View user profile http://admins.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Wed Jun 17, 2015 8:22 pm

Welcome back Ikerepc Very Happy. Yeah the url of your forum would be helpful. Wink

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Wed Jun 17, 2015 11:50 pm

@Ikerepc wrote:Hi. Please post your url if you can, and I will modify your template. It is easy.

I'm sorry because I wasn't able to be here this days, but now I'm here.



http://www.ourbulgariaforum.com Wink

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by Ikerepc on Thu Jun 18, 2015 10:38 am

Try this:

Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
 <!-- BEGIN message_admin_titre -->
 <tr>
 <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
 </tr>
 <!-- END message_admin_titre -->
 <!-- BEGIN message_admin_txt -->
 <tr>
 <td class="row1" rowspan="3" align="center" valign="middle">
 <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
 </td>
 </tr>
 <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
 <!-- BEGIN switch_fb_connect_no -->
 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
 <tr>
 <td class="row1" align="center">
 <table border="0" cellspacing="0" cellpadding="0">
 <tr>
 <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
 <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
 <td>
 <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
 <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
 </td>
 </tr>

 <tr>
 <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
 <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
 <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
 </tr>
 </table>
 </td>
 </tr>
 </table>
 <!-- END switch_fb_connect_no -->

 <!-- BEGIN switch_fb_connect -->
 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
 <tr>
 <td valign="top" width="100%" class="row1" align="center">
 <table width="100%">
 <tr>
 <td width="55%" valign="middle" align="right">
 <table class="right">
 <tr>
 <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
 <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
 <td>
 <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
 <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
 </td>
 </tr>

 <tr>
 <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
 <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
 <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
 </tr>
 </table>
 </td>
 <td width="10%" align="center" valign="middle">
 <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
 </td>
 <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
 </tr>
 </table>
 </td>
 </tr>
 </table>
 <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
 <td width="50%" valign="top">
 <!-- BEGIN switch_user_logged_in -->
 <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
 <!-- END switch_user_logged_in -->
 <!-- BEGIN switch_delete_cookies -->
 <br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
 <!-- END switch_delete_cookies -->
 </td>
 <td width="50%" align="right">
 <span class="gensmall">
 <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br />
 <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br />
 <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
 <!-- BEGIN switch_on_index -->
 <!-- BEGIN switch_delete_cookies -->
 <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
 <!-- END switch_delete_cookies -->
 <!-- END switch_on_index -->
 </span>
 </td>
 </tr>
</table>

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
 <!-- BEGIN switch_fb_connect_no -->
 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
 <tr>
 <td class="row1" align="center">
 <table border="0" cellspacing="0" cellpadding="0">
 <tr>
 <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
 <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
 <td>
 <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
 <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
 </td>
 </tr>

 <tr>
 <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
 <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
 <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
 </tr>
 </table>
 </td>
 </tr>
 </table>
 <!-- END switch_fb_connect_no -->

 <!-- BEGIN switch_fb_connect -->
 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
 <tr>
 <td valign="top" width="100%" class="row1" align="center">
 <table width="100%">
 <tr>
 <td width="55%" valign="middle">
 <table class="right">
 <tr>
 <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
 <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
 <td>
 <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
 <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
 </td>
 </tr>

 <tr>
 <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
 <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
 <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
 </tr>
 </table>
 </td>
 <td width="10%" align="center" valign="middle">
 <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
 </td>
 <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
 </tr>
 </table>
 </td>
 </tr>
 </table>
 <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
 <tr>
 <td class="catHead" colspan="2" height="28">
 <!-- BEGIN switch_viewonline_link -->
 <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
 <!-- END switch_viewonline_link -->

 <!-- BEGIN switch_viewonline_nolink -->
 <span class="cattitle">{L_WHO_IS_ONLINE}</span>
 <!-- END switch_viewonline_nolink -->
 </td>
 </tr>
 <tr>
 <td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
 <td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
 {TOTAL_USERS}<br />
 {NEWEST_USER}</span></td>
 </tr>
 <tr>
 <td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
 {RECORD_USERS}<br />
</span></td>
 </tr>
 {L_CONNECTED_MEMBERS}
 {L_WHOSBIRTHDAY_TODAY}
 {L_WHOSBIRTHDAY_WEEK}
 <tr>
 <td class="row1"><span class="gensmall">{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</span></td>
 </tr>
 <!-- BEGIN switch_chatbox_activate -->
 <tr>
 <td class="row1">
 <span class="gensmall">{TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp; {CHATTERS_LIST}<br />
 <!-- BEGIN switch_chatbox_popup -->
 <div id="chatbox_popup"></div>
 <script type="text/javascript">
 //<![CDATA[
 insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
 //]]>
 </script>
 <!-- END switch_chatbox_popup -->
 </span>
 </td>
 </tr>
 <!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
 <tr>
 <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
 <td><span class="gensmall">{L_NEW_POSTS}</span></td>
 <td></td>
 <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
 <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
 <td>&nbsp;&nbsp;</td>
 <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
 <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
 </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
    FB.init({
      appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
      cookie     : true,
      xfbml      : true,
      oauth      : true,
      version    : 'v2.3'
    });

  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     js.src = "//connect.facebook.net/en_US/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->

Sorry it take me long...
avatar
Ikerepc
Ikerepc (Forum owner)
Ikerepc (Forum owner)

Posts : 345
Pts : 480
Reputation : 19
Join date : 2014-12-10
Location : Croatia
Full

View user profile http://admins.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Thu Jun 18, 2015 4:46 pm

That works great THANK YOU but I wonder is it possible to show who is online once you have logged in?? In other words Only logged in members can see who is online not guests ?

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by Ikerepc on Thu Jun 18, 2015 5:30 pm

Sorry, but I can't find way to check if user is logged in via JavaScript and Forumotion don't allow php codes so I can't....

I will try something later, but I'm not sure
avatar
Ikerepc
Ikerepc (Forum owner)
Ikerepc (Forum owner)

Posts : 345
Pts : 480
Reputation : 19
Join date : 2014-12-10
Location : Croatia
Full

View user profile http://admins.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Thu Jun 18, 2015 6:07 pm

Thank you

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Thu Jun 18, 2015 11:23 pm

Thanks Ikerepc for that Very Happy

@FiB Is this solved?

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by FiB on Thu Jun 18, 2015 11:29 pm

@brandon_g wrote:Thanks Ikerepc for that Very Happy

@FiB Is this solved?




Ikerepc is going to try and find a solution


@Ikerepc wrote:Sorry, but I can't find way to check if user is logged in via JavaScript and Forumotion don't allow php codes so I can't....

I will try something later, but I'm not sure

FiB
New member

Posts : 17
Pts : 28
Reputation : 3
Join date : 2015-03-11
Full

View user profile

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by brandon_g on Fri Jun 19, 2015 3:27 am

Ok so you wish to wait for his results. No problem Wink.

_________________
-Brandon

~Administrator
avatar
brandon_g
ATF Staff
ATF Staff

Posts : 628
Pts : 506
Reputation : 17
Join date : 2015-01-22
Location : USA
Full

View user profile http://broadcastingduo.forumotion.com

Back to top Go down

Re: Show whos was onlune but not who is online????

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum