Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2006
Posts: 6
Lurker
Lurker
Offline
Joined: Feb 2006
Posts: 6
Hello everyone,

I'm not really sure if this is the correct forum (if not, feel free to move it to the correct one).

I totally love UBBthreads and have it now up and running on my site.
However, there is one slight thing that really bothers me: when you click on one of the subjects in the forum views, you get directly to the post, which means the header of the page is cut off (because the browser has automatically scrolled down to the post instead).
For example, it gets straight to "#Post4."

Do you know what I mean? (I know it's a bit difficult to explain)

Can I turn this off somehow? Either by customizing the board with the admin panel or by editing one of the templates?

Someone on the official UBBthreads forum gave me the hint that I can modify the postlist.tmpl template and edit that part with the "#Post4" out. However, the template looks very complicated and I am totally lost which part needs to be edited.

Is anybody able to assist?

Any help is greatly appreciated.
Thank you.
jamie

Sponsored Links
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
are you not wanting any of the header to be "cut off" by an anchor?


- Allen wavey
- What Drives You?
Joined: Feb 2006
Posts: 6
Lurker
Lurker
Offline
Joined: Feb 2006
Posts: 6
Yes I think that's it.
That the page is automatically scrolled down to the post. But I would like the header to be seen and that the page is not scrolled down immediately but that the user has to do this himself.

Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
ok, will look at this later today


- Allen wavey
- What Drives You?
Joined: Feb 2006
Posts: 6
Lurker
Lurker
Offline
Joined: Feb 2006
Posts: 6
This would be fabulous. Thank you so much for your help.

Sponsored Links
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
You're welcome

In postlist.tmpl find about halfway down:

Code
<br /><a href="{$config['phpurl']}/$mode.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Number{$var_eq}{$postrow[$i]['Number']}{$var_sep}an{$var_eq}{$postrow[$i]['announce']}{$var_sep}page{$var_eq}$page{$postrow[$i]['goto']}"><br />{$postrow[$i]['Subject']}<br /></a><br />


change to:

Code
<br /><a href="{$config['phpurl']}/$mode.php{$var_start}Cat{$var_eq}$Cat{$var_sep}Number{$var_eq}{$postrow[$i]['Number']}"><br />{$postrow[$i]['Subject']}<br /></a><br />


that should do it tho it's untested


- Allen wavey
- What Drives You?
Joined: Feb 2006
Posts: 6
Lurker
Lurker
Offline
Joined: Feb 2006
Posts: 6
Hey, thank you so much!

It worked! It was easy to find and i just edited it and uploaded the change in the template and VOILA - it works just the way I wanted it to.

Thank you so much. I would have never figured it out on my own.

Thanks!!

Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
you're welcome, glad it worked for you


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3429
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 4
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)