Announcement

Collapse
No announcement yet.

Vb 5 How to Link to Avatar page profile.php?do=editavatar

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Vb 5 How to Link to Avatar page profile.php?do=editavatar

    I want place a notice on my forum for user to be able to change their avatar once they click on the link.

    For instance vbulletin 4 if you click on www.domain.com/profile.php?do=editavatar it will take you to the page to edit your avatar. (For example -Please click here to upload an avatar for your profile)

    Please how can i achieve this on vb 5?
    A cordial greeting

    #2
    On this site, if a user has not uploaded their avatar yet and he goes to his profile, the Edit Avatar dialog automatically appears. The Profile url doesn't need to be changed.

    But it could be changed to only display the dialog when editavatar is in the URL
    Last edited by glennrocksvb; 10-14-2017, 07:25 AM.
    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
      Edit Avatar dialog automatically appears
      Or if possible redirect to profile, but as I can do that?
      A cordial greeting

      Comment


        #4
        The Edit Avatar dialog automatically appears while you are on your profile page. So no need to redirect to profile page.
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #5
          Originally posted by glennrocksvb View Post
          So no need to redirect to profile page.
          What I try to create is notice and that they can click on it to take them to their profile,Click image for larger version

Name:	Captura de pantalla 2017-10-14 a las 21.49.33.png
Views:	110
Size:	68.7 KB
ID:	6957
          A cordial greeting

          Comment


            #6
            Originally posted by glennrocksvb View Post
            profile page
            I found a way to do it Solved, as always thank you very much for you
            A cordial greeting

            Comment


              #7
              Originally posted by glennrocksvb View Post
              The Edit Avatar dialog automatically appears while you are on your profile page.
              This I have not been able to do yet, could give me some indication of how I can do it, thanks
              A cordial greeting

              Comment


              • glennrocksvb
                glennrocksvb commented
                Editing a comment
                Watch out for it when I post it.

              #8
              Excuse me but I do not speak English, and I did not understand very well what he wants to tell me. I use the translator googley I did not understand his comment. I could clarify it glennrocksvb
              A cordial greeting

              Comment


                #9
                I meant wait for it until I post the code.
                Helpful? Donate. Thanks!
                Buy me a coffeePayPal QR Code
                Fast VPS Host for vBulletin:
                A2 Hosting & IONOS

                Comment


                  #10
                  Originally posted by glennrocksvb View Post
                  I meant wait for it until I post the code
                  Okay, thank you very much
                  A cordial greeting

                  Comment


                    #11
                    Originally posted by glennrocksvb View Post
                    the code
                    Some news about the publication of this code, I'm trying to find out on my own, but I can not. I achieved this

                    Code:
                    <a href="{vb:url'profile', {vb:raw userInfo}}">{vb:phrase back_to_profile}</a>
                    A cordial greeting

                    Comment


                      #12
                      Do you want to keep the same profile url and then when you visit your own profile and you don't have custom avatar yet, the Edit Avatar popup appears automatically? That's what I do here. No need to change any profile url.
                      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
                        Do you want to keep the same profile url and then when you visit your own profile and you don't have custom avatar yet, the Edit Avatar popup appears automatically? That's what I do here. No need to change any profile url.
                        If that's just what I need
                        A cordial greeting

                        Comment


                          #14
                          Originally posted by glennrocksvb View Post
                          Do you want to keep the same profile url and then when you visit your own profile and you don't have custom avatar yet, the Edit Avatar popup appears automatically? That's what I do here. No need to change any profile url.
                          Please can you give me some indication for me to get that, thank you, I try but I do not.
                          Or I hope to publish the code, but I'd like to find out
                          A cordial greeting

                          Comment


                            #15
                            @glennrocksvb Good news about the publication of this code thanks
                            A cordial greeting

                            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 "|||"