Announcement

Collapse
No announcement yet.

vB 3.5 Lite

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

  • vB 3.5 Lite

    I spent a few hours today working on a "Lite" style

    Small preview here



    Hopefully I should be able to finish it tonight

  • #2
    Hurrah!
    Plan, Do, Check, Act!

    Comment


    • #3
      Hmm.. for anyone who has 3.5 up and running

      HTML Code:
      <if condition="is_array($navbits)">
         <table cellpadding="0" cellspacing="0" border="0">
         <tr valign="bottom">
      	<td>&nbsp;</td>
      	<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
         </tr>
         <tr>
      	<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
         </tr> 
         </table>   
        <else />
         <div class="navbar" style="font-size:10pt"><strong>$vboptions[bbtitle]</strong></div>
        </if>
       </td> 
       
      </if>
      <div class="smallfont" align="left">
      <a href="$vboptions[forumhome].php">Home</a>
      <a href="search.php?do=getnew">New Posts</a>
      </div>
      <if condition="$bbuserinfo['userid'] == '0'">
      <br />
      <form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">
        <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
      Login:<input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" /><br />
      &nbsp;Pass:<input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /><br />
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="do" value="login" />  
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
      <input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" accesskey="s" />
        </form>
      </if>
      <br />
      <br />
      When I add this, specificly the conditional for the login, things break, a parse error occurs..

      Comment


      • #4
        what's the code for?

        Comment


        • #5
          Didn't the variable change to $vbulletin->userinfo or something. I haven't looked but most variables have changed.
          Dean Clatworthy - Web Developer/Designer

          Comment


          • #6
            Sorry thats for the navbar,

            Dean in the templates you can use either $vbulletin-> or their old styled varible.

            Comment


            • #7
              Just out of curiosity, but shouldn't the check be ;

              PHP Code:
              <if condition="$bbuserinfo[userid] == 0"
              i.e. no quotes around the userid or zero ?
              Baby, I was born this way

              Comment


              • #8
                Causes the same parse error, and I had a related issue to not using it earlier in the day.

                Comment


                • #9
                  Originally posted by Zachery
                  I spent a few hours today working on a "Lite" style

                  Small preview here



                  Hopefully I should be able to finish it tonight
                  ...If you got rid of tables and made everything semantically-correct XHTML, I would totally <3 you.
                  :)

                  Comment


                  • #10
                    Little to no tables IIRC anyway, matt just pointed out my problem going to see about finishing this in the next few days

                    Comment


                    • #11
                      ah yes, if that was pure xhtml + css with out the tables, = pure sweetness.

                      Comment


                      • #12
                        ATM theres one table, and its for the bread crumb, but I think I will see about doing away with that..

                        Comment


                        • #13
                          Interesting...I'm working on a DISCUS PRO skin myself. ONe the uses only UL and LI to display things and no tables at all.
                          House of Night Forums - An online House of Night roleplaying community,

                          Comment

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