Announcement

Collapse
No announcement yet.

Embed page withing vbulletin

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

    Embed page withing vbulletin

    Is there a way to embed this webpage within the main site by adding a new page and placing it within an html or php module?

    #2
    Use an HTML module and place it inside an iframe.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      I was thinking of using an iframe. There is no way of using the html or php of the index page directly in the module?

      Comment


        #4
        There is a way but the CSS used by vB5 might affect and break the CSS used by the gallery page.
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #5
          Thank you.

          Comment


            #6
            Ok, I've run into this same problem before, but cannot find or remember the resolution. The iframe is set to 100% width and height, but as you can see the height is not giving 100%.

            Thoughts?

            Comment


              #7
              Not tested by try adding this script on the Chapter Photos iframe page.

              Code:
              <script>
              (function() {
                  function init() {
                      if (parent != window) {
                          parent.document.getElementById('chapterphtos').style.height = document.body.scrollHeight + 'px';
                      }
                  }
                  window.addEventListener('load', init);
                  window.addEventListener('resize', init);
              })();
              </script>
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


                #8
                Does it matter where? Inside or outside the iframe tags?

                Comment


                  #9
                  No, put it in the <head> tag of the page inside the iframe. Not on the page containing the iframe.
                  Helpful? Donate. Thanks!
                  Buy me a coffeePayPal QR Code
                  Fast VPS Host for vBulletin:
                  A2 Hosting & IONOS

                  Comment


                    #10
                    Ok, this is a php site, so I cannot find the index.html page to edit. I know very little of php.

                    Comment


                      #11
                      Do you see chapter_photos directory?
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                        #12
                        Yes, i have full access.

                        Comment


                          #13
                          What files do you see in that directory?
                          Helpful? Donate. Thanks!
                          Buy me a coffeePayPal QR Code
                          Fast VPS Host for vBulletin:
                          A2 Hosting & IONOS

                          Comment


                            #14
                            Click image for larger version

Name:	dir.PNG
Views:	53
Size:	40.5 KB
ID:	14385

                            Comment


                              #15
                              Maybe index.php
                              Helpful? Donate. Thanks!
                              Buy me a coffeePayPal QR Code
                              Fast VPS Host for vBulletin:
                              A2 Hosting & IONOS

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