Mark Forums Read problem after update from 4.2.0 - 4.2.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robru
    Senior Member
    • Nov 2004
    • 127
    • 4.1.x

    Mark Forums Read problem after update from 4.2.0 - 4.2.1

    When click at the Mark Forums Read rule, I get the following error:
  • AliMadkour
    Senior Member
    • Dec 2004
    • 1588
    • 6.X

    #2
    Create a new style with no parent:

    Styles & Templates > Style Manager > Add New Style
    Parent Style: No Parent Style
    Title: Default vBulletin
    Allow User Selection: Yes
    Save


    Then browse the site using that totally default vbulletin style - do you still have the same problem?

    Former vBulletin Support Staff
    Need Help?, Or P.M. Me

    Comment

    • robru
      Senior Member
      • Nov 2004
      • 127
      • 4.1.x

      #3
      That gives me the same problem, but....
      In version 4.2.0 I has in de navigation manager in settings a build in link 'Mark Forum Read' with this link in it:
      Code:
      forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}
      I hope you can give me the right code for version 4.2.1

      Comment

      • Hartmut
        Senior Member
        • Nov 2007
        • 2870
        • 4.2.x

        #4
        Did you check if the securitytoken is available at that place?
        No private support, only PM me when I ask for it. Support in the forums only.

        Comment

        • robru
          Senior Member
          • Nov 2004
          • 127
          • 4.1.x

          #5
          How must I do this check?

          Comment

          • Hartmut
            Senior Member
            • Nov 2007
            • 2870
            • 4.2.x

            #6
            What i guess is as something in the navigation manager has been changed, I wouldn't be surprised if that variable isn't available at the point where you insert your code anymore. That means, you would have to waive that link.
            No private support, only PM me when I ask for it. Support in the forums only.

            Comment

            • robru
              Senior Member
              • Nov 2004
              • 127
              • 4.1.x

              #7
              Is there any other way to make it active again? Because on the place where the default link is at the bottom forum.php is not really reasonable.

              Comment

              • Devtard
                Member
                • Nov 2012
                • 42
                • 5.0.X

                #8
                Same problem here. Could you please tell us how to fix it?

                Comment

                • robru
                  Senior Member
                  • Nov 2004
                  • 127
                  • 4.1.x

                  #9
                  Solved!

                  See bugtracker http://tracker.vbulletin.com/browse/VBIV-15681

                  Comment

                  • Devtard
                    Member
                    • Nov 2012
                    • 42
                    • 5.0.X

                    #10
                    I replaced the link with Sebastian's value but it still doesn't work. The markreadhash is missing.

                    Comment

                    • BirdOPrey5
                      Senior Member
                      • Jul 2008
                      • 9613
                      • 5.6.3

                      #11
                      You sure vb:raw has been removed from the link?

                      Can you paste the exact code you are using?

                      Comment

                      • yogesh
                        Senior Member
                        • May 2005
                        • 471

                        #12
                        One of our member also got the same error, we are using following code:

                        <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
                        .

                        Comment

                        • BirdOPrey5
                          Senior Member
                          • Jul 2008
                          • 9613
                          • 5.6.3

                          #13
                          yogesh, that code is unrelated to the issue being discussed here, please start your own thread with full details of the problem.

                          Comment

                          • catsma_97504
                            Member
                            • Jan 2013
                            • 81
                            • 5.0.X

                            #14
                            Originally posted by Hartmut
                            What i guess is as something in the navigation manager has been changed, I wouldn't be surprised if that variable isn't available at the point where you insert your code anymore. That means, you would have to waive that link.
                            I too upgraded from 4.2.0 to 4.2.1 and all of my user links are throwing errors (My Posts, My Threads, Mark Forum Read, Replies to My Posts, etc).; but after playing around with it for a couple of days, I finally figured out what changed.

                            What you need to do to fix it is to go into each link on your Navigation Manager and make a minor update: Replace every instance of userinfo with bbuserinfo.

                            My original link was:
                            Code:
                            forumdisplay.php?{session.sessionurl}do=markread&markreadhash={userinfo.securitytoken}
                            And I fixed it with:
                            Code:
                            forumdisplay.php?{session.sessionurl}do=markread&markreadhash={[B]bb[/B]userinfo.securitytoken}
                            Just make sure every reference to userinfo.securitytoken or userinfo.userid has the missing bb in front and you'll be back in business!

                            Comment

                            • Devtard
                              Member
                              • Nov 2012
                              • 42
                              • 5.0.X

                              #15



                              You sure vb:raw has been removed from the link?
                              Yes. Here it is:

                              Code:
                              forumdisplay.php?{session.sessionurl}do=markread&amp;markreadhash={bbuserinfo.securitytoken}

                              Comment

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