Code issue in HEADER

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74129

    #16
    There is no product manager in 3.0.X... That would only work in 3.5.0 or higher.

    You should ask YesWorld for the code you need to put in the header for just the links you need. Then copy and paste that in the header. The original code you posted does nothing if you are not trapped in someone elses frames.
    Translations provided by Google.

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

    Comment

    • peterska2
      Senior Member
      • Oct 2003
      • 8869
      • 3.7.x

      #17
      ooops my bad.

      Right, back to the 3.0.x way of doing things then

      In your header template, right at the very top, add the following code

      Code:
      <table width="100%" cellspacing=0 cellpadding=0 height=25 background="http://yesworld.com/nav/imgDarkBlueBG.jpg">
      <tr valign="middle"> 
      <td width="20%" align="center"><a href="http://yesworld.com/home.html"><span style="color: #FFFFFF;  text-decoration: none;"><font size ="4">Y</font>ES<font size ="4">W</font>ORLD</span></a></td>
      <td width="10%" align="center" class="smallfont"><a href="http://yesworld.com/ywnews.html"><span style="color: #FFFFFF;  text-decoration: none;">NEWS</span></a></td>
      <td width="10%" align="center" class="smallfont"><a href="http://yesworld.com/ywtour.html"><span style="color: #FFFFFF;  text-decoration: none;">TOUR</span></a></td>
      <td width="10%" align="center" class="smallfont"><a href="http://yesworld.com/stores/storeshome.html"><span style="color: #FFFFFF;  text-decoration: none;">STORES</span></a></td>
      <td width="20%" align="center" class="smallfont"><a href="http://yesworld.com/ywbrnews.html"><span style="color: #FFFFFF;  text-decoration: none;">BAND MEMBERS</span></a></td>
      <td width="10%" align="center" class="smallfont"><a href="http://yesworld.com/ywgallery.html"><span style="color: #FFFFFF;  text-decoration: none;">GALLERY</span></a></td>
      <td width="20%" align="center"><a href="http://yesworld.com/yesnethome.html"><span style="color: #FFFFFF;  text-decoration: none;"><font size ="4">Y</font>ES<font size ="4">N</font>ET</span></a></td>
      </tr>
      </table>
      <!-- bar two -->
      <table align="center" border="0" width="100%" cellspacing="0" cellpadding="0" height="25" background="http://www.yesworld.com/nav/imgBeigeBG.jpg" style="http://www.yesworld.com/nav/ynnav2.css" id="collapseobj_header_bar1" style="$vbcollapse[collapseobj_header_bar1]">
      <tr valign="middle">
      <td align="center" width="18%">
      <a href="#top" onclick="return toggle_collapse('header_bar2')"><span class="smallfont" style="color: #000000; text-decoration: none;"><b>NOTES FROM THE EDGE</b></span></a></td>    
      <td align="center" width="16%"><a href="http://yesworld.com/nav/formnav.html" onClick="parent.main.location='http://yesworld.com/ynpast.html'"; onMouseOver="window.status='Yes Alumni'; return true" onMouseOut="window.status=''; return true"><span class="smallfont" style="color: #000000; text-decoration: none;"><b>ALUMNI</b></span></a></td>
      <td align="center" width="20%"><a href="http://www.forgottenyesterdays.com/" target="main" onMouseOver="window.status='Forgotten Yesterdays'; return true" onMouseOut="window.status=''; return true"><span class="smallfont" style="color: #000000; text-decoration: none;"><b>FORGOTTEN YESTERDAYS</b></span></a></td>
      <td align="center" width="12%"><a href="http://yesservices.com/home.html" target="main" onclick="parent.bottomnav.location='http://yesservices.com/ysnav.html'" onMouseOver="window.status='Providing Information Services To YES Fans Worldwide'; return true" onMouseOut="window.status=''; return true"><span class="smallfont" style="color: #000000; text-decoration: none;"><b>YESSERVICES</b></span></a></td>
      
      <td align="center" width="12%"><a href="http://yesfans.com/" target="main" onMouseOver="window.status='YesFans'; return true" onMouseOut="window.status=''; return true"><span class="smallfont" style="color: #000000; text-decoration: none;"><b>YESFANS</b></span></a></td>
      <td align="center" width="12%"><a href="http://yesworld.com/ynreviews.html" target="main" onMouseOver="window.status='Reviews'; return true" onMouseOut="window.status=''; return true"><span class="smallfont" style="color: #000000; text-decoration: none;"><b>REVIEWS</b></span></a></td>
      <td align="center" width="12%"><a href="http://yesworld.com/nav/yngalnav.html" onClick="parent.main.location='http://yesworld.com/yngallery.html'";    onMouseOver="window.status='YesNet Gallery'; return true"  onMouseOut="window.status=''; return true"><span class="smallfont" style="color: #000000; text-decoration: none;"><b>GALLERY</b></span></a>&nbsp;</td>
      </tr>
      </table>
      
      <!-- / bar two -->
      <table align="center" border="0" width="100%" cellspacing="0" cellpadding="0" height="25" background="http://www.yesworld.com/nav/imgBeigeBG.jpg" style="http://www.yesworld.com/nav/ynnav2.css" colspan="6"  id="collapseobj_header_bar2" style="$vbcollapse[collapseobj_header_bar2]">
      <tr valign="middle" align="center">
      <td align="center"><a href="#top" onclick="return toggle_collapse('header_bar1')"><img src="http://yesworld.com/images/sm_bird.jpg" align="middle" alt="Return to YesNet Navigation Bar" border="0" /></a></td>
      <td width="23%" align="center" class="smallfont"><a href="http://nfte.org/home.html"><span style="color: #000000; text-decoration: none;"><b>NFTE HOME</b></span></a></td>
      <td width="23%" align="center" class="smallfont"><a href="http://nfte.org/current-issue.html"><span style="color: #000000; text-decoration: none;"><b>CURRENT ISSUE</b></span></a></td>
      <td width="23%" align="center" class="smallfont"><a href="http://nfte.org/archives.html"><span style="color: #000000; text-decoration: none;"><b>ARCHIVES</b></span></a></td>
      
      <td width="23%" align="center" class="smallfont"><a href="http://nfte.org/search.html"><span style="color: #000000; text-decoration: none;"><b>SEARCH</b></span></a></td>
      </tr>
      </table>
      It does not work exactly the same, but is as close as I could get it without having to use frames.

      Comment

      • 1yesfan
        Senior Member
        • Feb 2002
        • 616
        • 3.6.x

        #18
        If I was on the newer vb version and could have used the Product thingy would that have worked better, allowing frames? Yesworld says it needs to be installed as frames.
        Tim L
        www.yesfans.com

        Comment

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

          #19
          Then you would need to create a frame document and include their code as needed and load vBulletin in the main content frame.
          Translations provided by Google.

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

          Comment

          • 1yesfan
            Senior Member
            • Feb 2002
            • 616
            • 3.6.x

            #20
            What they wanted me to do was to use a File they sent, save it as my main home page and change the name of my orig home page, index.php I assume it is, and put the name of my renamed page in the code they gave me. I sorta had that working but when folks clicked on links with in the site to go back to the main page it blew up, page not found issues.
            Tim L
            www.yesfans.com

            Comment

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

              #21
              Here is what you would have to do to get it to work in frames:

              1) Copy your vbulletin index.php file to forum.php.

              2) Go into the Admin Control Panel and under vBulletin Options -> Forum Home Page Options, change the "Script Name for Forum Home Page" to forum.

              3) Edit the file provided by YesWorld to include forum.php in the content frame.

              4) Upload that file as index.html.

              5) Remove the code added to your header template.

              6) Delete Index.php.
              Translations provided by Google.

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

              Comment

              • 1yesfan
                Senior Member
                • Feb 2002
                • 616
                • 3.6.x

                #22
                I was close to doing what you posted Wayne. I kept getting hooked up on the way to handle the index.php file.
                Tim L
                www.yesfans.com

                Comment

                • 1yesfan
                  Senior Member
                  • Feb 2002
                  • 616
                  • 3.6.x

                  #23
                  [quote=Wayne Luke;1143517]Here is what you would have to do to get it to work in frames:

                  2) Go into the Admin Control Panel and under vBulletin Options -> Forum Home Page Options, change the "Script Name for Forum Home Page" to forum.

                  quote]


                  This is what I have, which one do I change?

                  Help
                  Site Name / URL / Contact Details Forum Name
                  Name of your forum. This appears in the title of every page.
                  Forum URL
                  URL of your forum.
                  Note: do not add a trailing slash. ("/")
                  Homepage Name
                  Name of your homepage. This appears at the bottom of every page.
                  Homepage URL
                  URL of your home page. This appears at the bottom of every page.
                  Tim L
                  www.yesfans.com

                  Comment

                  • 1yesfan
                    Senior Member
                    • Feb 2002
                    • 616
                    • 3.6.x

                    #24
                    AHh, never mind on my last post!
                    Tim L
                    www.yesfans.com

                    Comment

                    • 1yesfan
                      Senior Member
                      • Feb 2002
                      • 616
                      • 3.6.x

                      #25
                      I finally got it workign Wayne. Thanks much!!!!!
                      Tim L
                      www.yesfans.com

                      Comment

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

                        #26
                        Originally posted by 1yesfan
                        I finally got it workign Wayne. Thanks much!!!!!
                        u sure ?
                        why not upgrade to 3.5
                        -- Web Developer for hire
                        ---Online Marketing Tools and Articles

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...