Announcement

Collapse
No announcement yet.

Signatures once per page

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

  • Signatures once per page

    How can I make signatures only show once per page for each user?

  • #2
    Originally posted by Kier
    Actually, this can be done with conditionals.

    In the postbit template, find this conditional:
    HTML Code:
    <if condition="$post['signature']">
    And replace it with this one:
    HTML Code:
    <if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
    This will cause each user's signature to be shown only on their first post on each page.
    From This Thread.
    The Admin Zone - Resources for Forum Administrators
    Articles - Forum Review
    Interviews:
    KierScottJerryAndreasSteveWayneJakeFlorisLogicianErwin
    Paul M

    Comment


    • #3
      Thank you! Looks like a good candidate for making a user control panel option.

      Comment


      • #4
        Thanks

        Comment


        • #5
          I want to be clear on this. Using that code, if the user has opted to show a sig, it will only show one time on a page. If they post 4 times in a thread on one page, uncheck the sig option on the first post, leave it checked on the second, third and fourth, the sig will only show in the second post.


          What if the member has selected different than the default number of messages on a page? If I choose to see 20 when the default is 10, a member has posted 4 within the first 10 and a total of 6 times in all 20, will I see only 1 sig and others using the default see 2 sigs in the thread (one on each page)?

          Thanks for helping me understand this. I really like this idea.

          Jim
          If my post was helpful to you, please take the time to register at my forum and ask a question you've always wanted to know about floors.
          www.TheFloorPro.com

          Comment


          • #6
            once per page, doesn't matter how long the page is, change it and give it a look.

            you can always change it back.

            Comment


            • #7
              You can't beat a modification by Kier!
              The Admin Zone - Resources for Forum Administrators
              Articles - Forum Review
              Interviews:
              KierScottJerryAndreasSteveWayneJakeFlorisLogicianErwin
              Paul M

              Comment


              • #8
                It's not working for me.
                Here is what I did:
                Admin CP > Styles & Templates > search in templates
                I then searched for "postbit" and found "postbit" under postbit templates and double clicked on it
                I then searched in template for "signature" and found an instance identical to above instructions and edited it to be exactly like above instructions.
                I tested this by posting twice in the same thread, on the same page.
                Sig showed up both posts.

                Perhaps I am way too dumb for this stuff.

                Comment


                • #9
                  If you are using the new posting format, with the member name and info across the top of the message, that is the POSTBIT template. If you are using the old format, with the member name and info to the left of the message, that is the LEGACY_POSTBIT template. Change the appropriate one.

                  Jim
                  If my post was helpful to you, please take the time to register at my forum and ask a question you've always wanted to know about floors.
                  www.TheFloorPro.com

                  Comment


                  • #10
                    Ah ha!
                    Thank you.

                    Comment


                    • #11
                      Originally posted by the Sandman
                      I am not very good at php. I tried to make this work for vB3.5.2 but I error out.

                      Anyone know if this has been written for the latest vb version?

                      Thanks in advance.

                      Comment

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