Dont know if I do this here or not.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr. X
    Senior Member
    • May 2001
    • 1112
    • 2.3.0

    Dont know if I do this here or not.

    I would like to make the menu (userCP etc) right in the center.

    I tried doing it in the Header box in the Styles page, by changing the Align from right to "center", but it was still offset to the right, but it moved.

    How would I do this? Here is the current code:

    Code:
    <!-- logo and buttons -->
    <center>
    <table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
    <tr>
      <td valign="top" align="left" <a href="index.php3?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
      <td valign="bottom" align="right" nowrap 
       <!-- toplinks -->
       <a href="usercp.php3?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
       <a href="register.php3?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>
       <a href="calendar.php3?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
       <a href="memberlist.php3?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>
       <a href="misc.php3?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
       <a href="search.php3?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
       <a href="index.php3?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
       <!-- <a href="member.php3?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a>  -->
       &nbsp;
       <!-- /toplinks -->
      </td>
    </tr>
    </table>
    <!-- /logo and buttons -->
    
    <!-- content table -->
    <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0">
    <tr>
      <td>
    What am I doing wrong? Do I even do it here?
    website: joe.pcfx.cc
    forums: pcfx.cc
    gallery: here
  • Sinecure
    Senior Member
    • Jul 2001
    • 1519

    #2
    Try replacing it with the following code, this should work for ya..I tested it and it worked for me

    Code:
    <!-- logo and buttons -->
    <center>
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
    <tr>
      <td valign="top" align="left" <a href="index.php3?s=$session[sessionhash]"><img src="images/vBulletin_logo.gif" border="0" alt="$bbtitle"></a></td>
      <td valign="bottom" align="center" nowrap 
       <!-- toplinks -->
       <a href="usercp.php3?s=$session[sessionhash]"><img src="images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
       <a href="register.php3?s=$session[sessionhash]&action=signup"><img src="images/top_register.gif" alt="Registration is free!" border="0"></a>
       <a href="calendar.php3?s=$session[sessionhash]"><img src="images/top_calendar.gif" alt="Calendar" border="0"></a>
       <a href="memberlist.php3?s=$session[sessionhash]"><img src="images/top_members.gif" alt="Find other members" border="0"></a>
       <a href="misc.php3?s=$session[sessionhash]&action=faq"><img src="images/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
       <a href="search.php3?s=$session[sessionhash]"><img src="images/top_search.gif" alt="Search" border="0"></a>
       <a href="index.php3?s=$session[sessionhash]"><img src="images/top_home.gif" alt="Home" border="0"></a>
       <!-- <a href="member.php3?s=$session[sessionhash]&action=logout"><img src="images/top_logout.gif" alt="Logout" border="0"></a>  -->
        
       <!-- /toplinks -->
      </td>
    </tr>
    </table>
    <!-- /logo and buttons -->
    
    <!-- content table -->
    <table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0">
    <tr>
      <td>
    Board of the Month: November
    Websites: Pixeljunction , vBulletin.org
    Button Sets: XP and Aqua Button sets! FREE!
    vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

    Comment

    • Cyrus
      Senior Member
      • Apr 2001
      • 413

      #3
      huh ? I tried that link band the instructions on it but I have only 2 lines in my header box in styles from admincp.

      I tried adding that code, it didnt work



      i use version 2.0.3

      maybe thats why ..... ?

      Comment

      • Sinecure
        Senior Member
        • Jul 2001
        • 1519

        #4
        Did you want the buttons centered between LEFT & RIGHT, or did you want them centered between UP & DOWN?

        Try using the following code, I am using 2.0.3 as well..

        Code:
        <!-- logo and buttons -->
        <center>
        <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top" align="left" <a href="index.php3?s=$session[sessionhash]"><img src="images/vBulletin_logo.gif" border="0" alt="$bbtitle"></a></td>
          <td valign="middle" align="center" nowrap 
           <!-- toplinks -->
           <a href="usercp.php3?s=$session[sessionhash]"><img src="images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
           <a href="register.php3?s=$session[sessionhash]&action=signup"><img src="images/top_register.gif" alt="Registration is free!" border="0"></a>
           <a href="calendar.php3?s=$session[sessionhash]"><img src="images/top_calendar.gif" alt="Calendar" border="0"></a>
           <a href="memberlist.php3?s=$session[sessionhash]"><img src="images/top_members.gif" alt="Find other members" border="0"></a>
           <a href="misc.php3?s=$session[sessionhash]&action=faq"><img src="images/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
           <a href="search.php3?s=$session[sessionhash]"><img src="images/top_search.gif" alt="Search" border="0"></a>
           <a href="index.php3?s=$session[sessionhash]"><img src="images/top_home.gif" alt="Home" border="0"></a>
           <!-- <a href="member.php3?s=$session[sessionhash]&action=logout"><img src="images/top_logout.gif" alt="Logout" border="0"></a>  -->
            
           <!-- /toplinks -->
          </td>
        </tr>
        </table>
        <!-- /logo and buttons -->
        
        <!-- content table -->
        <table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0">
        <tr>
          <td>
        Board of the Month: November
        Websites: Pixeljunction , vBulletin.org
        Button Sets: XP and Aqua Button sets! FREE!
        vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

        Comment

        • Sinecure
          Senior Member
          • Jul 2001
          • 1519

          #5
          If that doesnt work, try this code.

          Code:
          <!-- logo and buttons -->
          <center>
          <table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr>
            <td valign="top" align="left" <a href="index.php3?s=$session[sessionhash]"><img src="images/vBulletin_logo.gif" border="0" alt="$bbtitle"></a></td>
              <td valign="middle" align="center">
              <!-- toplinks -->
             <a href="usercp.php3?s=$session[sessionhash]"><img src="images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
             <a href="register.php3?s=$session[sessionhash]&action=signup"><img src="images/top_register.gif" alt="Registration is free!" border="0"></a>
             <a href="calendar.php3?s=$session[sessionhash]"><img src="images/top_calendar.gif" alt="Calendar" border="0"></a>
             <a href="memberlist.php3?s=$session[sessionhash]"><img src="images/top_members.gif" alt="Find other members" border="0"></a>
             <a href="misc.php3?s=$session[sessionhash]&action=faq"><img src="images/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
             <a href="search.php3?s=$session[sessionhash]"><img src="images/top_search.gif" alt="Search" border="0"></a>
             <a href="index.php3?s=$session[sessionhash]"><img src="images/top_home.gif" alt="Home" border="0"></a>
             <!-- <a href="member.php3?s=$session[sessionhash]&action=logout"><img src="images/top_logout.gif" alt="Logout" border="0"></a>  -->
              
             <!-- /toplinks -->
            </td>
          </tr>
          </table>
          <!-- /logo and buttons -->
          
          <!-- content table -->
          <table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0">
          <tr>
            <td>
          Board of the Month: November
          Websites: Pixeljunction , vBulletin.org
          Button Sets: XP and Aqua Button sets! FREE!
          vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

          Comment

          • Cyrus
            Senior Member
            • Apr 2001
            • 413

            #6
            LEFT & RIGHT center.

            Where do I place this code mate ?

            thanks

            Comment

            • Sinecure
              Senior Member
              • Jul 2001
              • 1519

              #7
              thats your header insert..

              styles>modify>[Fonts/colors/etc]>Header:

              Paste either one of those in..
              Board of the Month: November
              Websites: Pixeljunction , vBulletin.org
              Button Sets: XP and Aqua Button sets! FREE!
              vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

              Comment

              • Cyrus
                Senior Member
                • Apr 2001
                • 413

                #8
                Its onthe right lines but not 100% right

                It makes another set of buttons at the upmost side of the page ( in center which is the only thing correct) . Also, it misses out the FORUM button

                If I do this, it leave sme with two sets of buttons, which looks tupid

                What should i do ?

                Comment

                • Sinecure
                  Senior Member
                  • Jul 2001
                  • 1519

                  #9
                  whats the URL to your board? Let me take a sneak peak at her
                  Board of the Month: November
                  Websites: Pixeljunction , vBulletin.org
                  Button Sets: XP and Aqua Button sets! FREE!
                  vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

                  Comment

                  • Cyrus
                    Senior Member
                    • Apr 2001
                    • 413

                    #10
                    here ya go !

                    Problem here

                    thanks
                    Last edited by Cyrus; Tue 28 Aug '01, 10:32am.

                    Comment

                    • Sinecure
                      Senior Member
                      • Jul 2001
                      • 1519

                      #11
                      oh I see, your using vportal..hmm, let me think here..

                      What set of buttons did you want to get rid of?? the very top ones? or the ones below those.
                      Board of the Month: November
                      Websites: Pixeljunction , vBulletin.org
                      Button Sets: XP and Aqua Button sets! FREE!
                      vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

                      Comment

                      • Mr. X
                        Senior Member
                        • May 2001
                        • 1112
                        • 2.3.0

                        #12
                        Wow, this thread got some posts.

                        Well I tried the code, but it doesnt go all center. See the attatchment for what I would like to get. I;ve tried your code but it still just moves the menu to to the center but still offset to the right some more.
                        website: joe.pcfx.cc
                        forums: pcfx.cc
                        gallery: here

                        Comment

                        • Cyrus
                          Senior Member
                          • Apr 2001
                          • 413

                          #13
                          yep, using vbportal

                          can we remove the BOTTOM RIGHT ones pls ????

                          thanks

                          Comment

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