Back to vBulletin 3.7 Template Modifications

Put tags box above the text editor
Mod Version: 1.00, by RC.

This modification is in the archives.
vB Version: 3.7.0 Rating: (3 votes - 5.00 average) Installs: 31
Released: 17 May 2008 Last Update: Never Downloads: 13
Not Supported Template Edits  

vbulletin 3.7 gets a lot of functionalities, includding tags. The problem is that the tag box appears at the bottom of the text editor.



The solution for this issue is a simple template modification

1st option:



2nd option (recommended)



1st option:

1- In newthread find and delete:

PHP Code:
<if condition="$show['tag_option']">
        <
fieldset class="fieldset" style="margin-top: $stylevar[cellpadding]px">
            <
legend>$vbphrase[tags]</legend>
            <
div style="padding:$stylevar[formspacer]px">
                <
div>$vbphrase[separate_tags_using_comma]</div>
                <
span id="tag_add"><input type="text" class="bginput" name="taglist" id="tag_add_input" value="$newpost[taglist]size="40" /></span>
                <if 
condition="$show['tags_remain']"><div><phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags_to_thread]</phrase></div></if>
        </
div>

            <if 
condition="$show['popups']">
                <
div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
                <
script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
                <
script type="text/javascript">
                <!--
                
vbmenu_register('tag_add'true);
                
tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp''tag_add_input''tag_add');
                
tag_add_comp.allow_multiple true;
                
//-->
                
</script>
            </if>
        </
fieldset>
        </if> 
2- In newthread find:

PHP Code:
src="$selectedicon[src]alt="$selectedicon[alt]/></td>
        </
tr>
        </
table>
        <!-- / 
subject field --> 
Add below:

PHP Code:
<if condition="$show['tag_option']">
        <
fieldset class="fieldset" style="margin-top: $stylevar[cellpadding]px">
            <
legend>$vbphrase[tags]</legend>
            <
div style="padding:$stylevar[formspacer]px">
                <
div>$vbphrase[separate_tags_using_comma]</div>
                <
span id="tag_add"><input type="text" class="bginput" name="taglist" id="tag_add_input" value="$newpost[taglist]size="40" /></span>
                <if 
condition="$show['tags_remain']"><div><phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags_to_thread]</phrase></div></if>
        </
div>

            <if 
condition="$show['popups']">
                <
div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
                <
script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
                <
script type="text/javascript">
                <!--
                
vbmenu_register('tag_add'true);
                
tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp''tag_add_input''tag_add');
                
tag_add_comp.allow_multiple true;
                
//-->
                
</script>
            </if>
        </
fieldset>
        </if> 
Save the changes.

2nd option (recommended)

1- In newthread find and delete:

PHP Code:
<if condition="$show['tag_option']">
        <
fieldset class="fieldset" style="margin-top: $stylevar[cellpadding]px">
            <
legend>$vbphrase[tags]</legend>
            <
div style="padding:$stylevar[formspacer]px">
                <
div>$vbphrase[separate_tags_using_comma]</div>
                <
span id="tag_add"><input type="text" class="bginput" name="taglist" id="tag_add_input" value="$newpost[taglist]size="40" /></span>
                <if 
condition="$show['tags_remain']"><div><phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags_to_thread]</phrase></div></if>
        </
div>

            <if 
condition="$show['popups']">
                <
div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
                <
script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
                <
script type="text/javascript">
                <!--
                
vbmenu_register('tag_add'true);
                
tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp''tag_add_input''tag_add');
                
tag_add_comp.allow_multiple true;
                
//-->
                
</script>
            </if>
        </
fieldset>
        </if> 
2- In newthread find:

PHP Code:
src="$selectedicon[src]alt="$selectedicon[alt]/></td>
        </
tr>
        </
table>
        <!-- / 
subject field --> 
Add below:

PHP Code:
<if condition="$show['tag_option']">
        
            <
legend>$vbphrase[tags]</legend>
            <
div style="padding:$stylevar[formspacer]px">
                <
div>$vbphrase[separate_tags_using_comma]</div>
                <
span id="tag_add"><input type="text" class="bginput" name="taglist" id="tag_add_input" value="$newpost[taglist]size="40" /></span>
                <if 
condition="$show['tags_remain']"><div><phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags_to_thread]</phrase></div></if>
        </
div>

            <if 
condition="$show['popups']">
                <
div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
                <
script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
                <
script type="text/javascript">
                <!--
                
vbmenu_register('tag_add'true);
                
tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp''tag_add_input''tag_add');
                
tag_add_comp.allow_multiple true;
                
//-->
                
</script>
            </if>
        
        </if> 
Save the changes.

If you Like This Mod

more info only in spanish :

http://www.entrebits.cl/foros/vbulletin/12318-subir-cuadro-agregar-tags-de-vbulletin-3-7-a.html#post44716

Enjoy

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024