Notices - 4.0.4 Upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wunderlust
    New Member
    • Feb 2007
    • 11

    [Forum] Notices - 4.0.4 Upgrade

    Having just upgraded from 4.0.3 to 4.0.4 my Notices have stopped working. The default notice stays up for unregistered guests i.e.
    If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
    even thou unselected? I also have a number of customer Notices for unregistered guests but these are not shown?


    I have also lost the Poll module for VB advanced after the upgrade.


    All templates had minimal edits and were all reverted ort accepted with the merged changes s I have no idea whats going on after the upgrade.


    Any ideas?
  • anthonyparsons
    Senior Member
    • Mar 2005
    • 2597

    #2
    The vb advanced issue you will have to take up with them, as that is not a vbulletin default aspect. Default notices can typically be unchecked from the ACP > Notices

    Have you customised your navbar template, as notices are added as below right at the end of the navbar template:

    HTML Code:
    {vb:raw ad_location.ad_navbar_below}
    {vb:raw ad_location.global_below_navbar}
    
    <vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
    	<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
    		<input type="hidden" name="do" value="dismissnotice" />
    		<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
    		<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
    		<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
    		<input type="hidden" name="url" value="{vb:raw return_link}" />
    		<ol>
    			{vb:raw notices}
    		</ol>
    	</form>
    </vb:if>
    This is the 4.0.3 version:

    HTML Code:
    {vb:raw ad_location.ad_navbar_below}
    {vb:raw ad_location.global_below_navbar}
    
    <vb:if condition="$show['notices']">
    	<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
    		<input type="hidden" name="do" value="dismissnotice" />
    		<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
    		<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
    		<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
    		<input type="hidden" name="url" value="{vb:raw return_link}" />
    		<ol>
    			{vb:raw notices}
    		</ol>
    	</form>
    </vb:if>
    You can see the if statement line difference... maybe try reverting backwards to see if it fixes the issue.
    Last edited by anthonyparsons; Sun 20 Jun '10, 9:37pm.

    Comment

    • Wunderlust
      New Member
      • Feb 2007
      • 11

      #3
      Originally posted by anthonyparsons
      The vb advanced issue you will have to take up with them, as that is not a vbulletin default aspect. Default notices can typically be unchecked from the ACP > Notices

      Have you customised your navbar template, as notices are added as below right at the end of the navbar template:

      HTML Code:
      {vb:raw ad_location.ad_navbar_below}
      {vb:raw ad_location.global_below_navbar}
      
      <vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
      <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
      <input type="hidden" name="do" value="dismissnotice" />
      <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
      <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
      <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
      <input type="hidden" name="url" value="{vb:raw return_link}" />
      <ol>
      {vb:raw notices}
      </ol>
      </form>
      </vb:if>
      This is the 4.0.3 version:

      HTML Code:
      {vb:raw ad_location.ad_navbar_below}
      {vb:raw ad_location.global_below_navbar}
      
      <vb:if condition="$show['notices']">
      <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
      <input type="hidden" name="do" value="dismissnotice" />
      <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
      <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
      <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
      <input type="hidden" name="url" value="{vb:raw return_link}" />
      <ol>
      {vb:raw notices}
      </ol>
      </form>
      </vb:if>

      The navbar template has not be altered and is the stock standard one used with the original template used by the default vb theme. I have check and unchecked a number of times and saved. The other notices that are supposed to be displayed are not showing up although supposed to be showing.

      Tim

      Comment

      • anthonyparsons
        Senior Member
        • Mar 2005
        • 2597

        #4
        Hi Tim,

        Change your navbar if statements from:
        Code:
        <vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
        To:
        Code:
        <vb:if condition="$show['notices']">
        Which is then the same as the 4.0.3 until they fix it.

        Comment

        • Wunderlust
          New Member
          • Feb 2007
          • 11

          #5
          Still no joy - same old statement even with this change.

          Comment

          • anthonyparsons
            Senior Member
            • Mar 2005
            • 2597

            #6
            Have you tried in a default style, no customisations, plugins and mods disabled? I just looked through the tickets, and there doesn't seem to be anything confirmed about this. A couple exist, but they have been due to template customisations / third party mods installed causing the issue.

            Comment

            • Wunderlust
              New Member
              • Feb 2007
              • 11

              #7
              Have disabed all mods & plugins - no luck.

              I run the default vbulletin skin with not template edits apart from the postbit legacy and footer. Have a look here:- www.tacklebox.com.au

              Comment

              • Wunderlust
                New Member
                • Feb 2007
                • 11

                #8
                Its a bug - http://tracker.vbulletin.com/browse/VBIV-7524.

                Bug re-opened.

                To get around this, create a new Notice and it works, then delete the old notices.

                Comment

                • anthonyparsons
                  Senior Member
                  • Mar 2005
                  • 2597

                  #9
                  Nice... solutions are good.

                  Comment

                  • Veer
                    Senior Member
                    • Nov 2005
                    • 124

                    #10
                    Thanks it works for me as well.

                    Originally posted by Wunderlust
                    Its a bug - http://tracker.vbulletin.com/browse/VBIV-7524.

                    Bug re-opened.

                    To get around this, create a new Notice and it works, then delete the old notices.

                    Comment

                    • NUTNDUN
                      Senior Member
                      • Sep 2001
                      • 142

                      #11
                      I was having the same issues with notices since the upgrade to 4.04 pl1 and I deleted all of them and redid them and they work now. Now if I could just figure out why the ad below the navbar doesn't show up.
                      GTtalk

                      Comment

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