Announcement

Collapse
No announcement yet.

Code Trashes Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Code Trashes Page

    Every time I use this it crashes the page it is on.. can anyone tell me what is wrong with it.

    HTML Code:
    <center><A HREF="http://www.teamsrgaming.com/forum"><font color = "#6600FF">
    -Sovereign Reapers-Main-Forum-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/main-forum"><font color = "#ffffff">-Reapers-Home-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/reaped-cemetary"><font color = "#ffffff">-Reaped-Cemetary-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/reapers-game"><font color = "#ffffff">-Reapers-Game-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/reapers-game/technilogical-advances"><font color = "#ffffff">-technilogical-advances-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/reapers-game/console-gaming"><font color = "#ffffff">-console-gaming-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/reapers-assassins"><font color = "#ffffff">-reapers-assassins-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/apply-for-membership"><font color = "#ffffff">-apply-for-membership-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/freedom-fighters-forum"><font color = "#ffffff">-freedom-fighters-forum-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/freedom-fighters-forum/clear-and-present-danger"><font color = "#ffffff">-clear-and-present-danger-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/freedom-fighters-forum/survival-tips"><font color = "#ffffff">-survival-tips-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/reapers-adult-emporium"><font color = "#ffffff">-Adult(you must be 18+)-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/reapers-all-about-that"><font color = "#ffffff">-reapers-all-about-that-</font></A>
    <br>
    <A HREF="http://www.teamsrgaming.com/forum/forums"><font color = "#99FF00">-Feed-Back-</font></A></center>

  • #2
    Where are you using it? In a module? In a post? In a template?

    The <center> tag shouldn't be used, you should do <div align="center"> to open and </div> to close

    You use <br> which is HTML, technically for VB you should be using <br /> which is xHTML

    The font tag is also depreciated, you should be using <span style="color:#ffffff;"> text here </span> instead.

    But none of these should crash a page, so I would like to know where exactly you are putting this.

    Comment


    • #3
      In a Html module

      Comment


      • #4
        It works just fine in an HTML module on my test site. What is the exact result when you use it? You say it "crashes the page", but exactly what do you see?

        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


        • #5
          It was erasing the modules on the large side of the page and render it unusable if I tried to put the modules back in the only way I could succeed would be to close the browser restart it and open the page back up and change the page layout save it then go back and change it back to the way it was before and then I could set the page back up as long as I had deleted the that specific module otherwise it would not save them.. I am running it now with the code changes suggested and so far its working.. but remember I have some other admin specific issues like some managers not working to. I have re-run the upgrade to 5.0.1 but that did not fix any of my issues....

          Comment


          • #6
            What browser/OS do you use?

            Comment


            • #7
              I have rewritten your code for you, try using this:
              Code:
              <div align="center">
              <a href="http://www.teamsrgaming.com/forum"><span style="color:#6600FF;">
              -Sovereign Reapers-Main-Forum-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/main-forum"><span style="color:#ffffff;">-Reapers-Home-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/reaped-cemetary"><span style="color:#ffffff;">-Reaped-Cemetary-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/reapers-game"><span style="color:#ffffff;">-Reapers-Game-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/reapers-game/technilogical-advances"><span style="color:#ffffff;">-technilogical-advances-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/reapers-game/console-gaming"><span style="color:#ffffff;">-console-gaming-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/reapers-assassins"><span style="color:#ffffff;">-reapers-assassins-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/apply-for-membership"><span style="color:#ffffff;">-apply-for-membership-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/freedom-fighters-forum"><span style="color:#ffffff;">-freedom-fighters-forum-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/freedom-fighters-forum/clear-and-present-danger"><span style="color:#ffffff;">-clear-and-present-danger-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/freedom-fighters-forum/survival-tips"><span style="color:#ffffff;">-survival-tips-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/reapers-adult-emporium"><span style="color:#ffffff;">-Adult(you must be 18+)-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/reapers-all-about-that"><span style="color:#ffffff;">-reapers-all-about-that-</span></a>
              <br />
              <a href="http://www.teamsrgaming.com/forum/forums"><span style="color:#99FF00">-Feed-Back-</span></a>
              </div>
              MARK.B | vBULLETIN SUPPORT

              TalkNewsUK - My vBulletin 5.6.1 Demo
              AdminAmmo - My Cloud Demo

              Comment


              • WhiskeyOSS
                WhiskeyOSS commented
                Editing a comment
                Thank you I had all ready set it up this way from Joe's post earlier it is working with out issue now.. as a posted earlier..
            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X