Announcement

Collapse
No announcement yet.

Album photo

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

    Album photo

    Adding the string
    Code:
    You need to be logged in to view the code. Login or Register now!
    at the end url of the forum rooms you get the photos in that room.
    It's possible create a new page and show all the photos of the rooms as in an album using this function or something like that?

    #2
    You can use a PHP module to fetch all the photos in a forum by calling the vB5 API. Obviously, this require PHP coding skills.

    Comment


      #3
      Do you know any script or code I can use to create an album for vb5?

      Comment


        #4
        You need to be logged in to view the quote. Login or Register now!
        Is this what you're looking for: https://www.adminammo.com/articles/v...to-vbulletin-5

        You can visit the gallery in his menu.

        Christian Forums

        Comment


          #5
          You need to be logged in to view the quote. Login or Register now!
          Hi William i have see this, but if i add a photo using this system the forum generates a topic visible in unread messages and everyone can reply. it's not a great solution. Also with this system are shown only the photos of that room and not the whole forum

          Comment


            #6
            Hi Friends
            Nobody knows how to proceed?

            Comment


              #7
              You need to be logged in to view the quote. Login or Register now!
              You can exclude the forum in the search results by adding "exclude" criteria in the Search JSON

              Code:
              You need to be logged in to view the code. Login or Register now!
              or:

              Code:
              You need to be logged in to view the code. Login or Register now!
              Change the node ID(s) accordingly.

              For more information on how to use Search JSON, see this article from vbulletin.

              https://www.vbulletin.com/forum/arti...he-search-json

              Comment


                #8
                Tomorrow I'll try your solution!
                Thank you

                Comment


                  #9
                  You need to be logged in to view the quote. Login or Register now!
                  In the string
                  Code:
                  You need to be logged in to view the code. Login or Register now!
                  At the end i have add:
                  Code:
                  You need to be logged in to view the code. Login or Register now!
                  1813061 it's the id of my album

                  Code:
                  You need to be logged in to view the code. Login or Register now!
                  .

                  But if i click in the link "new messages" the search not works.

                  There are no results that meet this criterion

                  I wrong the code?


                  Comment


                    #10
                    When you use Search JSON in the URL, it needs to be URL-decoded. And you can't just add new criteria like that.

                    Use this online tool to decode and encode URL querystrings.

                    https://meyerweb.com/eric/tools/dencoder/

                    1. Decode the Unread posts search JSON. Decode only the text after ?searchJSON=. Remove the text on the left.
                    2. Add the new criteria in the decoded search JSON. In the last } insert a comma and then add the new criteria. For example,
                    Code:
                    You need to be logged in to view the code. Login or Register now!
                    3. Decode the new search JSON.
                    4. Replace the old encoded JSON with the new one.

                    Comment


                      #11
                      You need to be logged in to view the quote. Login or Register now!
                      Sorry. The default string of vb5 "Unread topics is:
                      Code:
                      You need to be logged in to view the code. Login or Register now!
                      decode
                      Code:
                      You need to be logged in to view the code. Login or Register now!
                      i add
                      Code:
                      You need to be logged in to view the code. Login or Register now!
                      Encode
                      Code:
                      You need to be logged in to view the code. Login or Register now!
                      New string:
                      Code:
                      You need to be logged in to view the code. Login or Register now!
                      But not work! where am I wrong?

                      Comment


                        #12
                        It's "exclude" not "exclude_type". Re-read my previous posts.

                        Comment


                          #13
                          Yes! Now works!
                          Add this code
                          Code:
                          You need to be logged in to view the code. Login or Register now!
                          , 1813061 it's the name of my forum called Gallery.

                          Original string to be decoded:
                          Code:
                          You need to be logged in to view the code. Login or Register now!
                          Thanks for the help!

                          Comment


                            #14
                            Glad to help

                            Comment


                              #15
                              In my test for the Photo gallery we have solved the problem to not show the topic in the link " New topic" and "Topic Today" but the topic are yet visibles in the widget " Trending and Last post. :-(

                              It's possible remove them from here too?

                              Comment

                              Working...
                              X