Announcement

Collapse
No announcement yet.

How to remove "location" outout in messages?

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

  • How to remove "location" outout in messages?

    Hello,

    How would I remove "location" which is from user profilt in messages?
    I know I can manually remove lines in Postbit template. But is there a way to disable it from options? I've looked into options and have not found one.

    Thanks.

  • #2
    Hello klisis,

    Follow the steps state below, and it should remove the location from your postbit.

    AdminCP -> User Profile Fields -> User Profile Field Manager -> Click delete on the "Location" Row.

    Comment


    • #3
      Hello,

      But wouldn't that also delete location from profile ?
      Originally posted by Danny.VBT
      Hello klisis,

      Follow the steps state below, and it should remove the location from your postbit.

      AdminCP -> User Profile Fields -> User Profile Field Manager -> Click delete on the "Location" Row.

      Comment


      • #4
        Originally posted by klisis
        Hello,

        But wouldn't that also delete location from profile ?
        Yes, if you want it to show on the profile page but not the postbit, the best option I know of is just removing the line of code from the postbit template or commenting it out, in case you want to add it in the future.

        Comment


        • #5
          Danny,

          What line would you remove to accomplish this?

          Thanks

          Doug

          Comment


          • #6
            Open Template: Postbit Templates / postbit:

            Find:

            PHP Code:
            <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> 
            And remove it; that will remove it from the postbit.

            Comment


            • #7
              Your quick on the reply.

              Thank you Danny

              Doug

              Comment

              Related Topics

              Collapse

              Working...
              X