Support Forum

Post Rating on Phones

MW Michael Walden
Michael Walden
Member

Options for post ratings do not seem to appear when using a phone to view the forums. We use the 5 star ratings. Is this by design or something i need to dig into to figure out why?  eek

9 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

What Simple;Press theme are you using for the mobile display?

MW Michael Walden
Michael Walden
Member

D’oh. So the unobservant part of me is feeling the fool at the moment…

I hadn’t activated mobile themes…embarassed

YS Yellow Swordfish
Yellow Swordfish
Member

You don’t necessarily need to. If you do not then mobile will just use the same theme as desktop. So it still really depends on what theme you are using…?

MW Michael Walden
Michael Walden
Member

We are using the Reboot theme. The only modification I have made is commenting out the line that displays the User Group Memberships that usually display under the profile photo.

YS Yellow Swordfish
Yellow Swordfish
Member

You are right – it is missing in Reboot mobile. Let mew check things out and I can come back to you with a way to add it back in. Afraid it may now be in the morning however.

MW Michael Walden
Michael Walden
Member

Certainly no rush. One of my site members noticed it. I thought perhaps it was just a “save screen space” design option…

YS Yellow Swordfish
Yellow Swordfish
Member

I think you are correct. Mobile themes do need to leave a few things out simply due to display space and post rating is almost certainly a victim of this. However – if they are important aspects for the user then clearly they should be there.

The problem is it will not fit on the post’s ‘toolbar’ set of icons (if using stars) so this is what I would do personally – although bear in and you can place it wherever you wish in the template.

Open the template spTopicViewMobile.php in the /templates/mobile folder for editing.

Locate the code lines:

sp_SectionEnd('', 'postContent');
sp_InsertBreak();

and immediately below these two lines add the following:

if (function_exists('sp_PostIndexRatePost')) sp_PostIndexRatePost('tagClass=spLabelBordered spPostRating spLeft');

save, close and try it. See what you think…

MW Michael Walden
Michael Walden
Member

This works just fine, thank you! I personally think it’s unfortunate, but it appears that more and more users are walking away from desktops and doing everything on their phones… we’re watching the zombie apocalypse begin.wink

Thank you again sir!

YS Yellow Swordfish
Yellow Swordfish
Member

Michael Walden said
This works just fine, thank you! I personally think it’s unfortunate, but it appears that more and more users are walking away from desktops and doing everything on their phones… we’re watching the zombie apocalypse begin.wink

You’re absolutely right of course and while I tend to agree with you that it is a shame, I have to admit I find my phone more and more useful and could no longer imagine not taking it with me at all times. Mind you – I am half-deaf and my iPhone is tied to my hearing aids with bluetooth! It means I can watch TV with the volume out and listen to music while out for a walk!

I am supposing that the phone/desktop ratio is tied to age of user… ?

Thank you again sir!

You’re welcome of course. Thanks for pointing it out. The same fix has been applied for the next update.