Previous Thread
Next Thread
Print Thread
Hop To
Joined: Nov 2006
Posts: 93
2
journeyman
journeyman
2 Offline
Joined: Nov 2006
Posts: 93
How do I keep page loads from autoscrolling to the last post read or to the bottom of the page.

Basically, on mobile devices, the page is unusable because it wants to keep scrolling to the bottom evy time a new element loads. So the page loads, you scroll to where you want to be, BOOM, it knocks you to the bottom, repeat half a dozen times before you can finally begin to read.

I no wannee scroll to bottom until we get a mobile app.

How please?


Rick
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Not sure. Because I never tried it.
But when you are viewing by forum not topic.
You have options to view by date, descending or ascending.
At the bottom of the page. Change your settings. And
see if that fills your needs.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2006
Posts: 93
2
journeyman
journeyman
2 Offline
Joined: Nov 2006
Posts: 93
No that's not it. What I mean is that when you open up a thread, the software automatically takes you to the last post in the thread on page load, ie, usually the bottom of the page. It only happens when you open a thread. It doesn't do it on the main index, or when you open a sub-forum. Only when you open a thread.

How to disable that?


Rick
Joined: Nov 2006
Posts: 93
2
journeyman
journeyman
2 Offline
Joined: Nov 2006
Posts: 93
Anybody???


Rick
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I don't have a answer.
I know somewhere there was a discussion on the issue of content islands being missed. Since they are placed between the first and second post.
But anyway if there is a way to disable it, how would you find new posts?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2006
Posts: 93
2
journeyman
journeyman
2 Offline
Joined: Nov 2006
Posts: 93
I don't think you understand what I mean.

When I open a thread, the software jumps automatically to the last post in the thread, which is to say it jumps to the bottom of the page. I want it to load the page and not jump to the bottom of the page. Let the user read the hread from the beginning and scroll down himself.

Repeat: open THREAD and it jumps to bottom. How to disable?


Rick
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Well I do understand.
The topic I was talking about that I could not find was actually on the same issue but was due to the content island was passed by.
Meaning the content island is placed between the first and second post.
If a topic say has ten replies. Or is at multiple pages.
A visitor will select the unread post link. since it is new to them.
Then they are taken to the bottom of the page to the new posting.
Thereby never viewing the content island because it is several posts above. Unless they manually scroll back to the top of the page or previous page.

The problem I believe comes from when you visit a site your cookie timestamp determines if you have unread topics or replies. Meaning that any post newer than your existing timestamp is new. So naturally you are taken to that post when you click on a new link.
To change that I assume would need a major edit to the cookie files so they are handled differently.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
But I think UBB.threads is the only one that does that. I haven't seen it anywhere else. Many of my "customers" have asked for a way to stop it, even though it's a feature that I happen to like. As you said, Ruben, it is also a feature that blows the reader right past the ads in the island.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
My 2 cents. I like the way it works.
But then again different strokes for different folks.
Hence why there may need to be a option.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2006
Posts: 93
2
journeyman
journeyman
2 Offline
Joined: Nov 2006
Posts: 93
Ruben:

I liked it too, but it doesn't work well with mobile.

Try opening this link on a mobile or iPad:

http://www.24hourcampfire.com/ubbth..._Obama_asserts_executive_pri#Post6610821

You'll see what I mean.


Rick
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
In /templates/default/postlist.tpl find:
Code
<a href="{ubb url="ubb=`$mode`&Number=`$postrow[topic].lastpostid`#Post`$postrow[topic].lastpostid`" title=$postrow[topic].SubjectClean}" rel="nofollow">{$postrow[topic].time}</a>

Replace with:
Code
<a href="{ubb url="ubb=`$mode`&Number=`$postrow[topic].lastpostid`" title=$postrow[topic].SubjectClean}" rel="nofollow">{$postrow[topic].time}</a>

You can do the same in activetopics.tpl with
Code
			<a href="{ubb url="ubb=show`$display`&Number=`$topics[row].post_id`#Post`$topics[row].post_id`" title=$topics[row].post_subject}">{$topics[row].post_subject}</a>

Replace With:
Code
			<a href="{ubb url="ubb=show`$display`&Number=`$topics[row].post_id`" title=$topics[row].post_subject}">{$topics[row].post_subject}</a>

Then the main page/category page too, really just remove the section starting with a # (a bookmark) to the ending quote using the above two as a reference.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2008
Posts: 262
enthusiast
enthusiast
Joined: Mar 2008
Posts: 262
I love the way it takes you to the last post when you click on a topic. But it does not work on my new Kindle Fire frown Works on my iPhone and computers.


Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 639 guests, and 217 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)