Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Reboot Tablet, New / Updated Topics
Avatar
BSABantam
UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2017 - 9:18 pm

Just discovered an anomaly in the Reboot Theme we are using.

When viewing the Forum on an Android Tablet the 'New / Updated Topics' drop down box at the top of the Forum has no wording or down arrow, if clicked on, the box changes colour but no list is displayed (the 'Select Forum' box works as expected), portrait or landscape view makes no difference. The 'New / Updated Topics' box works fine on a Desktop and on a Mobile, though the boxes are stacked on the Mobile of course.

The 'New / Updated Topics' box also works on the Tablet if the Desktop version of the Site is requested. I take that to mean that the Tablet Theme is missing something.

How can I rectify?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2017 - 12:31 am

Afraid I dont have an answer for you... yet...  but I can confirm there seems to be something afoot when using the tablet setting...  I am able to replicate - though I dont have an android tablet but can replicate with other tablets and even in dev mode... so we should be able to track this down...

I will open a ticket for research and debugging...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2017 - 1:02 am

Think I have this solved... and its not related to reboot, but any table theme...  a quick change you can try...

open file simple-press/forum/content/sp-common-view-functions.php... and at the very bottom, find this code:

function populate_quicklinks_script() {
    global $spMobile;
    if ($spMobile) return;

    $out = '<div id="qlContent">';
    $out .= sp_PopulateQuickLinksTopic();
    $out .= '</div>';
    echo $out;
}

and change it to

function populate_quicklinks_script() {
    global $spDevice;
    if ($spDevice == 'mobile') return;

    $out = '<div id="qlContent">';
    $out .= sp_PopulateQuickLinksTopic();
    $out .= '</div>';
    echo $out;
}

and lets see if that gets it back for you...

Avatar
BSABantam
UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2017 - 11:07 am

Yep, that fixed it! Thanks. Shows the same as on a Desktop, same number of Topics in both.

However, (and this may be entirely unrelated) on a Mobile, the list shows OK but if there is more than 1 Topic under a Heading, the last Topic doesn't show although there is a blank space where it where it would be! In fact there is a blank space at the bottom of every listed Heading, even when there is only one Topic under a Heading.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2017 - 11:11 pm

thanks for confirming the fix...   will open a ticket for research on the other... have not looked to see if we can recreate yet or not as I leave on a business trip early in AM...

Avatar
BSABantam
UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2017 - 11:34 am

OK, thanks.

Have a good trip.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2017 - 8:03 pm

eh, its work... 😉

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2017 - 8:06 pm

hey wait... what happened to my post????  It seems to have disappeared...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 15, 2017 - 8:07 pm

found it... was in wrong topic...

took a quick look and I guess I have to ask, are you sure?  I cannot replicate it on test site or here…

however, I can say that it appears to be style much different than in tablet and desktop…  instead of the dividing line, you get a bunch of spacing after a grouping… so it looks like there is one missing, but I dont think there is…

also, by default (not sure why frankly) the mobile template displays less items than we do by default on desktop…  the default count for desktop/tablet is 20 items…  in reboot, for phones, that is changed to 15 (maybe due to real estate?)…  so check your count and see if you have 15…

you can of course, change the number displayed… or remove the extra spacing there…

Avatar
BSABantam
UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 17, 2017 - 7:21 am

Yes, I can confirm, 15 items on Mobile and no dividing line, 20 on Desktop/Tablet, both on our Forum and here.

So non-existing problem solved!embarassed A case of different display. Thanks for looking into it.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626