Announcement

Collapse
No announcement yet.

I need an addition Hide Links From Guests

Collapse
This topic has been answered.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I need an addition Hide Links From Guests

    Hi
    how are you

    I need an addition Hide Links From Guests
  • Answer selected by MahmoudE9 at 01-12-2024, 02:37 PM.

    This is a pure CSS solution that blurs out the links inside a post and makes them unclickable. This should work for non-tech savvy users but for those who know about web programming, some of them may figure out a way to disable this and see the links.

    Code:
    .logged-out .js-post__content-text a,
    .logged-out .post-content a {
        filter: blur(5px);
        pointer-events: none;
    }
    
    .logged-out .js-post__content-text .bbcode_postedby a {
        filter: none;
        pointer-events: auto;
    }​

    Comment


      #2
      Which links? Any link added in a post?
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #3
        Originally posted by glennrocksvb View Post
        Which links? Any link added in a post?

        Thank you for following up with us all

        Yes, I need to hide the links in the topic

        Comment


          #4
          What type of links

          Comment


            #5
            glennrocksvb

            Comment


              #6
              This is a pure CSS solution that blurs out the links inside a post and makes them unclickable. This should work for non-tech savvy users but for those who know about web programming, some of them may figure out a way to disable this and see the links.

              Code:
              .logged-out .js-post__content-text a,
              .logged-out .post-content a {
                  filter: blur(5px);
                  pointer-events: none;
              }
              
              .logged-out .js-post__content-text .bbcode_postedby a {
                  filter: none;
                  pointer-events: auto;
              }​
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


                #7
                Originally posted by glennrocksvb View Post
                This is a pure CSS solution that blurs out the links inside a post and makes them unclickable. This should work for non-tech savvy users but for those who know about web programming, some of them may figure out a way to disable this and see the links.

                Code:
                .logged-out .js-post__content-text a,
                .logged-out .post-content a {
                filter: blur(5px);
                pointer-events: none;
                }
                
                .logged-out .js-post__content-text .bbcode_postedby a {
                filter: none;
                pointer-events: auto;
                }​
                glennrocksvb

                This idea is wonderful, my dear brother, but can we put a message that appears below for members so that they can

                Or to see the links, please register or respond to the topic like this​

                Comment


                  #8
                  Not possible using pure CSS solution. But you can add a Notice that only guests can see. In the Notice, mention that guests need to login or register to see the links in posts.
                  Helpful? Donate. Thanks!
                  Buy me a coffeePayPal QR Code
                  Fast VPS Host for vBulletin:
                  A2 Hosting & IONOS

                  Comment


                    #9
                    Originally posted by glennrocksvb View Post
                    Not possible using pure CSS solution. But you can add a Notice that only guests can see. In the Notice, mention that guests need to login or register to see the links in posts.
                    A wonderful idea, my dear brother, thank you very much

                    Comment


                      #10
                      Glad to help!
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                        #11
                        Originally posted by glennrocksvb View Post
                        Not possible using pure CSS solution. But you can add a Notice that only guests can see. In the Notice, mention that guests need to login or register to see the links in posts.
                        glennrocksvb

                        My friend, is it possible to modify the code and make the links not appear until after responding to the topic?

                        Comment


                          #12
                          That would be a totally different and harder solution using PHP.
                          Helpful? Donate. Thanks!
                          Buy me a coffeePayPal QR Code
                          Fast VPS Host for vBulletin:
                          A2 Hosting & IONOS

                          Comment


                            #13
                            Originally posted by glennrocksvb View Post
                            That would be a totally different and harder solution using PHP.
                            How is that @glennrocksvb

                            Comment


                              #14
                              I don't know how to do that yet as this will not be a simple mod.
                              Helpful? Donate. Thanks!
                              Buy me a coffeePayPal QR Code
                              Fast VPS Host for vBulletin:
                              A2 Hosting & IONOS

                              Comment


                                #15
                                Originally posted by glennrocksvb View Post
                                I don't know how to do that yet as this will not be a simple mod.


                                Thank you very much for your trouble with us

                                Comment

                                Users Viewing This Page

                                Collapse

                                There is 1 user viewing this forum topic.

                                • Guest Guest

                                Latest Posts

                                Collapse

                                Working...
                                X
                                Searching...Please wait.
                                An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                                Please push the back button and reload the previous window.'
                                An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                                Please push the back button and reload the previous window.'
                                An internal error has occurred and the module cannot be displayed.
                                There are no results that meet this criteria.
                                Search Result for "|||"