Need to put images in everywhere sidebar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nharkey
    Member
    • Jun 2011
    • 47
    • 4.1.x

    [Forum] Need to put images in everywhere sidebar

    I installed Everywhere Sidebar 4 4B4 with no problem, but need to insert two jpeg images in it. How do I do that?
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Create an html forum block (Forums & Moderators > Forum Blocks Manager > Add Block) and add the image code to it.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • nharkey
      Member
      • Jun 2011
      • 47
      • 4.1.x

      #3
      Hi Lynne,

      I followed the instructions through to the Add Block menu. There I found that I had to choose the type of block between custom html/php, new forum posts, tag cloud, forum threads. None seemed just right for an image so I went with custom html. My image is uploaded into the images file for the forum so I tried <img src="images/Front Cover2.png" width=255" height=307"/>, but simply got an empty box titled custom html/php in the sidebar. Don't know what to try next.

      Comment

      • Loco.M
        Senior Member
        • Mar 2005
        • 4319
        • 3.5.x

        #4
        You should ask in the release thread at the .org or the authors support forum for his gold (29$!!) version
        -- Web Developer for hire
        ---Online Marketing Tools and Articles

        Comment

        • Lynne
          Former vBulletin Support
          • Oct 2004
          • 26255

          #5
          Loco, since this is just about adding a block with an image, the fact he is using the Everywhere Sidebar mod is irrelevant.

          Can we get a link to see the problem? It sounds like that path to the image may be incorrect.

          Please don't PM or VM me for support - I only help out in the threads.
          vBulletin Manual & vBulletin 4.0 Code Documentation (API)
          Want help modifying your vbulletin forum? Head on over to vbulletin.org
          If I post CSS and you don't know where it goes, throw it into the additional.css template.

          W3Schools &lt;- awesome site for html/css help

          Comment

          • nharkey
            Member
            • Jun 2011
            • 47
            • 4.1.x

            #6
            Hi,

            An easy way to see what I have done is to go to the forum home page at http://www.forum.parentingbytemperament.com because the block on that page now has the code I typed in sitting at the top of the sidebar. (Incidentally, it is a jpeg image, not png). I am not clear about how far back the pathway should go. I tried "images/FrontCover.jpeg" and "Forum/images/FrontCover.jpeg" but the result was the same.

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 73976

              #7
              Remove the space from your image file name. Spaces are not technically allowed in URLS.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                Also, you selected HTML under the option Content Type - not text?

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools &lt;- awesome site for html/css help

                Comment

                • nharkey
                  Member
                  • Jun 2011
                  • 47
                  • 4.1.x

                  #9
                  Hi Wayne,

                  True that I left a space in the image file name that I typed in a reply above. Unfortunately, I didn't make that mistake when I entered it in the block menu. (I say unfortunately, because I wish that would solve the problem!)

                  Comment

                  • nharkey
                    Member
                    • Jun 2011
                    • 47
                    • 4.1.x

                    #10
                    Hi Lynne,

                    I have tried both text and html in the Content type. With one (text, I think) I get the code I put in. With the other I get just the box with no content. (And, although I typed the image file name with a space in a reply here, I didn't do that in the block menu).

                    Comment

                    • Wayne Luke
                      vBulletin Technical Support Lead
                      • Aug 2000
                      • 73976

                      #11
                      A blank box would mean your browser can't find the image. Right click on it and view source... Or inspect the element with Firebug or developer tools. What does it say?
                      Translations provided by Google.

                      Wayne Luke
                      The Rabid Badger - a vBulletin Cloud demonstration site.
                      vBulletin 5 API

                      Comment

                      • Trevor Hannant
                        vBulletin Support
                        • Aug 2002
                        • 24323
                        • 5.7.X

                        #12


                        Not Found

                        The requested URL /images/FrontCover2.jpeg was not found on this server.
                        If I change the extension to .jpg (i.e. http://www.forum.parentingbytemperam...rontCover2.jpg) then the image shows OK - try changing it in the Block
                        Vote for:

                        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                        Comment

                        • nharkey
                          Member
                          • Jun 2011
                          • 47
                          • 4.1.x

                          #13
                          Trevor, it is a small stroke of genius. Taking the e out of jpeg did it. Thanks to all who helped on this. Last question: is there any way to remove the box title that sits on top of the block (says something like customhtml/php)? It seems unnecessary.

                          Comment

                          • Lynne
                            Former vBulletin Support
                            • Oct 2004
                            • 26255

                            #14
                            You would need to edit the template to remove that.

                            To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

                            Please don't PM or VM me for support - I only help out in the threads.
                            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                            Want help modifying your vbulletin forum? Head on over to vbulletin.org
                            If I post CSS and you don't know where it goes, throw it into the additional.css template.

                            W3Schools &lt;- awesome site for html/css help

                            Comment

                            • nharkey
                              Member
                              • Jun 2011
                              • 47
                              • 4.1.x

                              #15
                              Thanks Lynne, I hope that does it!

                              Comment

                              Related Topics

                              Collapse

                              Working...