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

Reply
 
Thread Tools
Tags Link Under Search Form Details »»
Tags Link Under Search Form
Version: 1.00, by cheat-master30 cheat-master30 is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.0 Beta 3 Rating:
Released: 12-23-2007 Last Update: Never Installs: 12
Template Edits
Re-useable Code Translations  
No support by the author.

Okay, as you all should probably know, there is no clear link to the tag cloud in the latest version of vBulletin in an easy format to find, and there doesn't seem to be a way to link to it or search them under the quick search form. Well this simply adds another two rows and a minor link to the tags page under the quick search. I plan to also add a tag search box there as well soon.

Features:
  1. XHTML 1.0 Transitional Valid
  2. Has the access key which I heard is for disabled users.
  3. Adds link to tags page on the forum in a more conveniant location than the Options drop down.
To add:

Find:

Code:
        $template_hook[navbar_search_menu]
Add Underneath:
Code:
<tr>
    <td class="thead">Topic Tags</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
<form action="tags.php" method="get">
<if condition="$session['sessionhash']">
    <input type="hidden" name="s" value="$session[sessionhash]" />
</if>

    
        <span id="tag_wrapper"><input type="text" id="tag_input" name="tag" size="25" style="width: 80%" class="bginput" autocomplete="off" /></span>
<p>
        <input type="submit" class="button" value="$vbphrase[search]" /></p>
    </div>
</form>
<a href="tags.php$session[sessionurl_q]" accesskey="6">View Tag Cloud</a>
</td>
</tr>
It should be before:
Code:
        </table>
    </div>
    <!-- / header quick search form -->
If you just want the tags link, just add:

Code:
<tr>
    <td class="thead">Topic Tags</td>
        </tr>
<tr><td class="vbmenu_option">
<a href="tags.php$session[sessionurl_q]" accesskey="6">View Tag Cloud</a>
</td>
</tr>
Instead of the last code.

Also, remove the tags link from under Quick Links.

Alternate Code by Glorify:

(Add in same place)

Code:
<tr>
    <td class="thead">Search Tags</td>
       </tr>
       <tr>
            <td class="vbmenu_option" title="nohilite">
<form action="tags.php" method="get">
<if condition="$session['sessionhash']">
       <input type="hidden" name="s" value="$session[sessionhash]" />
</if> 
   
    <div><input type="text" id="tag_input" name="tag" size="25" class="bginput" autocomplete="off" /><input type="submit" class="button" value="$vbphrase[go]" />
</div>
</form>
</td>
</tr>       
<tr>
    <td class="vbmenu_option">
<div><a href="tags.php$session[sessionurl_q]" accesskey="6" rel="nofollow">View Tag Cloud</a></div>
</td>
</tr>
Attachment 73995

Notes:

This just mainly uses the tag search from the tags page and puts it in a location easily usable underneath the other search boxes.

It suffers from a problem the tag search page did anyway. If nothing was tagged, then a minor error message will appear.

Demos:

http://www.glorifythepast.com/?styleid=40

http://dsultimate.net/Board/upload/index.php (link only)

Show Your Support

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

Comments
  #2  
Old 12-30-2007, 06:32 PM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any demo or screen shot please...
Reply With Quote
  #3  
Old 12-30-2007, 10:53 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yeah, I need to upload that.
Reply With Quote
  #4  
Old 12-31-2007, 01:33 AM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea. Didn't look stock so I redid it. Use it if you want, works and looks great:

Add Underneath in the same spot instead:
Code:
<tr>
    <td class="thead">Search Tags</td>
       </tr>
       <tr>
            <td class="vbmenu_option" title="nohilite">
<form action="tags.php" method="get">
<if condition="$session['sessionhash']">
       <input type="hidden" name="s" value="$session[sessionhash]" />
</if> 
   
    <div><input type="text" id="tag_input" name="tag" size="25" class="bginput" autocomplete="off" /><input type="submit" class="button" value="$vbphrase[go]" />
</div>
</form>
</td>
</tr>       
<tr>
    <td class="vbmenu_option">
<div><a href="tags.php$session[sessionurl_q]" accesskey="6" rel="nofollow">View Tag Cloud</a></div>
</td>
</tr>

DEMO (I have a custom navbar, but the search drop down looks default when clicked )

Not good at plugins, but it'd be a great one.
Reply With Quote
  #5  
Old 12-31-2007, 04:18 AM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i added it under:

<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</form>

works great, thanks man
Reply With Quote
  #6  
Old 12-31-2007, 12:59 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Playa82 View Post
i added it under:

<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</form>

works great, thanks man
Looks good.
Reply With Quote
  #7  
Old 12-31-2007, 06:04 PM
Dave Alcock Dave Alcock is offline
 
Join Date: Aug 2006
Location: Durban, South Africa
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice. For anyone using vBadvanced, remember to add tags.php to the navbar replacements.
Reply With Quote
  #8  
Old 02-19-2008, 11:36 AM
Roflstilzchen Roflstilzchen is offline
 
Join Date: Nov 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool mod :up:
Reply With Quote
  #9  
Old 05-02-2008, 06:02 PM
Ted Clore Ted Clore is offline
 
Join Date: Apr 2007
Location: Michigan
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, works great and fills in a vBulletin Tags weakness.
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 02:34 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.04255 seconds
  • Memory Usage 2,289KB
  • Queries Executed 24 (?)
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
  • (6)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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete