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
  #12  
Old 07-04-2008, 07:59 AM
rowlandc rowlandc is offline
 
Join Date: Jan 2007
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LAJAURIA View Post
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.
Reply With Quote
  #13  
Old 10-24-2008, 01:46 AM
transparent transparent is offline
 
Join Date: Apr 2008
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is fantastic. Thx!
Reply With Quote
  #14  
Old 01-13-2009, 02:26 PM
transparent transparent is offline
 
Join Date: Apr 2008
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect on 3.8!
Reply With Quote
  #15  
Old 01-15-2009, 11:24 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont understand the second optional edit. Isnt it the same as the first edit?
________
Nevada Medical Marijuana
Reply With Quote
  #16  
Old 05-20-2009, 02:27 AM
RC.'s Avatar
RC. RC. is offline
 
Join Date: Mar 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the first option is framed and the second frameless....
Reply With Quote
  #17  
Old 10-22-2010, 08:47 PM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Touch, worked perfectly on vB3.8.6PL1 THANXX RC.
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 10:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05036 seconds
  • Memory Usage 2,339KB
  • 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)bbcode_quote
  • (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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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