cheat-master30
12-23-2007, 10:00 PM
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)
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)