Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
I know this was something that was fixed before but I did a search here and over at infopop and it returned everything I didnt need.

When i see ther is a new post in a forum and I click on it ti read, it takes me to the top not to the new post. can someone send me to the fix. I think I removed the fix with a mod I installed but im not sure.

thanks

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Version?

The earlier beta versions of 6.5 did this, but in 6.5 final release, it works the correct way.

Various 6.4 versions had some missing anchor tags that prevented the jump.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
i think I overwrote the fix for it in a mod. but i cant find the post that shows the fix :-\

its on a 6.4.2 board

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Here's my old fix for 6.3, I think the one for 6.4 is slightly different iirc, but this should steer you in the right direction.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Twisty, your teasing me :-P

Sponsored Links
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Whaddya mean? The anchor isn't correctly structured in 6.4 from what I remember. I think it's missing the # sign or something like that.

Post the section of code containing the anchor from showflat.tmpl and I can probably tell you exactly what's wrong with it.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
You said,
[]Twisty said:
Here's my old fix for 6.3, I think the one for 6.4 is slightly different iirc, but this should steer you in the right direction. [/]

But there wasnt anything there
no attachment or anything....

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
My bad, here's the link...

https://www.ubbdev.com/forum/showflat.php/Number/118327

Ok, now for 6.4.2 it looks like the 'Post' section of the anchor was dropped, so you would probably need this...

<a name="#{$postrow[$i]['Number']}"></a>

...instead of this:

<a name="#Post{$postrow[$i]['Number']}"></a>

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
this is what I have in there now... (6.4.2 board)



<font class="small">
<a name="#{$postrow[$i]['Number']}">#{$postrow[$i]['Number']} - {$postrow[$i]['time']} <i>{$postrow[$i]['IP']}</i> {$postrow[$i]['filelink']}
</font>
</td>
<td align="right" width="30%">

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
You mean before changing anything, and the problem still exists?

Or do you mean that's the code after you changed it and the problem is now solved?

Your statement could be interpreted 2 different ways

Sponsored Links
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
sorry. I was busy doing 8 things at the same time I was posting that..

That is what is there before any changes are made in showflat.tmpl. I have not changed anything.

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Ok that section looks correct, that's what you need to have in there, but apparently some other changes need to be made elsewhere for it to work (especially if you have other mods installed? The Google spidering one?!?).

At a minimum, you'll need to post postlist.tmpl here for me to help you any further.

Also, could you post a URL to the forums so that I can see what kind of URL structure you're using?

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
There are no mods instaled on the board. I removed the cookie prefix and logged everyone out. Then I added / before the name in the cookie section and it seems to have worked.

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Ok, well cool that you finally got it working now


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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)