The Arcive of vBulletin Modifications Site. |
|
Custom Font Forum Titles (Cufon) Details »»
|
|||||||||||||||||||||||||||
Spice up your forumtitle's with custom font using Cufon text replacement.
I tried this in my forum works just fine under default vB4 (Should work for vB3 too.) - Download the Cufon library, i have used YUI compressed library. also attchd. - You need to generate font script now, It is recommended you use Free fonts. 10 Free fonts for Cufon. You can generate font js file using this generator http://cufon.shoqolate.com/generate/ For ex: i have added Museo_500_400.font.js with this attchmnt. UPLOAD Both these files to forum root folder. - edit headerinclude and add these scripts. find: Code:
<script type="text/javascript" src="{vb:stylevar yuipath}/yuiloader-dom-event/yuiloader-dom-event.js?v={vb:raw vboptions.simpleversion}"></script>
Code:
<script src="cufon-yui.js" type="text/javascript"></script>
<script src="Museo_500_400.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h2');
</script>
Changing Multiple heading. You can change as many heading you want but you just need to assign a font family to it. For ex: Code:
Cufon.replace('h1', { fontFamily: 'Museo' });
Cufon.replace('h2', { fontFamily: 'League Gothic' });
In most cases, there is a short but visible delay before the text is replaced. You can avoid this issue by inserting the following snippet right before the closing </body>. Code:
<script type="text/javascript"> Cufon.now(); </script> Download Now
Show Your Support
|
|||||||||||||||||||||||||||
| Благодарность от: | ||
| Comments |
|
#2
|
||||
|
||||
|
Great THX
one Problem in german ä,ö,ü is missing plz help |
|
#3
|
||||
|
||||
|
Hey, this probably happens when you generate your font file.
By default only latin characters are added, you need to generate your font file again http://cufon.shoqolate.com/generate/ |
|
#4
|
||||
|
||||
|
THX working
*installed* |
|
#5
|
|||
|
|||
|
it works with any font?
and all members can see this? even if they do not have the font stored on there PC? |
|
#6
|
||||
|
||||
|
Should work with any font you can embed but you cannot embed commercial fonts unless u are allowed to. But yes any font u embed can be seen by everyone, it doesnt require the viewers to have that font in their PC.
|
|
#7
|
|||
|
|||
|
how do i add my own fonts?
|
|
#8
|
|||
|
|||
|
do you know what stylevar is edited to change the font size of where it says Welcome (username) , Notifications, My Profile, Settings, Log Out?
|
|
#9
|
||||
|
||||
|
Very nice touch, I like it and installed!
|
|
#10
|
|||
|
|||
|
thanks,
now can you tell me which stylevars these are changeable in:
|
![]() |
|
|