Announcement

Collapse
No announcement yet.

Mark Forums Read problem after update from 4.2.0 - 4.2.1

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

  • 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:

  • #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


    • #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


      • #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


        • #5
          How must I do this check?

          Comment


          • #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


            • #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


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

                Comment


                • #9
                  Solved!

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

                  Comment


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

                    Comment


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

                      Can you paste the exact code you are using?

                      Comment


                      • #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


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

                          Comment


                          • #14
                            Originally posted by Hartmut View Post
                            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={bbuserinfo.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


                            • #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...
                              X