vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Default Posting Font (https://vborg.vbsupport.ru/showthread.php?t=97544)

JJR512 10-03-2005 10:00 PM

Default Posting Font
 
This is a very simple hack. In fact it's almost embarrassing to call it a hack. :)

In a nutshell, this gives your members the ability to select a font face in which all of their messages will appear. This includes not only new messages after they select the font, but also any of their old messages, too, because the font they select is applied to their messages in the postbit template at the time they are viewed.

Installing involves creating a new custom profile field and a modification to the postbit and/or postbit_legacy template(s).

NOTE: If anyone would like to show me how to auto-populate the font selection list with the currently installed fonts, I'd be glad for the tutorial. (As it is now, you have to copy the list of fonts from the style editor into the custom profile field, which works but is not elegant.)

Daniel 10-04-2005 05:48 PM

Hm... doesnt seem to work :\

Snake 10-04-2005 06:00 PM

Screenshots please?

Daniel 10-04-2005 06:23 PM

Screenshots of what? It would be the same thing as someone posting in a different type of font anywhere.

VaaKo 10-04-2005 06:25 PM

here's a screenshot
but it doesn't work one bit
and this isn't a modification lol

Daniel 10-04-2005 06:28 PM

Doesnt work for me either :\

Snake 10-04-2005 06:54 PM

Nice hack.

Nevermind. It's working fine now. :)

Snake 10-04-2005 07:07 PM

How about making a hack for Font Color too? That would be cool.

JJR512 10-04-2005 07:45 PM

Lebanese Forces: Not sure what the screenshot is meant to show me, because there's nothing wrong with anything in it.

If anyone is having a problem, please do the following: Install the modification, select a font for yourself (or another member of your board), and give me a URL to a page that has a post from you (or that other member).

JJR512 10-04-2005 07:47 PM

You know what: I bet I know what the problem is.

In Step 8, in both in instances of "$post[field8]", change the 8 to whatever number you noted in Step 6. I hope that's all the problem is, because this is a very simple modification.


All times are GMT. The time now is 08:20 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.01234 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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