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
Put tags box above the text editor Details »»
Put tags box above the text editor
Version: 1.00, by RC. RC. is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.0 Rating:
Released: 05-16-2008 Last Update: Never Installs: 31
Template Edits
 
No support by the author.

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

more info only in spanish :

http://www.entrebits.cl/foros/vbulle...html#post44716

Enjoy

Show Your Support

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

Comments
  #2  
Old 05-17-2008, 07:44 AM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved, will install later
Reply With Quote
  #3  
Old 05-17-2008, 12:57 PM
redraider redraider is offline
 
Join Date: Sep 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved ...
Reply With Quote
  #4  
Old 05-17-2008, 01:03 PM
henrikhansen henrikhansen is offline
 
Join Date: Oct 2003
Location: Copenhagen
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good idea, installed.
Reply With Quote
  #5  
Old 05-17-2008, 10:07 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah

good idea

thanks
Reply With Quote
  #6  
Old 05-18-2008, 11:24 PM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the difference between this one and this one?
Reply With Quote
  #7  
Old 05-26-2008, 01:10 AM
RC.'s Avatar
RC. RC. is offline
 
Join Date: Mar 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, I don't see your hack before, this offers two options, framed and frameless.
Reply With Quote
  #8  
Old 05-28-2008, 06:33 PM
callumbush callumbush is offline
 
Join Date: May 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 05-30-2008, 08:02 PM
callumbush callumbush is offline
 
Join Date: May 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm it seems to have fixed itself when I installed vbSEO.....!
Reply With Quote
  #10  
Old 06-30-2008, 07:10 AM
LAJAURIA LAJAURIA is offline
 
Join Date: Mar 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
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:14 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.07818 seconds
  • Memory Usage 2,361KB
  • Queries Executed 23 (?)
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_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete