Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Control User Post Font via Profile Options Details »»
Control User Post Font via Profile Options
Version: 1.00, by ChU v2 ChU v2 is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 04-05-2008 Last Update: Never Installs: 34
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

This will allow your member's to control their font options like: color, type, size, bold, italic, underline. They can access this by going to their UserCP and selection Edit Options.

Unfortunately without a product, I could not incorporate Usergroup permissions. I tried everything I know. Anyone is more then welcome to introduce some options that could make that work or make a product!

This idea was thought from this modification: here

Refer to the attached text file for instructions.

Please Click Install!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-15-2008, 11:43 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrashfAB View Post
Exatcly what I was looking for. I did the same thing as Alph1

So what exactly is the default font px size? I am pretty sure 15 is a tad too large.
I added 8 - 15. 15 is somewhat large for most fonts, but for some fonts it is good.

BTW: the list of fonts is not complete. Here is the complete list:
arial
arial black
arial narrow
Book antiqua
century gothis
comic sans ms
courier new
fixedsys
franklin gothic medium
garamond
georgia
impact
helvetica
impact
lucida console
lucida sans unicode
microsoft sans serif
palatino linotype
system
tahoma
times new roman
trebuchet ms
verdana
Reply With Quote
  #23  
Old 04-15-2008, 07:48 PM
CrashfAB CrashfAB is offline
 
Join Date: Mar 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also--when a user has there font customly set--and somebody repliess to it--in the quote it reverts back to the standard font
Reply With Quote
  #24  
Old 04-16-2008, 06:35 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrashfAB View Post
Also--when a user has there font customly set--and somebody repliess to it--in the quote it reverts back to the standard font
Within the quote box? I could look into that. It shouldn't be too hard, maybe just another template edit.
Reply With Quote
  #25  
Old 04-17-2008, 07:53 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All my posts have turned into the font and colours that I have set in my profile. Should this be?
Reply With Quote
  #26  
Old 04-17-2008, 08:02 PM
CrashfAB CrashfAB is offline
 
Join Date: Mar 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
All my posts have turned into the font and colours that I have set in my profile. Should this be?

yup--its a global setting so to speak..
Reply With Quote
  #27  
Old 04-20-2008, 11:41 AM
za3bour's Avatar
za3bour za3bour is offline
 
Join Date: Sep 2007
Location: Damascus-Syria
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is driving me crazy , all went fine (font,color,bold,italic,..etc) except font size it is not changing can you tell me what's wrong ?

here is teh code

<if condition="$post['field9'] OR $post['field11'] OR $post['field10'] OR $post['field12'] OR $post['field13'] OR $post['field14']">

<span style="font face: $post[field9]; size: $post[field11]; color: $post[field10]; font-weight: $post[field12]; font-style: $post[field13]; text-decoration: $post[field14];">$post[message]</strong></span></font>
Reply With Quote
  #28  
Old 04-20-2008, 11:53 AM
za3bour's Avatar
za3bour za3bour is offline
 
Join Date: Sep 2007
Location: Damascus-Syria
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did change px to size because this didn't work either :S
Reply With Quote
  #29  
Old 04-20-2008, 08:37 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by za3bour View Post
I did change px to size because this didn't work either :S
It looks like you've edited my original code and made something of your own. Try mine. The first field IS the font px size.
Reply With Quote
  #30  
Old 04-21-2008, 05:34 AM
za3bour's Avatar
za3bour za3bour is offline
 
Join Date: Sep 2007
Location: Damascus-Syria
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the original I did try this one , every thing worked except the Font Size, So what is wrong here ? my field for font size is 11

Quote:
<!-- message -->
<div id="post_message_$post[postid]">
<!--Custom Font-->
<if condition="$post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX']">

<span style="font: $post[fieldXX]px $post[fieldXX]; color: $post[fieldXX]; font-weight: $post[fieldXX]; font-style: $post[fieldXX]; text-decoration: $post[fieldXX];">$post[message]</strong></span>

<else />
$post[message]

</if>
<!--/Custom Font-->
</div>
<!-- / message -->
Reply With Quote
  #31  
Old 04-21-2008, 05:46 AM
za3bour's Avatar
za3bour za3bour is offline
 
Join Date: Sep 2007
Location: Damascus-Syria
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it did work man i thought the first field was for font type and the second is for size

now it works just perfect . what a great hack if you could please change it in Quote as well that would be great.

Thanks again
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:47 AM.


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.04734 seconds
  • Memory Usage 2,311KB
  • 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
  • (5)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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