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)

Zelda-King 02-27-2003 08:59 PM

I tested it. Works fine. Great work!

What'd be even better is if people could have custom fonts set but still use the default colours. Size/font isn't an issue but you really should be able to use two out of the three functions and still be able to keep to the default colour (unless you set it manually otherwise), for the sake of multiple forum styles.

Other than that, there's the matter of having to fix your settings every time you edit your profile.

Once that's all sorted out I'd say you're good to go. Also, the ON/OFF button stays as you set it (it doesn't revert) so that's good. :)

TalkHardRandy 02-27-2003 09:38 PM

DEFAULTS IS FIXED!!!

It's sloppy & I don't like it, but short of rewriting every template and dumping a bunch of extras into the member.php, it should work. Text file has been updated. Be sure to read through it as I change all the templates.

Let's see what breaks now, shall we?

TalkHardRandy 02-27-2003 09:56 PM

Quote:

Originally posted by Zelda-King
What'd be even better is if people could have custom fonts set but still use the default colours. Size/font isn't an issue but you really should be able to use two out of the three functions and still be able to keep to the default colour (unless you set it manually otherwise), for the sake of multiple forum styles.
You mean their own fonts that they use? It could be done, but it wouldn't be displayed for the others unless they had the same fonts installed.

I included font size because, I love Garamond, but set to 2 is too small... it needs to be set to 3. Other fonts are the same way.

Glad you guys like... definately good for the ol' ego...

Zelda-King 02-27-2003 10:05 PM

Yeah, I just mean people might want to use custom fonts in the default colours (which'd cause less of a clashing problem with themes unless they wanted to alter their colour). Like... I could select your 'times new roman' custom font, update the profile and the colour would be default so it goes with all the themes.

I installed the updates. I see why you don't like it. It's just a teensy bit odd when you change your customs and you see your old choice repeated at the top, but yeah, it works. You made pretty good progress today.

Link14716 02-27-2003 10:53 PM

This is actually a lot easier to do with custom profile fields and doing it that way gives your users the freedom to enter a HEX value, so that's how I'd do it. ;)

TalkHardRandy 02-27-2003 11:12 PM

Quote:

Originally posted by Link14716
This is actually a lot easier to do with custom profile fields and doing it that way gives your users the freedom to enter a HEX value, so that's how I'd do it. ;)
Agreed... it was easier that way.

The problem we kept coming across was the users would send PM's saying, "Why doesn't my color/font work?", only to find out that 'seafoam' isn't a real color (and don't ask about the HEX code problems) or someone would have 'Burton's Nightmare' loaded on their computer, but no one else did.

We wanted to make it easier on the users who use it.

TalkHardRandy 02-27-2003 11:22 PM

Quote:

Originally posted by Zelda-King
Like... I could select your 'times new roman' custom font, update the profile and the colour would be default so it goes with all the themes.
I see what you mean... an ON/OFF per option.

I tried it originally and discovered it makes a whole bunch of extra code in the newthread & newreply. Each would have a SELECT statement with six options, as opposed to a single on/off. If you only want to user one part of it, Palmer's hack is much simplier, except, like I said, you have to input manually what you want. I never figured out a way to tie it into the vbcode_bits.

Quote:


You made pretty good progress today.

Thanks a lot Z... you help muchos. I'm just waiting to see if anyone else installs and has problems/suggestions. One of my users suggested adding a glow option to it, but I told him to use the GLOW tags instead. Hurts my eyes :laugh:

nnjj.net 02-28-2003 11:41 AM

exe. is't ok to install it or still having probs?

thanx

Zelda-King 02-28-2003 02:46 PM

It's working fine for me. I added a load of fonts in the vbcode_fontbits template. All tested on vB first to make sure they work for everyone. I've got 30 fonts in there now. :)

And here it is;
Code:

<option value="verdana">Verdana</option>
<option value="arial">Arial</option>
<option value="times new roman">Times new roman</option>
<option value="courier new">Courier</option>
<option value="chasm">Chasm</option>
<option value="dolphin">Dolphin</option>
<option value="kelt">Kelt</option>
<option value="ms sans serif">Ms sans serif</option>
<option value="mirror">Mirror</option>
<option value="quixley let">Quixley let</option>
<option value="ruach let">Ruach let</option>
<option value="shorthand">Shorthand</option>
<option value="surfer">Surfer</option>
<option value="tahoma">Tahoma</option>
<option value="terminal">Terminal</option>
<option value="westminster">Westminster</option>
<option value="bangle">Bangle</option>
<option value="eurasia">Eurasia</option>
<option value="lynda cursive">Lynda cursive</option>
<option value="gaze">Gaze</option>
<option value="lucida sans">Lucida sans</option>
<option value="paris">Paris</option>
<option value="system">System</option>
<option value="tempus sans">Tempus sans</option>
<option value="university roman let">University roman let</option>
<option value="victorian let">Victorian let</option>
<option value="bimini">Bimini</option>
<option value="fixedsys">Fixedsys</option>
<option value="la bamba let">La bamba let</option>
<option value="cataneo bt">Cataneo bt</option>

I'd put them alphabetically but the default 'first' one is Verdana. :D

I recommend that setup. Those fonts're OK on vB as opposed to... some other ones.

TalkHardRandy 02-28-2003 04:27 PM

Quote:

Originally posted by nnjj.net
exe. is't ok to install it or still having probs?

thanx

No problems... all fixed...


All times are GMT. The time now is 09:47 PM.

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.01034 seconds
  • Memory Usage 1,749KB
  • 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)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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