How do I post a notice on a specific page?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dougdirac
    Senior Member
    • Jul 2012
    • 425
    • 4.2.X

    How do I post a notice on a specific page?

    Any help?
  • Syxguns
    Senior Member
    • Aug 2011
    • 151
    • 4.2.X

    #2
    Is this what you are looking for?

    AdminCP > Notices > Notices Manager

    Add a notice and select "User Is Browsing Forum" and select the forum.

    Comment

    • dougdirac
      Senior Member
      • Jul 2012
      • 425
      • 4.2.X

      #3
      I mean if they're for example browsing blogs or articles or the subscriptions page.

      Specifically I want a Notice to show on classifieds.php page.

      None of those options are in the Notices Manager. (Same problem, btw, with the Ad Manager.)

      Comment

      • Syxguns
        Senior Member
        • Aug 2011
        • 151
        • 4.2.X

        #4
        Okay, let me get this straight. classifieds.php is not part of the forum or a forum page. Is this for Panjo like it is here: Panjo Marketplace Notiec? I don't have Panjo installed, and I don't use it, instead I use WooCommerce for Wordpress, and create custom links to my products. I wouldn't be able to help you with this, but I did see a Forum Manager inside Panjo. Because I don't have it activated I don't see the options. Maybe someone else could help or you could ask on panjo.com

        Comment

        • dougdirac
          Senior Member
          • Jul 2012
          • 425
          • 4.2.X

          #5
          On vB4.2.2, yes, classifieds.php is Panjo, but there are some other add-ons that use classifieds.php. However, my question is more global anyhow. What if I wanted a Notice to just show up on blogs. How would i do that.

          The options aren't in the Notices Manager, but is there a template I can edit where I can stick in a THIS_SCRIPT conditional?

          Comment

          • dougdirac
            Senior Member
            • Jul 2012
            • 425
            • 4.2.X

            #6
            Any help here?

            Comment

            • Black Snow
              New Member
              • Jul 2012
              • 13
              • 4.2.X

              #7
              Hi,

              You need to create your own CSS/Notice (there are plenty on the net if you look) then add something like this to your blog template:
              Code:
              <vb:if condition="THIS_SCRIPT == 'blog'">Show this only on blog.php</vb:if>

              Comment

              • Guest

                #8
                Originally posted by Black Snow
                Hi,

                You need to create your own CSS/Notice (there are plenty on the net if you look) then add something like this to your blog template:
                Code:
                <vb:if condition="THIS_SCRIPT == 'blog'">Show this only on blog.php</vb:if>
                This should work. If i check classifieds.php i see this code
                PHP Code:
                define('THIS_SCRIPT''panjo'); 
                So the conditional if should be like this
                HTML Code:
                <vb:if condition="THIS_SCRIPT == 'panjo'">Show this only on classifieds.php</vb:if>

                Comment

                • dougdirac
                  Senior Member
                  • Jul 2012
                  • 425
                  • 4.2.X

                  #9
                  yeah, the conditional part I understand. The question is how to apply it to a notice. Where can I place the conditional.

                  Comment

                  Related Topics

                  Collapse

                  Working...