|
|
|
|
Joined: Feb 2006
Posts: 6
Lurker
|
|
Lurker
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
|
|
|
|
|
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?
|
|
|
|
|
Joined: Feb 2006
Posts: 6
Lurker
|
|
Lurker
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 
|
|
|
|
|
Joined: Feb 2006
Posts: 6
Lurker
|
|
Lurker
Joined: Feb 2006
Posts: 6 |
This would be fabulous. Thank you so much for your help.
|
|
|
|
|
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: <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: <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 
|
|
|
|
|
Joined: Feb 2006
Posts: 6
Lurker
|
|
Lurker
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 
|
|
|
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.
|
|
Posts: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 704
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 16
|
|
|
|
|
|