Announcement

Collapse
No announcement yet.

Change PM's default "Show Messages From"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change PM's default "Show Messages From"

    Hi,

    how can I change the default "last 10 days" for all users?
    Talking about the Private Messaging Inbox view...

    Thanks for any hint,
    -Tom
    http://www.mcseboard.de/images/buttons/lastpost.gif www.MCSEboard.de
    German Windows Server & IT Pro Community dedicated to Windows Client & Server Systems. MVPs inside

  • #2
    This is a per-user setting that is set in their User CP under Edit Options, set using the Display Threads From xxx date option.

    Comment


    • #3
      That's the problem, I get overwhelmed by questions like "why do my PMs vanish" - they do not, they're just too old.

      So I'm trying to set that to "from the beginning" for all users...

      Adding the html-property "checked" to the appropriate <select>-tag in the appropriate template is overridden, so how or where can I change that?
      thx,
      -Tom
      http://www.mcseboard.de/images/buttons/lastpost.gif www.MCSEboard.de
      German Windows Server & IT Pro Community dedicated to Windows Client & Server Systems. MVPs inside

      Comment


      • #4
        In private.php, look for a line that checks the value of $datecut - it will work so that if $datecut does not exist, it will be set to 10... simply change this to 1000 (or something equally huge).

        Comment


        • #5
          Hi Kier,

          gee, thanks, that was easy!
          Searched for $datecut and the value of 10 in private.php and
          found

          Code:
          $daysprune = 10;
          (around line 125 in v2.0.1)

          Changed that to 1000 and it worked perfect,
          Thanks,
          -Tom
          http://www.mcseboard.de/images/buttons/lastpost.gif www.MCSEboard.de
          German Windows Server & IT Pro Community dedicated to Windows Client & Server Systems. MVPs inside

          Comment


          • #6
            Can we have an option in the next version to select the default Show Messages From: for the private messages?
            Last edited by Byron; Tue 26 Feb '02, 8:25pm.
            .

            Comment


            • #7
              Do you think the default value for $daysprune shd be set to 1000 in future version? Cos not many users may know about the "Show message from" option.

              Though vbulletin is a very advanced forum for webmasters, I think it's better to make it as simple as possible for the forum members.
              Last edited by Byron; Tue 26 Feb '02, 8:26pm.
              .

              Comment


              • #8
                .
                Last edited by Byron; Tue 26 Feb '02, 8:27pm.
                .

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...
                X