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
weird issue with reboot on mobile
Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 3:28 pm

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'));
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 3:29 pm

thanks Ike, will do it and report back

my bill is in the mail 🙂

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 4:37 pm

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?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 5:07 pm

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?

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 5:25 pm

I edited this

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

I can try again

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 6:03 pm

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.

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 6:06 pm

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

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 6:19 pm

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

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 6:27 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2015 - 10:50 pm

good news!  thanks for the update...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
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