PDA

View Full Version : Mini Mods - Tags Link Under Search Form


cheat-master30
24 Dec 2007, 17:29
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:
XHTML 1.0 Transitional Valid
Has the access key which I heard is for disabled users.
Adds link to tags page on the forum in a more conveniant location than the Options drop down.To add:

Find:

$template_hook[navbar_search_menu]Add Underneath:

<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:

</table>
</div>
<!-- / header quick search form -->If you just want the tags link, just add:

<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)


<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>

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)

Forum Lover
30 Dec 2007, 20:32
any demo or screen shot please...

cheat-master30
31 Dec 2007, 00:53
Oh yeah, I need to upload that.

glorify
31 Dec 2007, 03:33
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:
<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 (http://www.glorifythepast.com/?styleid=40) (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.

Playa82
31 Dec 2007, 06:18
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

glorify
31 Dec 2007, 14:59
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.

Dave Alcock
31 Dec 2007, 20:04
Nice. For anyone using vBadvanced, remember to add tags.php to the navbar replacements.

Roflstilzchen
19 Feb 2008, 13:36
cool mod :up:

Ted Clore
02 May 2008, 20:02
Thanks, works great and fills in a vBulletin Tags weakness.