Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
QuickTab Details »»
QuickTab
Version: 1.00, by M-Tuning M-Tuning is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 05-28-2008 Last Update: Never Installs: 39
Template Edits
Additional Files  
No support by the author.

Info:
I wanted a nice dropdown menu with a login form and if you have logged in there are QuickLinks.
I used mootools for it, works really good.
All texts are phrased, so when you install it it's in the language of your board.
Just download and install if you like it

Demo:
Here's a demo for you of how it works: Demo here


Installation:
1. Download QuickTab.zip and upload the tab file in your forum directory.

2. In the headinclude template find

Code:
<!-- / CSS Stylesheet -->
And add below:

Code:
<link href="tab/tabstyle.css" rel="stylesheet" type="text/css" />
<link href="tab/tab.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="tab/mootools.v1.00.js"></script>
<script type="text/javascript" src="tab/tabset.js"></script>
3. After that add on top of the header template:

Code:
<if condition="$bbuserinfo['usergroupid'] != 1">

<div id="fxContainer">
    <div id="fxTarget">
        <div id="fxPadding" class="wrapper">
            <div class="moduletable">
                <h3>$vbphrase[quick_links]:</h3>
                <form>
                    <div class="loginelement">
                        <a href="usercp.php">$vbphrase[user_cp]</a> </div>
                    <div class="loginelement">
                        <a href="search.php?do=getnew">$vbphrase[new_posts]</a>
                    </div>
                    <div class="loginelement">
                        <a href="search.php">$vbphrase[advanced_search]</a>
                    </div>
                    <div class="loginelement">
                        <a href="forumdisplay.php?do=markread">$vbphrase[mark_forums_read]</a>
                    </div>
                    <div class="loginelement">
                        <a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">
                        $vbphrase[log_out]</a> </div>
                </form>
            </div>
        </div>
    </div>
    <div id="fxShadow">
    </div>
    <div id="fxTab">
        <span id="fxTrigger">&nbsp;</span> </div>
</div>
<else />


<div id="fxContainer">
    <div id="fxTarget">
        <div id="fxPadding" class="wrapper">
            <div class="moduletable">
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                    <input type="hidden" name="do" value="login" />
                    <input type="hidden" name="url" value="/" />
                    <input type="hidden" name="vb_login_md5password" />
                    <input type="hidden" name="vb_login_md5password_utf" />
                    <input type="hidden" name="s" value="$session[sessionhash]" />
                    $vbphrase[username]<label>:<input name="vb_login_username" type="text" id="login" tabindex="1" class="bginput" accesskey="u" /></label> 
                    $vbphrase[password]<label>:<input name="vb_login_password" type="password" id="password" tabindex="1" class="bginput" /></label>
                    <label>$vbphrase[remember_me]<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" /></label>
                    <input name="submit" type="submit" id="submit" tabindex="1" value="$vbphrase[log_in]" accesskey="s" class="button" />
                </form>
            </div>
        </div>
    </div>
    <div id="fxShadow">
    </div>
    <div id="fxTab">
        <span id="fxTrigger">&nbsp;</span> </div>
</div>
</if>
To change the tab text:
Go to /tab/tabset.js to change the Open Menu > Close Menu text.
All other texts are vBulletin phrases.

To change the color of the tab:
Change fx-tab.png with photoshop or a similar program that handles transparent png's to the color you want.

After you've done that you have to change the following:

Find in tab.css:
Code:
#fxTarget { 
    background: #3e5a7d;
And change #3e5a7d to the colorcode you want the tab to be.

Alternate QuickTab:
You can find an alternative layout here

Versions:
v1.0 - May 29. 2008.
-First release


Please click INSTALL if you like this hack.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-29-2008, 09:17 AM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's an alternate QuickTab layout:

Use this code instead of the code in step 3.


3. After that add on top of the header template:

Code:
<if condition="$bbuserinfo['usergroupid'] != 1">

<div id="fxContainer">
  <div id="fxTarget">
    <div id="fxPadding" class="wrapper">
      <div class="moduletable">
        <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
          <tr align="center">

        <td>
              <a href="usercp.php">$vbphrase[user_cp]</a>
            </td>

            <td id="pmmenu">
              <a href="$show[nojs_link]#pmmenu" accesskey="3">$vbphrase[private_messages]</a>
              <script type="text/javascript"> vbmenu_register("pmmenu"); </script>
            </td>
        
            <td id="myprofile">
              <a href="$show[nojs_link]#myprofile" accesskey="3">$vbphrase[my_profile]</a>
              <script type="text/javascript"> vbmenu_register("myprofile"); </script>
            </td>

            <td id="mynetwork">
              <a href="$show[nojs_link]#mynetwork" accesskey="3">$vbphrase[networking]</a>
              <script type="text/javascript"> vbmenu_register("mynetwork"); </script>
            </td>

            <td>
              <a href="forumdisplay.php?do=markread">$vbphrase[mark_forums_read]</a>
            </td>

            <td>
              <a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a>
            </td>

          </tr>
        </table>
      </div>
    </div>
  </div>
  <div id="fxShadow">
  </div>
  <div id="fxTab">
    <span id="fxTrigger">&nbsp;</span> 
  </div>
</div>

<else />

<div id="fxContainer">
  <div id="fxTarget">
    <div id="fxPadding" class="wrapper">
      <div class="moduletable">
        <table align="center" cellpadding="6" cellspacing="1" border="0">
          <tr>

            <td valign="top" align="left" style="border:0px;" width="50%">
              <div class="loginelement">
                <a href="register.php">$vbphrase[register]</a>
              </div>
            </td>

            <td valign="top" align="left" style="border:0px;" width="50%">
              <div class="loginelement">
                <a href="/">Homepage</a>
              </div>
            </td>

          </tr>
        </table>
      </div>
    </div>
  </div>
  <div id="fxShadow">
  </div>
  <div id="fxTab">
    <span id="fxTrigger">&nbsp;</span>
  </div>
</div>

</if>

<!-- pm menu -->
    <div class="vbmenu_popup" id="pmmenu_menu" style="display:none" align="$stylevar[center]">
      <table cellpadding="4" cellspacing="1" border="0">
            
                <if condition="$show['pmmainlink']">
                  <tr>
                    <td class="vbmenu_option">
                      <a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[inbox]</a>
                    </td>
                  </tr>
                </if>
                  <tr>
                    <td class="vbmenu_option">
                      <a href="private.php?&pp=&folderid=-1">$vbphrase[sent_items]</a>
                    </td>
                  </tr>
                  <tr>
                    <td class="vbmenu_option">
                      <a href="private.php?do=newpm">$vbphrase[post_new_private_message]</a>
                    </td>
                  </tr>
                  <tr>
                    <td class="vbmenu_option">
                      <a href="private.php?do=editfolders">$vbphrase[your_folders]</a>
                    </td>
                  </tr>

      </table>
    </div>
<!-- /pm menu -->


<!-- my profile menu -->
    <div class="vbmenu_popup" id="myprofile_menu" style="display:none" align="$stylevar[center]">
      <table cellpadding="4" cellspacing="1" border="0">
            
        <tr>
                  <td class="vbmenu_option">
                    <a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a>
                  </td>
                </tr>
                <tr>
                  <td class="vbmenu_option">
                    <a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a>
                  </td>
                </tr>
                <tr>
                  <td class="vbmenu_option">
                    <a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a>
                  </td>
                </tr>
                <tr>
                  <td class="vbmenu_option">
                    <a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a>
                  </td>
                </tr>
              <if condition="$show['profilepiclink']">
                <tr>
                  <td class="vbmenu_option">
                    <a href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a>
                  </td>
                 </tr>
               </if>
               <if condition="$show['avatarlink']">
                <tr>
                  <td class="vbmenu_option">
                    <a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a>
                  </td>
                </tr>
              </if>
              <if condition="$show['siglink']">
                <tr>
                  <td class="vbmenu_option">
                    <a profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a>
                  </td>
                </tr>
              </if>
                <tr>
                  <td class="vbmenu_option">
                    <a href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a>
                  </td>
                </tr>

      </table>
    </div>
<!-- /my profile menu -->

<!-- my network menu -->
    <div class="vbmenu_popup" id="mynetwork_menu" style="display:none" align="$stylevar[center]">
      <table cellpadding="4" cellspacing="1" border="0">
            
        <tr>
                  <td class="vbmenu_option">
                    <a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a>
                  </td>
                </tr>
                <tr>
                  <td class="vbmenu_option">
                    <a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a>
                  </td>
                </tr>
              <if condition="$show['publicgroups']">
                <tr>
                  <td class="vbmenu_option"> 
                    <a href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a>
                  </td>
                </tr>
              </if>
                <tr>
                  <td class="vbmenu_option"> 
                    <a href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a>
                  </td>
                </tr>
                <tr>
                  <td class="vbmenu_option">
                    <a href="album.php?$session[sessionurl]do=addalbum">$vbphrase[add_album]</a>
                  </td>
                </tr>

      </table>
    </div>
<!-- /my network menu -->
This code has been altered by Julrou.

You can see al real life demo on his site: http://www.informatiquefacile.eu/forums
Reply With Quote
  #3  
Old 05-29-2008, 09:25 AM
Nikke Nikke is offline
 
Join Date: Nov 2005
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, great work man!
Reply With Quote
  #4  
Old 05-29-2008, 09:26 AM
Fırtına Fırtına is offline
 
Join Date: Mar 2008
Location: Saudi Arabia / Turkey
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #5  
Old 05-29-2008, 10:17 AM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks really interesting - I will try later thanks.
Reply With Quote
  #6  
Old 05-29-2008, 12:40 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I go to make the pull down wider so it accomodates more than one row?

Never mind... Found it. Thanks. I've always wanted that rockettheme pulldown.
Reply With Quote
  #7  
Old 05-29-2008, 01:21 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a live example http://www.vbcover.com/
Reply With Quote
  #8  
Old 05-29-2008, 04:53 PM
Nikke Nikke is offline
 
Join Date: Nov 2005
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
Here is a live example http://www.vbcover.com/
Mind you that you only have an "open" option in your quicktab. It can't be closed for some reason!
Reply With Quote
  #9  
Old 05-29-2008, 06:11 PM
jacx jacx is offline
 
Join Date: Mar 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great, just simply great!
Reply With Quote
  #10  
Old 05-29-2008, 06:53 PM
jacx jacx is offline
 
Join Date: Mar 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a question, im not a coder so excuse me if i ask the obvious!

The drop down is great, however is there a way of dropping down twice.

What i mean is say for example i open the tab, i see gaming so i click the tab OR hover over it, is there a way it can then drop down with more options/links.

I got a number of things i want to add, but rather than being rows, expanding the drop downs would be better and look sexy as hell!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04548 seconds
  • Memory Usage 2,332KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete