What is on Your Mind?

Come inside and relax a while. Discuss whatever is on your mind. New members can introduce themselves. However, technical Q&A should happen in our other forums.

Prototyping New Responsive Mobile for UNIX.COM - Phase II


👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #15  
Old 11-07-2017
Neo's Unix or Linux Image
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 July 2018, 2:09 PM EDT
Location: Asia pacific region
Posts: 14,576
Thanks: 1,032
Thanked 1,438 Times in 698 Posts
Looks like Swiper might be good for the next phase of mobile site development.:

Quote:
"Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps. Designed mostly for iOS, but also works great on latest Android, Windows Phone 8 and modern Desktop browsers."

Swiper Demo
Sponsored Links
    #16  
Old 11-08-2017
Neo's Unix or Linux Image
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 July 2018, 2:09 PM EDT
Location: Asia pacific region
Posts: 14,576
Thanks: 1,032
Thanked 1,438 Times in 698 Posts
FYI: Have made it so search results (new topics page, posts in last 24 hours page, etc.) and who is online (whoisonline) page auto refreshes every (configurable) 30 seconds in the mobile prototype.

I use this feature often on my iPhone+ as I watch the news or do other tasks to keep an eye on the forums.

Yesterday I tried some Javascript "swiper code" so we can do pagination on mobile with right and left screen swipes, but for some odd reason the code worked fine on text pages before I wrapped the forum pages inside. Worked on this feature for a few hours and decided to take a break and will try again another day soon.

May take a break and get some badly needed exercise, LOL.
Sponsored Links
    #17  
Old 11-09-2017
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Administrator
 
Join Date: Jul 2012
Last Activity: 20 July 2018, 6:06 AM EDT
Location: San Jose, CA, USA
Posts: 11,409
Thanks: 651
Thanked 3,971 Times in 3,394 Posts
Your body needs a break once in a while! I find that exercise and Sudoku puzzles help clear my mind and sometimes let flashes of solutions to problems I've been working on for days seep into my consciousness.

Cheers,
Don
    #18  
Old 11-09-2017
Neo's Unix or Linux Image
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 July 2018, 2:09 PM EDT
Location: Asia pacific region
Posts: 14,576
Thanks: 1,032
Thanked 1,438 Times in 698 Posts
For mobile "who is online" and for the member's profile, I added code for usergroup default avatars for those who do not have avatars:

Code:
    
          $avatarurl = fetch_avatar_url($userinfo['userid']);
           if (!$avatarurl) {
             if($userinfo['usergroupid'] == '10')  // Mods
                   $icon_url = 'https://www.unix.com/customavatars/avatar302016126_2.png';
               else if($userinfo['usergroupid'] == '5')  //Mods
                   $icon_url = 'https://www.unix.com/customavatars/avatar302016126_2.png';
               else if($userinfo['usergroupid'] == '13') // Banned
                   $icon_url = 'https://www.unix.com/customavatars/avatar34166_2.gif';
               else if($userinfo['usergroupid'] == '11') // Undergrounders
                 $icon_url = 'https://www.unix.com/customavatars/avatar44786_2.gif';
               else if($userinfo['usergroupid'] == '9') // Readonly
                 $icon_url = 'https://www.unix.com/customavatars/read_only_1.png';
               else if($userinfo['usergroupid'] == '17') //Vips
                 $icon_url = 'https://www.unix.com/customavatars/vip.png';
              else  // default
               $icon_url = 'https://www.unix.com/customavatars/avatar46598_1.gif';
              $neo_avatar = $icon_url;
            } else    {
           $neo_avatar = $vbulletin->options['bburl'] . '/' . $avatarurl[0];
           }

Sponsored Links
    #19  
Old 11-09-2017
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 19 July 2018, 3:11 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 2,080
Thanks: 2
Thanked 296 Times in 271 Posts
this morning it started with the desktop view instead of the phone view. about 4 hours ago. it starts with the phone view now.
Sponsored Links
    #20  
Old 11-09-2017
hicksd8 hicksd8 is offline Forum Staff  
Moderator
 
Join Date: Feb 2012
Last Activity: 20 July 2018, 2:49 PM EDT
Location: Devon, UK
Posts: 1,924
Thanks: 291
Thanked 514 Times in 433 Posts
Quote:
Originally Posted by Neo View Post
FYI: Have made it so search results (new topics page, posts in last 24 hours page, etc.) and who is online (whoisonline) page auto refreshes every (configurable) 30 seconds in the mobile prototype.
You don't mean configurable by the user?? I'm finding that when viewing "Who's online" (especially with avatars taking up screen room), if there are a lot of members connected, my screen refreshes and takes me back to top of page before I can reach the bottom of the page.

Even more so, this happens when browsing down through "Today's posts" because there can be quite a lot of posts in 24 hours.

Anybody else finding this irritating? Or am I missing something?

(This isn't a great criticism. I realise it's under development.)
Sponsored Links
    #21  
Old 11-09-2017
Neo's Unix or Linux Image
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 July 2018, 2:09 PM EDT
Location: Asia pacific region
Posts: 14,576
Thanks: 1,032
Thanked 1,438 Times in 698 Posts
Quote:
Originally Posted by jgt View Post
this morning it started with the desktop view instead of the phone view. about 4 hours ago. it starts with the phone view now.
Hi,

Yes, that was a error caused by me working on a new PHP plugin to help make the mobile experiment better.

Thanks for your patience.
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Prototyping New Responsive Mobile UNIX.COM Neo What is on Your Mind? 43 11-03-2017 12:53 AM
Mobile App for UNIX.com? ahamed101 What is on Your Mind? 1 04-04-2013 12:57 AM
init phase saudsos Solaris 1 12-10-2010 02:17 AM



All times are GMT -4. The time now is 04:17 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?