2 small issues I need to attack...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ApexSpeed
    Member
    • Dec 2004
    • 59
    • 3.8.x

    2 small issues I need to attack...

    I just completed a conversion from UBB 6.4 (classic), and everything went very smoothly. One small hitch, though, is that I have users who lost all of their IM conversations. About 375 of the IM histories translated fine, but there are a few who have lost them all. I can go back to the original board to see the IMs, they just never made it over in the conversion. I re-ran the IM import to no avail.

    Also, here's one that is confounding me.

    I wrote a piece of code to build my site's navigation header to embed into the forums to match the rest of the site. It has a Javascript rollover button bar and is fairly simple. I dropped it into the header CSS template in the Style Manager, made sure the code pointed to the script library on the server, and it works perfectly.

    Until you get on an interior forum thread page. The rollovers vanish, though the buttons still work, and the links still go to the right place. I re-coded the script to point to the script library as an absolute link, so that regardless of where the forums or the site looked for the scripts, they would be in the same place, but that didn't work.

    Looking at the source code of both a functioning forum page and a non functioning forum page (rollover script), they are both identical. One works and the other doesn't.

    I'm stumped. Any ideas? Did I make a sloppy code mistake?


    Here's the code for the nav bar that is in the header template:


    Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
    
    <!--
      NEW HEADER &amp; NAVBAR
      
      Now that the nav buttons are in the
      navbar template, you can stick whatever
      you like into this space.
    
      This makes it much easier for novice
      admins to customize their header
      template without affecting important
      navigation elements.
    -->
    <csscriptdict import>
    			<script type="text/javascript" src="http://www.********.com/GeneratedItems/CSScriptLib.js"></script>
    		</csscriptdict>
    		<csactiondict>
    			<script type="text/javascript"><!--
    var preloadFlag = false;
    function preloadImages() {
    	if (document.images) {
    		pre_header_on_03 = newImage('images/header/header_on_03.gif');
    		pre_header_on_04 = newImage('images/header/header_on_04.gif');
    		pre_header_on_05 = newImage('images/header/header_on_05.gif');
    		pre_header_on_06 = newImage('images/header/header_on_06.gif');
    		pre_header_on_07 = newImage('images/header/header_on_07.gif');
    		pre_header_on_08 = newImage('images/header/header_on_08.gif');
    		pre_header_on_09 = newImage('images/header/header_on_09.gif');
    		preloadFlag = true;
    	}
    }
    
    // --></script>
    		</csactiondict>
    
    	<body onload="preloadImages();" bgcolor="black" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
    		<table width="780" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="white" height="100%">
    			<tr align="center" valign="top">
    		    	<td align="center" valign="top"><img src="images/header/header_01.gif" alt="" height="98" width="780" usemap="#header_01be3d3f3b" border="0"><br>
    		    		<map name="header_01be3d3f3b"><area title="dirtoval.com" shape="rect" coords="521,52,702,87" href="../index.html" alt="home"></map><img src="images/header/header_02.gif" alt="" width="8" height="21" border="0"><a onmouseover="changeImages('header_03','images/header/header_on_03.gif');return true" onmouseout="changeImages('header_03','images/header/header_03.gif');return true" href="http://www.******.com/forums"><img id="header_03" src="images/header/header_03.gif" alt="" name="header_03" width="62" height="21" border="0"></a><a onmouseover="changeImages('header_04','images/header/header_on_04.gif');return true" onmouseout="changeImages('header_04','images/header/header_04.gif');return true" href="#"><img id="header_04" src="images/header/header_04.gif" alt="" name="header_04" width="72" height="21" border="0"></a><a onmouseover="changeImages('header_05','images/header/header_on_05.gif');return true" onmouseout="changeImages('header_05','images/header/header_05.gif');return true" href="#"><img id="header_05" src="images/header/header_05.gif" alt="" name="header_05" width="65" height="21" border="0"></a><a onmouseover="changeImages('header_06','images/header/header_on_06.gif');return true" onmouseout="changeImages('header_06','images/header/header_06.gif');return true" href="#"><img id="header_06" src="images/header/header_06.gif" alt="" name="header_06" width="71" height="21" border="0"></a><a onmouseover="changeImages('header_07','images/header/header_on_07.gif');return true" onmouseout="changeImages('header_07','images/header/header_07.gif');return true" href="#"><img id="header_07" src="images/header/header_07.gif" alt="" name="header_07" width="60" height="21" border="0"></a><a onmouseover="changeImages('header_08','images/header/header_on_08.gif');return true" onmouseout="changeImages('header_08','images/header/header_08.gif');return true" href="#"><img id="header_08" src="images/header/header_08.gif" alt="" name="header_08" width="69" height="21" border="0"></a><a onmouseover="changeImages('header_09','images/header/header_on_09.gif');return true" onmouseout="changeImages('header_09','images/header/header_09.gif');return true" href="#"><img id="header_09" src="images/header/header_09.gif" alt="" name="header_09" width="69" height="21" border="0"></a><img src="images/header/header_10.gif" alt="" width="304" height="21" border="0"><br>
    		    		<img src="images/header/header_11.gif" alt="" width="476" height="81" usemap="#header_11be3d3f6d" border="0"><img src="images/header/header_12.gif" alt="" width="304" height="81" border="0"><map name="header_11be3d3f6d"><area title="home" shape="rect" coords="113,57,142,65" href="../index.html" alt="home"><area shape="rect" coords="243,57,344,65" href="#" alt=""><area shape="rect" coords="169,57,215,65" href="mailto:*@********.com" alt=""></map></td>
    
    	</td>
    </tr>
    </table>
    <!-- /logo -->
    
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    vBulletin does not have a function for IM histories.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • ApexSpeed
      Member
      • Dec 2004
      • 59
      • 3.8.x

      #3
      Excuse my syntax, I meant to say PM histories. Some user's private messages vansished while other's converted properly. Any ideas?


      doug

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        That sounds like a bad import. Did you update all the counters afterwords? If you did, then you might want to redo this import.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • ApexSpeed
          Member
          • Dec 2004
          • 59
          • 3.8.x

          #5
          All of the counters were updated, and then I re-imported the PMs. I will try it again, and do both one more time.


          Thanks,


          doug

          Comment

          • ApexSpeed
            Member
            • Dec 2004
            • 59
            • 3.8.x

            #6
            PMs were re-imported, then the forums were re-indexed, and still the same number of users lost their PMs. My work-around was to re-open the old board, toggle all of the old forums off, then allow users to retreive their old posts.

            I am still suffering Javascript rollover issues, though. Might anyone have any insight as to why the header is not functioning correctly in all template pages?

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              You can't redeclare the body tag once its already been declared, and you are inside of it

              Comment

              • ApexSpeed
                Member
                • Dec 2004
                • 59
                • 3.8.x

                #8
                Thank you, thank you, thank you! Actually, it was a duplicate <body onload="$onload"> string from the header as well as the template for SHOWTHREAD. I removed the "onload" command from the body of the SHOWTHREAD page, to leave just the opening <body> tag, and everything works. Thank you VERY much for that catch.


                doug

                Comment

                • Zachery
                  Former vBulletin Support
                  • Jul 2002
                  • 59097

                  #9
                  The wysiwyg editor won't work now though

                  Comment

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