View Single Post
  #2  
Old 06-05-2012, 05:17 PM
demojames demojames is offline
 
Join Date: Sep 2005
Location: Kent, WA.
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using and tested it in 4.1.11 - Make sure you make a copy of your newthread template

In your newthread Template find:

PHP Code:
{vb:raw posticons
And below remove (or better yet cut):

PHP Code:
<vb:if condition="$show['tag_option']">
            <
div class="blockrow">
                <
label for="tagpopup_ctrl" class="full">{vb:rawphrase tags}:</label>
                <
div id="tagpopup" class="popupmenu nomouseover noclick nohovermenu">
                    <
input type="text" class="primary full textbox popupctrl" name="taglist" id="tagpopup_ctrl" value="{vb:raw newpost.taglist}" tabindex="1" />
                    <
div id="tagpopup_body" class="popupbody">
                    </
div>
                </
div>
                <
script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>
                <
script type="text/javascript">
                <!--
                    
tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp''tagpopup_ctrl''tagpopup');
                    
tag_add_comp.allow_multiple true;
                    
tag_add_comp.set_delimiters('{vb:raw tag_delimiters}');
                
//-->
                
</script>
                <
class="singledescription">{vb:rawphrase separate_tags_using_comma}<vb:if condition="$show['tags_remain']"> {vb:rawphrase you_may_add_x_tags_to_thread, {vb:raw tags_remain}}</vb:if></p>
            </
div>
            </
vb:if>
        </
div>
    </
div
In the newthread find:

PHP Code:

<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />

</
div
after the </div>

Add your cut text or:

PHP Code:
<vb:if condition="$show['tag_option']">
            <
div class="blockrow">
                <
label for="tagpopup_ctrl" class="full">{vb:rawphrase tags}:</label>
                <
div id="tagpopup" class="popupmenu nomouseover noclick nohovermenu">
                    <
input type="text" class="primary full textbox popupctrl" name="taglist" id="tagpopup_ctrl" value="{vb:raw newpost.taglist}" tabindex="1" />
                    <
div id="tagpopup_body" class="popupbody">
                    </
div>
                </
div>
                <
script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>
                <
script type="text/javascript">
                <!--
                    
tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp''tagpopup_ctrl''tagpopup');
                    
tag_add_comp.allow_multiple true;
                    
tag_add_comp.set_delimiters('{vb:raw tag_delimiters}');
                
//-->
                
</script>
                <
class="singledescription">{vb:rawphrase separate_tags_using_comma}<vb:if condition="$show['tags_remain']"> {vb:rawphrase you_may_add_x_tags_to_thread, {vb:raw tags_remain}}</vb:if></p>
            </
div>
            </
vb:if>
        </
div>
    </
div
Attached Images
File Type: jpg tags.jpg (16.1 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01280 seconds
  • Memory Usage 1,839KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete