vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Chat Modifications - Change default font size in DBTech Vbshout v5 (https://vborg.vbsupport.ru/showthread.php?t=269697)

Scanu 09-04-2011 10:00 PM

Change default font size in DBTech Vbshout v5
 
1 Attachment(s)
PLEASE NOTE THAT YOU HAVE TO CHANGE THE X IN THE DESIDERED FONT SIZE.. for example 2 or 5

Go in Adimncp/Styles and Templates/Your style - Edit Templates/Template DragonByte Tech vbshout/dbtech_vbshout_shouttype_me
Delete all and replace with (change the x with the number of the desired font size
Code:

<div class="dbtech_vbshout_shout%altclass%" id="dbtech_shoutbox_shout%shoutid%_%instanceid%">
        <input id="dbtech_shoutbox_shout%shoutid%_message%instanceid%" type="hidden" value="%message_raw%" />
        *<span id="dbtech_shoutbox_shout%shoutid%_username%instanceid%"><font size="X">%memberaction_dropdown%</font></span>
        <span style="%styleprops%"%canedit%><font size="X">%message%</font></span>* 
        <span id="dbtech_shoutbox_shout%shoutid%_time%instanceid%"%canedit%><font size="X">@ %time%</font></span>
</div>

Now Go in Adimncp/Styles and Templates/Your style - Edit Templates/Template DragonByte Tech vbshout/dbtech_vbshout_shouttype_pm
Replace all with this (still changing the 3 X with the number of the font size)
Code:

<div class="dbtech_vbshout_shout%altclass%" id="dbtech_shoutbox_shout%shoutid%_%instanceid%">
        <input id="dbtech_shoutbox_shout%shoutid%_message%instanceid%" type="hidden" value="%message_raw%" />
        <span id="dbtech_shoutbox_shout%shoutid%_time%instanceid%"%canedit%><font size="X">%time%</font></span>
        <span id="dbtech_shoutbox_shout%shoutid%_username%instanceid%">[<span style="font-weight:bold;">{vb:rawphrase dbtech_vbshout_pm_pro}</span>]
<font size="X">%memberaction_dropdown%:</font></span>
        <span style="%styleprops%"%canedit%><font size="X">%message%</font></span>
</div>

Go in Adimncp/Styles and Templates/Your style - Edit Templates/Template DragonByte Tech vbshout/dbtech_vbshout_shouttype_shout
And replace all with this (change x with the font size)
Code:

<div class="dbtech_vbshout_shout%altclass%" id="dbtech_shoutbox_shout%shoutid%_%instanceid%">
        <input id="dbtech_shoutbox_shout%shoutid%_message%instanceid%" type="hidden" value="%message_raw%" />
        <span id="dbtech_shoutbox_shout%shoutid%_time%instanceid%"%canedit%><font size="X">%time%</font></span>
        <span id="dbtech_shoutbox_shout%shoutid%_username%instanceid%"><font size="X">%memberaction_dropdown%:</font></span>
        <span style="%styleprops%"%canedit%><font size="X">%message%</font></span>
</div>

Then go in Go in Adimncp/Styles and Templates/Your style - Edit Templates/Template DragonByte Tech vbshout/dbtech_vbshout_shouttype_system
and change all the code with this (change X with the font size)
Code:

<div class="dbtech_vbshout_shout%altclass%" id="dbtech_shoutbox_shout%shoutid%_%instanceid%">
        <input id="dbtech_shoutbox_shout%shoutid%_message%instanceid%" type="hidden" value="%message_raw%" />
        <span id="dbtech_shoutbox_shout%shoutid%_time%instanceid%" style="font-weight:bold;"%canedit%><font size="X">%time%</font></span>
        <span id="dbtech_shoutbox_shout%shoutid%_username%instanceid%" style="font-style:italic;"><font size="X">%musername%:</font></span>
        <span id="dbtech_shoutbox_shout%shoutid%_message%instanceid%" style="font-style:italic;"%canedit%><font size="X"><div style="background-color: #028ce7; color: #fff; padding: 5px; -moz-border-radius: 8px; -webkit-border-radius: 8px;">%message%</div></font></span>
</div>

That's all i hope that this mod can be helpful, sorry for my english i'm italian

DragonByte Tech 09-06-2011 11:17 AM

Just a note for those people who contacted us about this (Thanks by the way, it's appreciated) This doesn't actually give the pro feature.

The pro feature is allowing users to select what fontsize they personally want to see the shoutbox in, while this appears to be a global change, so we're fine with this being posted =)

Iain

M.Iftikhar 11-17-2011 03:56 PM

Please Daragonbyte tech team...how can i change head background color of vb shout that can match my forum colors..........thanks and reply me soon.

RisingGlow 06-15-2012 04:45 PM

Will this work on v6 as well?

Scanu 06-18-2012 10:55 AM

I don't know but it should

ywwz 08-07-2012 01:11 PM

works On 4.2.0


All times are GMT. The time now is 12:43 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.01078 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete