PDA

View Full Version : [fixed] pm $daysprune==0 after folderjump with 'forum default' thread view


Raz Meister
Wed 7th Nov '01, 6:55pm
When selecting another folder from the PM area, and letting the JavaScript redirect you - the new page always (at least for me) prunes to 0. Small Bug?

tubedogg
Thu 8th Nov '01, 12:31am
What do you have selected for "Default Thread View" under Edit Options in your User CP?

Raz Meister
Thu 8th Nov '01, 8:47am
I have Show from beginning set. But this problem also occurs on this forum as well. I think I've found the problem (in bold): <select name="folderid" onchange="window.location=('private.php?s=&folderid=' + this.options[this.selectedIndex].value + '&daysprune=0')">
<option value="0" selected>Inbox</option>
<option value="-1" >Sent Items</option>

<option value="tracking" >&raquo; Message Tracking</option>

</select>
The code is from this forum.

Is 'daysprune=0' hardcoded into a template?

Craig Armstrong
Thu 8th Nov '01, 2:47pm
I can confirm this. I posted about it here (http://vbulletin.com/forum/showthread.php?s=&postid=193392#post193392) in the 'Is vb 2.something nice' thread.

Found a rather annoying "bug". If you use the forum's Default Thread View, the Show Messages From: dropdown menu in Private Messages is defaulted to Last Day (even though this forum's default is Last 100 Days, I beleive). At first, it displays all PM's. But when you start to navigate thru your folders, it begins to use the Last Day setting, hiding all PM's.

tubedogg
Sun 11th Nov '01, 2:00am
Originally posted by Razzie
Is 'daysprune=0' hardcoded into a template?Not that I can see.

scotty
Sun 11th Nov '01, 9:47am
Originally posted by tubedogg
Not that I can see.

no, but the variable $ daysprune results "0", and if you change the folder by the right dropdown the pext pages loads with the url: /private.php?s=&folderid=-1&daysprune=0

/me unhacked version 2.2.0

Raz Meister
Sun 11th Nov '01, 9:49am
Yes. I get this problem on my own forums, and on these forums.

Just head over to your PM section and select 'Sent Items' from the drop-down list and let the javascript redirect you, and you'll see the problem.

tubedogg
Mon 12th Nov '01, 2:39am
Hmm...OK I'll give you this one. But next time I get to be right. :D

Moving to bugs...

Raz Meister
Mon 12th Nov '01, 12:20pm
Originally posted by tubedogg
Hmm...OK I'll give you this one. But next time I get to be right. :D
OK, but as long as I'm wrong ;)

Kathy
Mon 12th Nov '01, 3:03pm
Additionally, in the PM INBOX....if you have the "default" set in CP for the PM and you have it showing LAST DAY....ALL your PMs show instead of just today's.

Mike Sullivan
Tue 13th Nov '01, 3:53pm
Fixed. :)

Craig Armstrong
Tue 13th Nov '01, 4:36pm
http://vbulletin.com/forums/images/icons/icon14.gif