Announcement

Collapse
No announcement yet.

not finding new posts

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

  • not finding new posts

    Hello everyone,

    I'm having a little trouble using the "New Posts" link on the forum's menu bar. All day today, it has returned "sorry your search found no results" even though there were clearly new posts today that I haven't read.

    I'm wonderinig if other people are experiencing the same thing?

    best regards,
    Yixin
    It is only with the heart that one sees rightly. What is essential is invisible to the eye. -- The Little Prince - Antoine de Saint-Exupéry

  • #2
    It's a problem. The "New Posts" button shows you new posts since your last login, but since it takes 15 minutes for your login to expire, it's not really accurate. I much prefer the "Today's Posts" button. Unfortunately, I don't know how to install it on the new forum.

    If any .php gurus out there feel like researching how to do this on a vBulletin3 forum, please let me know. I'm sure it's fairly simple, but I just don't have time to do the research.

    As a temporary solution, you can add this link (http://www.wongkiewkit.com/forum/search.php?do=getdaily) to your bookmarks. It should give you a list of today's posts.
    Sifu Anthony Korahais
    www.FlowingZen.com
    (Click here to learn more about me.)

    Comment


    • #3
      Hey Anthony,

      I quickly checked out the vBulletin website and played around with their forum demo. Here's what I think you'd have to do to modify that "New Posts" link on the NavBar.

      1. Log into the Admin Control Panel.
      2. Enter into the "Style Manager" (via the link on the left).
      3. Select "Edit Templates" from the drop menu (it initially says "All Styles Options").
      4. Select the "Navigation/Breadcrumb Templates" selection from the list of templates provided and press the "Expand/Collapse" button on the control panel right of the list (or double-click "Navigation/Breadcrumb Templates").
      5. Select the "navbar" template and press the "Customize" button on the control panel (or double-click "navbar").
      6. In the window with the code, perform a search for getnew. The first instance or "find" should be the code responsible for the "New Posts" on the NavBar. The code may look something like this:

      <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>

      If you'd like to change it to "Today's Post", just replace it with this:

      <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>

      Please note that this section of code refers to the "New Posts" link on the NavBar and not the one located under the "Quick Links" menu.

      7. Once you're done and satified with the modifications, hit the "Save" to update the forum.

      Please note these suggestions are made assuming that the code for this forum and the vBulletin demo forum are identical.

      I hope that helps.

      Cheers,
      Mike.
      Last edited by YunXiang; 30 July 2004, 04:47 AM.

      Comment


      • #4
        Thank for that, Mike. Well done.

        However, it doesn't seem to work. Instead of changing the "New Posts" button in the Navbar to "Today's Posts", it simply deletes the button. Any ideas?
        Sifu Anthony Korahais
        www.FlowingZen.com
        (Click here to learn more about me.)

        Comment


        • #5
          OK, so I managed to change the "New Posts" button to do a "getdaily" search without changing the title. I suppose this is a temporary solution.

          Ideally, it would be nice to have the "View Posts From the Past __ Day(s)" function back. It was probably a hack designed for the older version of vBulletin.
          Sifu Anthony Korahais
          www.FlowingZen.com
          (Click here to learn more about me.)

          Comment


          • #6
            About the button being deleted, I would guess there could be a difference in code between the demo version and this forum. I would have to see the code to get a better idea of what the problem is. However, here are some more suggestions I've thought of.

            If I recall correctly, the code for the "Today's Post" is just underneath the "New Posts" code. It's after the <else /> statement. I would recommend taking a look at it and/or using that code (e.g. copying and pasting).

            Alternately, you could make this modification. Instead of using $vbphrase to print the text for the link, you could just type in what you'd want the link to read. For example, I'm assuming the code for our modified button (i.e. says "New Posts" but does the "Today's Posts" function) looks like this now:

            <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[new_posts_nav]</a></td>

            Type over the $vbphrase[new_posts_nav] with "Today's Posts". Like this:

            <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">Today's Posts</a></td>

            Now the button should read "Today's Post". This may be a better and simpler solution.

            In regards to the old "View Posts From the Past __ Day(s)" function, I wasn't able to find out how to install it by flipping through their online manual or working with the online demo.

            Anyway, feel free to contact me if you have any questions.

            Cheers,
            Mike.
            Last edited by YunXiang; 30 July 2004, 07:31 PM.

            Comment


            • #7
              And now the "getdaily" or function doesn't seem to be working. The search comes up with no threads, which is not accurate. Hmm....
              Sifu Anthony Korahais
              www.FlowingZen.com
              (Click here to learn more about me.)

              Comment


              • #8
                I think this is fixed now, thanks to Mike (Yunxiang).
                Sifu Anthony Korahais
                www.FlowingZen.com
                (Click here to learn more about me.)

                Comment


                • #9
                  Thank you Anthony and YunXiang

                  Yixin
                  It is only with the heart that one sees rightly. What is essential is invisible to the eye. -- The Little Prince - Antoine de Saint-Exupéry

                  Comment


                  • #10
                    Usage Patterns

                    Firstly guys thanks for all your efforts in keeping this place up and running - I never realised it required such a large amount of hacking to keep it in place.

                    Second of course usage patterns vary - in my case eg I am never online at weekends and miss the odd day or two here. So for me being able to pick up all the posts since I logged on 3days+15mins ago is preferable to (???? don't quite know what I should do now! Check each forum at a time?). As you say not being able to search the last n days means that one is deprived of that rough way of catching up since one was last here.

                    Is there any scope for having both buttons - ie the 'todays posts' and 'since last logout+15mins'??

                    Many thanks.

                    Mike
                    "If you realised how powerful your thoughts are, you would never think a negative thought." Peace Pilgrim.

                    Comment


                    • #11
                      Mike -- You can still find the "New Posts" button in the Quick Links pull-down menu.
                      Sifu Anthony Korahais
                      www.FlowingZen.com
                      (Click here to learn more about me.)

                      Comment


                      • #12
                        Practice makes perfect

                        It takes many years of practice to be as dumb as I... its impossible to be born so dense

                        Anyway I had fun browsing the forum, section by section - doh!

                        TVM

                        Mike
                        "If you realised how powerful your thoughts are, you would never think a negative thought." Peace Pilgrim.

                        Comment


                        • #13
                          Thanks to Anthony and Mike (Yunxiang) for getting this far. I have now made some more changes to (hopefully) make this a bit easier for all. "Todays Posts" has been replaced with "Active Topics". Clicking on the text link will show, as previously, posts from the last 24 hours. Clicking on the triangle (down arrow) brings up a pop-up menu which allows searching for posts since the last visit and for the last 1, 2, 3, 4, 5 & 6 days as well as 1, 2, 3 and 4 weeks.

                          Hope that helps
                          Andrew
                          Sifu Andrew Barnett
                          Shaolin Wahnam Switzerland - www.shaolin-wahnam.ch

                          Flowing Health GmbH www.flowing-health.ch (Facebook: www.facebook.com/sifuandrew)
                          Healing Sessions with Sifu Andrew Barnett - in Switzerland and internationally
                          Heilbehandlungen mit Sifu Andrew Barnett - in der Schweiz und International

                          Comment


                          • #14
                            Sweet! Well done.
                            Sifu Anthony Korahais
                            www.FlowingZen.com
                            (Click here to learn more about me.)

                            Comment

                            Working...
                            X