Prototyping New Responsive Mobile for UNIX.COM - Phase II


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Prototyping New Responsive Mobile for UNIX.COM - Phase II
# 15  
Old 11-07-2017
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
# 16  
Old 11-08-2017
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.
# 17  
Old 11-09-2017
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
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];
           }

# 19  
Old 11-09-2017
this morning it started with the desktop view instead of the phone view. about 4 hours ago. it starts with the phone view now.
# 20  
Old 11-09-2017
Quote:
Originally Posted by Neo
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.)
# 21  
Old 11-09-2017
Quote:
Originally Posted by jgt
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

New Responsive 404 Page for UNIX.com

Just created (actually, only modified... it was created by ShoutOut) a new responsive 404 "not found" page with the help of ShoutOut free templates. https://www.unix.com/status/404.html Same for 401 and 403 errors. Picture sans animation: ... (2 Replies)
Discussion started by: Neo
2 Replies

2. What is on Your Mind?

Check Out UNIX.COM on Mobile - It's Looking Good

If you have not visited the site on mobile lately, you are missing out on a great looking mobile web site. If you don't have a mobile, you can always navigate to the sliding member panel and click on "Mobile View".... It's really looking killer'...... I'm starting to think that soon the... (6 Replies)
Discussion started by: Neo
6 Replies

3. What is on Your Mind?

New UNIX.COM Mobile Site Icons

Having given up for the time being with a very difficult game engine project to virtualizing cyberspace, am working on the forums again. Just updated a few icons on the mobile site. Explanations in the picture captions: https://www.unix.com/members/1-albums214-picture855.jpeg ... (1 Reply)
Discussion started by: Neo
1 Replies

4. What is on Your Mind?

Prototyping New Responsive Mobile for UNIX.COM - Phase III

From Prototyping New Responsive Mobile for UNIX.COM - Phase II, we move to Phase III. Basically, the core prototype for every day browsing the forums, replying, posting and editing on mobile is nearly finished with the exception of a few formatting issues with regard to rare system messages or... (4 Replies)
Discussion started by: Neo
4 Replies

5. What is on Your Mind?

Prototyping New Responsive Mobile UNIX.COM

I'm working on updates to the mobile phone view, and it's going to look much better I think. Here are some current prototypes: Prototype Mobile Home Page: https://www.unix.com/members/1-albums214-picture690.jpg Prototype Mobile Search Page: ... (43 Replies)
Discussion started by: Neo
43 Replies

6. What is on Your Mind?

Mobile Friendly Version of UNIX.COM

Hello, I have noticed some problems with Google complaining our site is not "https://search.google.com/www.usearch-console/mobile-friendly" using only Tapatalk. So, after a lot of work, I have re-enabled our legacy mobile style and make some improvements and Google has declared us "mobile... (2 Replies)
Discussion started by: Neo
2 Replies

7. Shell Programming and Scripting

Sending message to a mobile number through UNIX

Is it possible to add Pager Notification to mailx command?? Or by any other mean. just want to specify that by Pager i mean a message to the mobile number. Suppose i have following condition If ];then send a message to 9999999999 else no message to be sent fi Is it possible? I... (5 Replies)
Discussion started by: Sharma331
5 Replies

8. What is on Your Mind?

Mobile App for UNIX.com?

Do we have a mobile app for unix.com? (1 Reply)
Discussion started by: ahamed101
1 Replies
Login or Register to Ask a Question