PDA

View Full Version : New Posting Features - Put tags box above the text editor


RC.
05-16-2008, 10:00 PM
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.

https://vborg.vbsupport.ru/external/2008/05/47.jpg

The solution for this issue is a simple template modification

1st option:

https://vborg.vbsupport.ru/external/2008/05/48.jpg

2nd option (recommended)

https://vborg.vbsupport.ru/external/2008/05/49.jpg

1st option:

1- In newthread find and delete:

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

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

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

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

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

<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 Mark INSTALLED (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=179517)

more info only in spanish :

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

Enjoy

ShadowOne
05-17-2008, 07:44 AM
Reserved, will install later

redraider
05-17-2008, 12:57 PM
reserved ...

henrikhansen
05-17-2008, 01:03 PM
Very good idea, installed.

Super Jinni
05-17-2008, 10:07 PM
yeah

good idea

thanks

karlm
05-18-2008, 11:24 PM
What's the difference between this one and this one (https://vborg.vbsupport.ru/showthread.php?t=176624)?

RC.
05-26-2008, 01:10 AM
sorry, I don't see your hack before, this offers two options, framed and frameless.

callumbush
05-28-2008, 06:33 PM
If a post has no tags, it will not let me edit the post and add some. The edit tags link doesn't do anything when I click on it.

If I try to edit the tags of a post that already has tags, this works fine.

Can you help?

callumbush
05-30-2008, 08:02 PM
hmm it seems to have fixed itself when I installed vbSEO.....!

LAJAURIA
06-30-2008, 07:10 AM
One problem:

When you type the topic title, and press Tab, it jumps to the text area.

Any way of jumping to Tags area when Tab?

rowlandc
07-04-2008, 07:59 AM
One problem:

When you type the topic title, and press Tab, it jumps to the text area.

Any way of jumping to Tags area when Tab?

I'm not 100% sure but that might require you to actually edit the core files.

transparent
10-24-2008, 01:46 AM
This is fantastic. Thx!

transparent
01-13-2009, 02:26 PM
Works perfect on 3.8!

Sweeks
01-15-2009, 11:24 PM
I dont understand the second optional edit. Isnt it the same as the first edit?
________
Nevada Medical Marijuana (http://nevada.dispensaries.org/)

RC.
05-20-2009, 02:27 AM
the first option is framed and the second frameless....

adwade
10-22-2010, 08:47 PM
Nice Touch, worked perfectly on vB3.8.6PL1 THANXX RC.