vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Miscellaneous Hacks - A new 'newthread' look. (https://vborg.vbsupport.ru/showthread.php?t=216688)

Bounce 06-21-2009 09:29 PM

Quote:

Originally Posted by JamesC70 (Post 1834323)
LOL... that's been addressed.

Note to self: READ :D thanks james :up:

ArnyVee 06-21-2009 09:45 PM

Looks very nice....thanks for sharing! :up:

Ray2khax 06-22-2009 12:05 AM

Very nice template edit will probably use :) But I'll probably edit some more to make it to my needs.

Quantnet 06-22-2009 01:29 AM

How do we highlight the area around the tag box in another color so people would notice it and more likely to tag the new thread.

I've tried to get people to tag for a while and maybe they just overlook it.

HMBeaty 06-22-2009 01:31 AM

Quote:

Originally Posted by Quantnet.org (Post 1834465)
How do we highlight the area around the tag box in another color so people would notice it and more likely to tag the new thread.

I've tried to get people to tag for a while and maybe they just overlook it.

You COULD use the automatic thread tagger too :D. I do

Quantnet 06-22-2009 01:39 AM

Quote:

Originally Posted by JamesC70 (Post 1834111)
A few notes:

I reverted the FORUMRULES template, as the changes here affect anywhere that box appears... including SHOWTHREAD.

If you use this Posting rule template edit, you can even remove the forum rule box
https://vborg.vbsupport.ru/showthread.php?t=129349

Quantnet 06-22-2009 01:40 AM

Quote:

Originally Posted by Redlinemotorsports (Post 1834467)
You COULD use the automatic thread tagger too :D. I do

I know I can but I rather have them tag since the auto tagger is not as accurate.

JamesC70 06-22-2009 02:45 AM

Quote:

Originally Posted by Quantnet.org (Post 1834471)
If you use this Posting rule template edit, you can even remove the forum rule box
https://vborg.vbsupport.ru/showthread.php?t=129349

Or just delete the line that states $forumrules from this modification. ;)

lordtopcat 06-22-2009 03:06 AM

Quote:

Originally Posted by Quantnet.org (Post 1834465)
How do we highlight the area around the tag box in another color so people would notice it and more likely to tag the new thread.

I've tried to get people to tag for a while and maybe they just overlook it.

Certainly.

FIND in newthread
Code:

<fieldset class="fieldset" style="margin-top: $stylevar[cellpadding]px">
                        <legend>$vbphrase[tags]</legend>

If you want to change the background color, add
Code:

; background:#xxxxxx
after
Code:

margin-top: $stylevar[cellpadding]px
If you want to change the border color, add
Code:

; border: 1px solid #xxxxxx
after
Code:

margin-top: $stylevar[cellpadding]px

Of course, replacing xxxxxx with your hexidecimal code. So for example it should look like this:
Code:

<fieldset class="fieldset" style="margin-top: $stylevar[cellpadding]px; background:#DFF7FF; border: 1px solid #FF0000">
                        <legend>$vbphrase[tags]</legend>


lordtopcat 06-22-2009 03:21 AM

It could be classed as annoying, but if you wanted a mild flashing border, you could replace
Code:

<if condition="$show['tag_option']">
                <fieldset id="example" 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" tabindex="1" /></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;
                                tag_add_comp.set_delimiters('$tag_delimiters');
                                //-->
                                </script>
                        </if>
                </fieldset>
                </if>

with
Code:

<if condition="$show['tag_option']">
                <fieldset id="example" class="fieldset" style="margin-top: $stylevar[cellpadding]px; border: 1px solid #828177">
                        <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" tabindex="1" /></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;
                                tag_add_comp.set_delimiters('$tag_delimiters');
                                //-->
                                </script>
                        </if>
                </fieldset>
                </if>
<script language="JavaScript1.2">
<!-- Hide from old browsers

//Flashing Border IE 4,5,6 and NS 6
//Copyright ? Narayan Chand Thakur
//Featured at http://ncthakur.itgo.com/
//This may be used freely as long as this message is intact.

document.getElementById?
nct=document.getElementById("example")
: nct = document.all.example

function startFlash(){
if (nct.style.borderColor.indexOf("red")!=-1)
nct.style.borderColor="#828177"
else
nct.style.borderColor="red"
}
setInterval("startFlash()",500)//change 100 for speed
//-->
</script>

to allow for a mild, smooth red flash.

http://interestzone.net/images/tags.gif


All times are GMT. The time now is 05:13 AM.

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.01284 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete