Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2014, 07:32 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to make threads bold

Hello all
I want to know how i make thread Bold also hot to add tags
like bestblackhatforum.com threads
and also adding color in vb4.2.0
Reply With Quote
  #2  
Old 01-21-2014, 10:19 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before giving you a CSS answer, I would ask you tp take a good look at the stylevar system for vBulletin. Some good playing around time with the stylevar system should yield you some good results. I will post some references that will give you a hand.

If you decide you need CSS help then we need a link to your board, unless you are using the default vBulletin style.

Basic:
http://www.vbulletin.com/docs/html?m...rsion=40201500
https://vborg.vbsupport.ru/showthread.php?t=256370
http://www.vbulletin.com/vbcms/conte...-10-Easy-Steps

More Advanced:
https://vborg.vbsupport.ru/showthread.php?t=230309

More Advanced - Videos:
http://www.youtube.com/watch?v=sfwle1enLms
Reply With Quote
  #3  
Old 01-22-2014, 06:41 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you tbworld
I will try but no Luck
see this my Templates
Threadbit
PHP Code:
<li class="threadbit {vb:raw thread.statusstring}<vb:if condition="$thread['title_editable']"> title_editable</vb:if><vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
    <
div class="rating{vb:raw thread.rating}<vb:if condition="$thread['sticky']"> sticky<vb:else /> nonsticky</vb:if>">
        <
div class="threadinfo" title="{vb:raw thread.preview}">
            <!--  
status icon block -->
            <
class="threadstatus" rel="vB::AJAX" <vb:if condition="$show['threadcount']">title="{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}"</vb:if>></a>

            <!-- 
title author block -->
            <
div class="inner">
                <
h3 class="threadtitle">
                    <
vb:if condition="$show['gotonewpost']"><a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}"><img class="gotonewpost" src="{vb:stylevar imgdir_button}/firstnew.png" alt="{vb:rawphrase go_to_first_new_post}" /></a>
                    </
vb:if>    

                    <
vb:if condition="$show['threadicon']">
                            <
img src="{vb:raw thread.threadiconpath}" alt="{vb:raw thread.threadicontitle}" border="0" />
                    </
vb:if>

                    <
vb:if condition="$thread['sticky']">
                         <
img src="{vb:stylevar imgdir_misc}/sticky.gif" alt="{vb:rawphrase sticky_thread}" />
                    </
vb:if>
                                        
                     <
vb:if condition="$thread['movedprefix'] OR $thread['typeprefix'] OR $thread['moderatedprefix'] OR $thread['prefix_rich']">
                        <
span id="thread_prefix_{vb:raw thread.realthreadid}" class="prefix understate">
                            {
vb:raw thread.movedprefix}
                            {
vb:raw thread.typeprefix}
                            {
vb:raw thread.moderatedprefix}
                            {
vb:raw thread.prefix_rich}
                        </
span>
                    </
vb:if>
                    <
class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
                </
h3>

                <
div class="threadmeta">                
                    <
div class="author">
                        <
vb:if condition="$show['rmanage']">
                            <
span class="rmanage"><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=editthread&amp;t={vb:raw thread.redirectthreadid}">{vb:rawphrase manage}</a></span>
                        </
vb:if>                        
                        <
vb:if condition="!$show['detailedtime']">
                            {
vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null'postuserid''postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}}
                        <
vb:else />
                            {
vb:rawphrase started_by_x_y_z, {vb:link member, {vb:raw thread}, null'postuserid''postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:stylevar dirmark}}
                        </
vb:if>
                        <
vb:if condition="$show['unsubscribe']">
                             &
nbsp; <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}do=newreply&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase reply}</a>
                             | <
a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;return=ucp&amp;t={vb:raw thread.threadid}" rel="nofollow">{vb:rawphrase unsubscribe}</a>
                        </
vb:if>
                        <
vb:if condition="$thread['pagenav']">
                            <
dl class="pagination" id="pagination_threadbit_{vb:raw thread.realthreadid}">
                                <
dt class="label">{vb:raw thread.totalpages} {vb:rawphrase pages} <span class="separator">&bull;</span></dt>
                                <
dd>
                                    {
vb:raw thread.pagenav}
                                    <
vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></span></vb:if>
                                </
dd>
                            </
dl>
                        </
vb:if>
                        <!-- 
iconinfo -->
                        <
div class="threaddetails td">
                            <
div class="threaddetailicons">
                                <
vb:if condition="$show['taglist']">
                                    <
img src="{vb:stylevar imgdir_misc}/tag.png" alt="{vb:raw thread.taglist}" />
                                </
vb:if>
                                <
vb:if condition="$show['rexpires']">
                                    <
img src="{vb:stylevar imgdir_misc}/expires.gif" alt="{vb:rawphrase expires_on_x_y, {vb:raw thread.expiredate}, {vb:raw thread.expiretime}}" />
                                </
vb:if>
                                <
vb:if condition="$show['moderated']">
                                    <
img src="{vb:stylevar imgdir_misc}/moderated_small.gif" alt="{vb:rawphrase x_moderated_posts, {vb:raw thread.hiddencount}}" />
                                </
vb:if>
                                <
vb:if condition="$show['deletedthread']">
                                    <
img src="{vb:stylevar imgdir_misc}/trashcan_small.gif" alt="{vb:rawphrase x_deleted_posts, {vb:raw thread.deletedcount}}" />
                                </
vb:if>
                                <
vb:if condition="$show['paperclip']">
                                    <
a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
                                </
vb:if>
                                <
vb:if condition="$show['subscribed']">
                                    <
img src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" />
                                </
vb:if>
                            </
div>
                        </
div>
                    </
div>
                    
                </
div>

            </
div>
        </
div>
        
        <!-- 
threadstats -->
        <
vb:if condition="!$show['notificationtype']">
        <
ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
            <
vb:if condition="$show['threadmoved']">
                <
li>&nbsp;</li>
                <
li>&nbsp;</li>
            <
vb:else />
                <
li>{vb:rawphrase replies}: <a href="misc.php?do=whoposted&amp;t={vb:raw thread.threadid}" onclick="who({vb:raw thread.threadid}); return false;" class="understate">{vb:raw thread.replycount}</a></li>
                <
li>{vb:rawphrase views}: {vb:raw thread.views}</li>
            </
vb:if>
            <
li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
        </
ul>
        </
vb:if>                    
        <!-- 
lastpost -->
        <
dl class="threadlastpost td<vb:if condition="$show['notificationtype']"> alt</vb:if>">
        <
vb:if condition="$show['threadmoved']">
            <
dt class="lastpostby hidden">&nbsp;</dt>
        <
vb:else />
            <
dt class="lastpostby hidden">{vb:rawphrase last_post_by}</dt>
            <
dd>{vb:raw memberaction_dropdown}</dd>
            <
dd>{vb:raw thread.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw thread.lastposttime}</span></vb:if>
            <
a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
            </
dd>
        </
vb:if>
        </
dl>

        <
vb:if condition="$show['notificationtype']">
        <!--  
notification -->
        <
div class="threadnotification td" >
            <
label for="thread_imod_checkbox_{vb:raw thread.realthreadid}">{vb:raw thread.notification}</label>
        </
div>
        <
label class="threadimod td">
            <
input type="checkbox" name="deletebox[{vb:raw subscribethread.$threadid}]" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" value="yes" tabindex="1" />
        </
label>
        </
vb:if>
        
        <
vb:if condition="$show['inlinemod']">
        <!-- 
fourth block -->
        <
label class="threadimod td alt">
            <
input type="checkbox" id="thread_imod_checkbox_{vb:raw thread.realthreadid}" name="imodcheck[{vb:raw thread.realthreadid}]" tabindex="1" />
        </
label>
        </
vb:if>
        
    </
div>
</
li
Reply With Quote
  #4  
Old 01-24-2014, 08:44 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any help please
Reply With Quote
  #5  
Old 01-24-2014, 11:22 AM
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Location: Earth
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should be in forumdisplay template any how once add below code in your additonal.css

Code:
.threadbit .title {
font-size: 18px;
font-weight: bold;
}
Reply With Quote
Благодарность от:
tanzeelniazi
  #6  
Old 01-25-2014, 08:48 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great
Thank you so much
1 more question
i want to add h1 or h2 tags also but i dont know how to add and which tag i use for seo
Reply With Quote
  #7  
Old 01-26-2014, 10:56 AM
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Location: Earth
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

h1 is used for thread titles but not tags according to SEO , If you want you can bold the Tag's of thread


I suggest you leave them as they are
Reply With Quote
  #8  
Old 01-26-2014, 02:03 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i mean how to add H1 or H2 for seo in threads title
i read <Strong> is good for seo and also h2 my think Strong is good for seo?
how to add strong code in titles
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 03:29 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.04247 seconds
  • Memory Usage 2,350KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete