Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Change default post text size/font Details »»
Change default post text size/font
Version: 1.00, by alkahf alkahf is offline
Developer Last Online: Mar 2014 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.2 Rating:
Released: 07-26-2008 Last Update: Never Installs: 37
Uses Plugins
 
No support by the author.

Hello
With this plug-in you can Change default post text size/font in all styles that you have.

Install:
In Admin CP
  • Go to Plugins & Products >> Add New Plugin
  • Hook Location: postbit_display_complete
  • Title: change Message font
  • Execution Order: don't change
  • Plugin PHP Code: You can change font size, face, and color as you like.
    Code:
    $post['message']="<font size='4' face='Comic Sans MS' color='#FF0000'>".$post['message']."</font>";
  • Plugin is Active: Yes
Then Click: Save

Notice: This plug-in working with: 3.5.x, 3.6.x, and 3.7.x.

Best Regards
alkahf

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
TAIFUN_T

Comments
  #12  
Old 07-28-2008, 05:29 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alkahf View Post
Forum Lover, blue6995
  • Tell me please wiche vB version do you have?
  • put here please from postbit and postbit_legacy template that code between:
    <!-- message --> and <!-- / message -->
vB version = 3.7.2 Patch Level 1

postbit
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

postbit_legacy
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

I think I know what I am overlooking, d'oh!! Does the change of font, size and color take place after the message is actually posted and not before the creation of the message?
Reply With Quote
  #13  
Old 07-28-2008, 06:22 PM
alkahf alkahf is offline
 
Join Date: Mar 2004
Location: Moscow
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I see you have everything OK! And this plug-in should work in all your styles.
This plug-in changes this code to:

<div id="post_message_$post[postid]"><font size='4' face='Comic Sans MS' color='#FF0000'>$post[message]</font></div>
Reply With Quote
  #14  
Old 07-30-2008, 09:08 AM
alkahf alkahf is offline
 
Join Date: Mar 2004
Location: Moscow
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll upgrade it to product with many options in:
vBulletin options > Thread Display Options (showthread)
And I'll add mod to change default signatures text size/font.
  • Do you think it will be better?
  • Do you like that?
  • Do you have any more ideas?

Wait your mind
Thank you
Reply With Quote
  #15  
Old 08-03-2008, 02:57 PM
trulylowcarb's Avatar
trulylowcarb trulylowcarb is offline
 
Join Date: Apr 2004
Location: Colorado
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As is, didn't work for me either. Will mark installed, deactivate, and wait for new version notification, Meanwhile, thanks, it's a good idea.
But I do have a question - how does this affect formatting chosen by the user? I would not want it to override any changes they choose to make to the default appearance. I assume this just changes the initial default text in the compose box, when it works?
Reply With Quote
  #16  
Old 09-22-2008, 01:26 PM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks I was in need of this, worked like a charm.
Reply With Quote
  #17  
Old 10-15-2008, 11:52 PM
AmexBlackG5 AmexBlackG5 is offline
 
Join Date: Jun 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work's like a charm
Reply With Quote
  #18  
Old 10-18-2008, 01:06 AM
pigpog's Avatar
pigpog pigpog is offline
 
Join Date: Oct 2008
Location: United Kingdom
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, the tiny text was hurting my eyes! An excellent little bit of coding, well done.
Reply With Quote
  #19  
Old 10-18-2008, 11:30 AM
i-Man i-Man is offline
 
Join Date: Aug 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to change the font by usergroup plz ?
Reply With Quote
  #20  
Old 10-30-2008, 05:09 PM
Dervish-Dancer Dervish-Dancer is offline
 
Join Date: Oct 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, clear instructions and clear results. Worked like a charm.
Would be nice to have a plugin to change Post Title and also to get rid of the line below the title.

Thanks again.
Reply With Quote
  #21  
Old 11-27-2008, 05:39 AM
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
Location: D/FW, Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by i-Man View Post
Is it possible to change the font by usergroup plz ?
I have the same question. Is this possible?
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:50 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.06576 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • 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
  • 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