|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
Hi guys, I just upgraded to 6.4.2 from 6.2.3, quite a major upgrade. All went smoothly, and I was able to install 90% of my previous mods (photopost integration etc). However, there is one strange bug I can't track down. When clicking on a post from the Postlist, the anchor tag to jump down to the first unread post is not working properly. Instead of being #Post<newest post number> it is coming out as #Post<newest post number><first post number>. Can anyone tell me where this number would be generated from, and where I might look to correct the problem. Here is an example : http://www.skilltoys.net/board/showflat....#Post439224392043920 is the first post in the thread, and 43922 is the newest post in the thread. Thanks for any help! Grahame
|
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
must have fixed it already? cause what I see is #43921 - 05/04/04 07:48 AM
|
|
|
|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
I'm confused..where are you seeing this? Since the "new" post tracking only works for cookied users, you wouldn't see the problem, correct?
|
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
ahh maybe I misunderstood then  cause as an anon user it looks normal to me..
|
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
two things..
1) appriove my registration..
2) Always create a test acct such as threadsdev so others can test..
|
|
|
|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
Yes, it would since anons don't track what the last read post was. I'm guessing this is a problem with a variable being concatenated rather than overwritten, but I can't find where.
|
|
|
|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
1) Done
2) Good idea, I will do that.
|
|
|
|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
This only happens on the postlist page, when you click on the thread name. It doesn't happen on the main index where the last post is shown next to each forum...
|
|
|
|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
It was a user that reported the problem in the first place....I will keep looking, just trying to find out how that number is constructed as part of the URL...seems to be the $postrow[$i]['Number'] in the postlist.tmpl file. I'll trace that back through postlist.php to find out where it's set.
|
|
|
|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
Well I fixed it.... The line in Postlist.php used to read : <br /><a href="{$config['phpurl']}/$mode.php?Cat=$Cat&Number={$postrow[$i]['Number']}&page=$page&view=$view&sb=$sb&o=$o&fpart={$postrow[$i]['fpart']}{$postrow[$i]['jumper']}#{$postrow[$i]['Number']}"><br />I changed it to read : <br /><a href="{$config['phpurl']}/$mode.php?Cat=$Cat&Number={$postrow[$i]['Number']}&page=$page&view=$view&sb=$sb&o=$o&fpart={$postrow[$i]['fpart']}{$postrow[$i]['jumper']}"><br /> Thanks for your help....
|
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
probably patched it not ficxed it.. probably hurt the
Figure out the last poster name on each thread
and
SHOW REPLIES function
|
|
|
|
|
Joined: Aug 2002
Posts: 17
Newbie
|
|
Newbie
Joined: Aug 2002
Posts: 17 |
Sorry, I meant I edited that line in postlist.tmpl. How would that patch affect those other functions?
|
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
it wouldn't unless ya changed it in the postlist.php 
|
|
|
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: 449
Joined: February 2008
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2525
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 7
|
|
|
|