Support Forum

weird issue with reboot on mobile

41 Answers

New Answer

IK Ike
Ike
Member

Sorry kvr, well spotted.

We added an argument to the first and last post function to display the text as a link.

If you want to make the change yourself, go ahead and as usual I’ll open up a ticket and it will be included in the next update. It can be changed in the core theme so don’t worry about copying templates over unnecessarily.

Open spForumViewMobile.php, find

sp_TopicIndexFirstPost('iconClass=spIcon spLeft&icon=&nicedate=1&date=1&time=1&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp('First Post'));
sp_InsertBreak();
sp_TopicIndexLastPost('iconClass=spIcon spLeft&icon=&nicedate=1&date=0&time=0&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp('Last Post'));

And replace with:

sp_TopicIndexFirstPost('iconClass=spIcon spLeft&icon=&labelLink=1&nicedate=1&date=1&time=1&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp('First Post'));
sp_InsertBreak();
sp_TopicIndexLastPost('iconClass=spIcon spLeft&icon=&labelLink=1&nicedate=1&date=0&time=0&stackdate=0&stackuser=0&stackdate=0&itemBreak= ', __sp('Last Post'));
KV kvr28
kvr28
Member

thanks Ike, will do it and report back

my bill is in the mail 🙂

KV kvr28
kvr28
Member

It works better, but there are still issues

logged out

chrome you click on the link and it redirects okay

ff you have to click more towards the user name

logged in

chrome the same

ff it pulls up the user profile instead of the thread

is there anyway to add arrow buttons to the posts like unified has?

IK Ike
Ike
Member

That doesn’t sound right at all, did you add it to the mobile template as opposed to the desktop one? If it’s turned the text ‘first post’ and ‘last post’ into a coloured link, what does the browser display as the URL when you hover over it?

KV kvr28
kvr28
Member

I edited this

/wp-content/sp-resources/forum-themes/reboot/templates/mobile/spForumViewMobile.php

I can try again

IK Ike
Ike
Member

And presumably you are not running a modified version of spForumViewMobile.php in your child theme? That would override the entire template in the core theme.

I did just go to have a look but it looks like you’ve got unified running. You can add an icon to the function using arguments – see sp_TopicIndexFirstPost – the same applies for last post, you can see the way it works in Unified.

KV kvr28
kvr28
Member

yeah I switched back to unified for mobile till I get this figured out, I’m moving the live site to the staging server in a second and will reset reboot for mobile on there, it will take about 5 min

KV kvr28
kvr28
Member

it works! I tried using find and replace but for reason it cut off half the code in the textarea and didn’t replace all the code

KV kvr28
kvr28
Member

tested on FF and chrome, works perfect now, thanks Ike

KV kvr28
kvr28
Member

another weird thing on mobile, a lot of people are using smaller tablets, I decided to check my site with my wifes kindle fire, landscape looks fine, portrait for some reason the log in drop down self expands. When my daughter gets home from school later I will check with her mini ipad and see if it’s the same.

IK Ike
Ike
Member

I’m not sure if you can have any other browser than Silk on Kindle, and I’ve not used it myself, but I’m pretty sure it only supports some aspects of CSS3, namely basic features. In fact I’d be interested to know in general how Reboot works on it.

I’m not expecting it to be fully compatible, as technically speaking we don’t ‘support’ Silk, and therefore don’t test it.

I do know it’s webkit based and that most likely means it will fall back on the webkit rules, but as we know too well, Chrome and Safari are webkit based and behave completely differently with some stuff. And if it only supports basic CSS3 features it will probably behave strangely in places!

But as to smaller tablets, it should work fine, let us know how you get on with the ipad mini.