Forum Activity for @white-agency

White Agency
@white-agency
07/09/15 02:50:50AM
204 posts

Displaying a users last logged in time


Design and Skin Customization

Thanks Paul :)

Knew it would be a simple mistake.
White Agency
@white-agency
07/09/15 02:36:56AM
204 posts

Displaying a users last logged in time


Design and Skin Customization

Using the following code to display a users last logged in time when viewing their profile page but it only works for one user !
        {capture name="user_template" assign="logged_in_tpl"}
        	{literal}
        		{if isset($_items)}
        			{foreach from=$_items item="item"}
        				<p>{$item.user_last_login|jrCore_format_time}</p>
        			{/foreach}
        		{/if}
        	{/literal}
        {/capture}

         {jrCore_list module="jrUser" search1="user_id = $_profile_id" template=$logged_in_tpl no_cache=true}


updated by @white-agency: 08/12/15 08:11:10AM
White Agency
@white-agency
07/08/15 02:10:59AM
204 posts

birthdate field from Ning backup


Ning To Jamroom

That is a problem !!

Have a look at the answer here :- http://stackoverflow.com/questions/2788571/converting-a-date-string-which-is-before-1970-into-a-timestamp-in-mysql

and a link in the answer :- http://www.onlineconversion.com/unix_time.htm

Seems to suggest you can have dates before 1970

For the time being I've put a date validation on the filed so at least the user is forced to input a valid date.
White Agency
@white-agency
07/08/15 01:08:06AM
204 posts

birthdate field from Ning backup


Ning To Jamroom

There is a birthdate field that comes across from Ning in the format yyyy-mm-dd

If I set this field up using the form designer and set it to use the date type it doesn't pick up the date because it's in the wrong format.

Could the import correct the format or the date type allow the yyyy-mm-dd format ?
updated by @white-agency: 08/07/15 04:18:57PM
White Agency
@white-agency
07/06/15 06:44:47AM
204 posts

Dashboard - users online functionality


Using Jamroom

It would just be a temporary thing as the videos won't import correctly from the Ning import.
White Agency
@white-agency
07/06/15 04:09:09AM
204 posts

Dashboard - users online functionality


Using Jamroom

Will have a go with that when I do a going live run through - should save a lot of time.

On a previous problem with the video imports you mentioned being able to hook up to your conversion servers just for the initial import.

Can we still do this ?
White Agency
@white-agency
07/06/15 03:32:44AM
204 posts

Dashboard - users online functionality


Using Jamroom

Sussed it !

I'm testing as different users in different browsers but the IP is same for each user.

I logged in from my phone over the mobile network and I was then able to log that user out because it was on a different IP.

So all happy now :)

Going live next Monday (hopefully) so going through final testing !!
White Agency
@white-agency
07/06/15 03:13:48AM
204 posts

Dashboard - users online functionality


Using Jamroom

On the users online page in the dashboard there are two buttons, 'Log off' and 'Ban IP'. Both of these are currently disabled so don't do anything.

Is this a Quota setting somewhere to enable these ?

Unfortunately we have the occasionally need to suspend members. We can set their account to inactive but unless we can force the log off ourselves they can remained logged in.

So either the code needs to verify if the user is active on each page call and/or the 'Log Off' button needs to work.


updated by @white-agency: 08/08/15 06:23:00PM
White Agency
@white-agency
07/06/15 01:24:06AM
204 posts

Mobile MCE editor popup problem


Design and Skin Customization

Editor is appearing on iPhone 5/6 and Android 5/4.4.

I've put some more styling in to bring the font size down for mobile so it fits in on a mobile now.

Our skin is based on the NingJa skin from around the beginning of the year.
White Agency
@white-agency
07/04/15 03:17:07AM
204 posts

Mobile MCE editor popup problem


Design and Skin Customization

The css above centers it but the main problem is the Editor Image Upload templates which have been built using tables :( so don't fit into the width available on a phone.

Whilst I've got horizontal scrolling working on it on Android, it doesn't work on iOS. Time permitting I'll see about re-writing the templates to not use tables.
  9