vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   User Default Font/Color/Size hack (https://vborg.vbsupport.ru/showthread.php?t=49398)

zootsuit 03-06-2003 12:00 PM

I have no clue. We are still running 2.2.5.

TalkHardRandy 03-06-2003 04:21 PM

Should, unless they changed the way that messages are inserted into the DB. Just backup your DB & the three PHP files. And let us know if it works...

geniuscrew 03-06-2003 09:50 PM

Is there any way to use this hack with stylesheets?

nnjj.net 03-07-2003 01:16 PM

so still not working well !

geniuscrew 03-07-2003 01:29 PM

Working fine on 2.2.9 - need the style sheet option because the font size in pixels are better

Zelda-King 03-07-2003 04:30 PM

Quote:

Originally posted by TalkHardRandy
Hmmm... what are their settings in the database?
Well, I dropped the tables and readded them from the updated textfile and so far I've had no further problems. As for the settings I had in the first place I copied and pasted them into the query window from the textfile. Weird, but I've managed nearly a week now with things being OK and I've had no complaints about people not seeing the custom fonts yet either (the ones I added).

TalkHardRandy 03-07-2003 06:44 PM

Quote:

Originally posted by geniuscrew
need the style sheet option because the font size in pixels are better
Definately... I'll try to figure out CSS & how to pull the defaults from that into the hack...

I'm also going to put an option to disable the colors & fonts on certain posts (i.e. newthread & newreply templates). Sometimes, you don't want to post in a colour, but only in that thread.

geniuscrew 03-07-2003 09:28 PM

Quote:

Originally posted by TalkHardRandy


I'll try to figure out CSS & how to pull the defaults from that into the hack...


I'll look forward to seeing that.

Cheers :)

Zelda-King 03-08-2003 09:25 AM

Right, I've still got some guy with that weird huge font, and I have the database tables exactly as they're meant to be in the hack. It looks like the others fixed it by updating their profiles.

msimplay 03-15-2003 05:12 AM

it works on 2.3
but theres a potential problem
what if u want to change ur font color in the post ie
not use the that u chose in user cp

for example if u picked ms sans serif and color green

but just for one post u want to change it or even for just one line
can u do that ?

zootsuit 03-15-2003 06:46 AM

Quote:

Yesterday at 11:12 PM msimplay said this in Post #50
it works on 2.3
but theres a potential problem
what if u want to change ur font color in the post ie
not use the that u chose in user cp

for example if u picked ms sans serif and color green

but just for one post u want to change it or even for just one line
can u do that ?

Yep. Just choose your font and/or color from the reply page as you would normally. :)

LangTuDaTinh 03-17-2003 04:48 PM

one little idea, add an option in newthread, editpost, newreply and edit option from usercp, where use can turn on or off this hack by checkbox or radio button.

geniuscrew 03-24-2003 02:36 PM

This is all getting very confusing

If you want to only use it for some posts, then you don't need the hack since you can do that anyway.

Also I figured the CSS out - with a little help from amykhar.

So, for anyone who prefers CSS sizes to HTML sizes

replace

PHP Code:

$message "[color=".$bbuserinfo[post_color]."][font=".$bbuserinfo[post_font]."][size=".$bbuserinfo[post_size]."]".$message."[/size][/font][/color]"

with

PHP Code:

$message "<font style=\"color:".$bbuserinfo[post_color]."; font-family:".$bbuserinfo[post_font]."; font-size: ".$bbuserinfo[post_size]." px;\">".$message."</font>"

You will also need to change the length of default_pcs and post_fontsize [Note: has to be in pixels or whatever CSS format you're using]

WEForums 04-22-2003 11:02 PM

Nice hack and all but am I the only one who experiences a 'bug' when making quotes? It's like this:

Quote:

Origina
lly posted by USERNAME

I know it's trivial but I just want to know if others have the same problem. I am sure it's easily fixable though.

geniuscrew 04-23-2003 12:11 AM

Nope - I have this problem too :/

subu1 04-23-2003 05:03 AM

it works fine on 2.2.8, quotes too.

thank you;)

subu1 04-23-2003 09:12 AM

hi my verdana is green, i want to have that in black. Black is verdana or not???

greetz subu1

LangTuDaTinh 04-23-2003 09:30 AM

Quote:

Yesterday at 04:02 PM WEForums said this in Post #54
Nice hack and all but am I the only one who experiences a 'bug' when making quotes? It's like this:



I know it's trivial but I just want to know if others have the same problem. I am sure it's easily fixable though.


i have the same problem...i don't know because of this hack or not...

but i think it's depend on which font that i selected. because some of my users have no problem when they quote...but strangly...i got the same problem.

gwhooooey 04-26-2003 12:51 AM

Quote:

This assumes three things: 1) Your default font is 'Veranda'; 2) your default color is 'black'; and 3) Your default size is '2'. If these are different, please change to reflect.
I'm using 2 styles, on one the default colour is black, on the other it's kinda silver....

So um...What do I do?

gwhooooey 04-27-2003 01:49 AM

Can anyone help?

mcyates 06-21-2003 05:46 PM

its not working on mine, 2.30 BUGGER

Roxie 10-27-2003 06:55 PM

I can seem to get the txt file to download. :/

Roxie 10-27-2003 07:12 PM

ahhh. found a way to do it.

Roxie 10-27-2003 08:01 PM

Quote:

Originally Posted by WEForums
Nice hack and all but am I the only one who experiences a 'bug' when making quotes? It's like this:



I know it's trivial but I just want to know if others have the same problem. I am sure it's easily fixable though.

anyone figure out how to fix this?

Assault 02-03-2004 11:51 PM

dis work for 2.3.x?

ashley53680 02-23-2004 11:49 PM

Anyone have this for VB 3.0.0 yet??

I tried to find the part to edit in member.php and it wasn't there... :eek:

FWF 04-12-2004 11:34 PM

id love to see this for vB 3 someone has to make it

saree 04-03-2005 12:29 PM

yes i agree with you FWF i wish i can see it in vb3


All times are GMT. The time now is 08:23 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.01210 seconds
  • Memory Usage 1,781KB
  • 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
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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