XF 1.3 Adding/Removing Fonts?

Barbossa

Active member
Hello, How can I add/remove fonts there?

F9XpYVV.png
 
Sure, that is easy....I can and have done that as well.

I want to be able to choose that font in posts by members, in the body of a post.

Let me know when I can join your forum and try for myself....

Or, send me a link where you have posted that font please.
 
Cannot register at your site. Tried an hour ago, and then again just now.

System error.....?

I too love bikes. Had many many. Raced Moto-x and built many custom cycles.

Would love to participate on your forum to show you a few bikes I made.
 
Maybe is just because you are messing around with something??

Tried 10x to register....no luck.
Could be also the country of origin? Where are you coming in from.
As for the editor. It's simply adding that into the JS. Once I get back from checking on my mother at the nursing home that is EOL I'll put it in there and show you how easy it was for that also. The first step is getting it into your CSS.

The other problem you found is a bug in the credits add-on. It is interfering with users registering and the author has been notified.
 
Last edited:
I did have it work, just the way you posted on your forum.

No problems.

But, That is NOT what I wanted to do.

Only to have that font as option for posting in threads.

and.....GOOD LUCK with that!!

Let me know how it works out for you.

Then, you can come on here and tell me how easy it is and how I cannot follow simple instructions.

OK?

Scotty
 
Well, I joined.

That works now.

Do not see a new member "Introduce youself" thread anywhere, or the borg9 font.

??

As I stated in PM, I too got as far as posting with Borg9, but nobody else could see it except me and only at the PC I posted it on.

So.....I am not exactly satisfied that you have 100% success yet.

Thank you Tracy for spending time on this....

My site also has Borg9 installed still....
 
Check it out again... I moved the thread to where it belongs and I think you will find a post in there using Borg9 now (I edited the JS file to include it again). I had removed it since I didn't plan on using it. I won't be leaving it enabled for to long as I have one or two users that loved to use stuff like that when I offered it - and it made some of the posts hard to read.
https://twowheeldemon.com/new-member-introduction.t438/#post-33569
Screen Shot 2015-03-18 at 6.17.32 AM.webp

And here it is on the site using Safari as a guest (not logged in)

Screen Shot 2015-03-18 at 6.28.42 AM.webp
If you would like, I can give you the modified JS to try and the CSS to include in the EXTRA.css and tell you the location to put the fonts. I'm running 1.4.5 of XenForo. If you want it, just start a convo with me. If we can't do it here give me a shout over on TWD and I'll enable it in the convo's over there.
 
Last edited:
Hello again,

Need some help here. The last time, I have finished set the forum to be able to use custom font. The font isn't applied to the text in the editor but applied to the text after post. After that I haven't done anything with the forum as I have other business to do, recently I got back to the forum and check the font testing thread and found that the custom fonts are not applied to the text any more.

Here's the html source of the text:
<span style="font-family: 'PenSuk'"><span style="font-size: 26px">some text here</span></span>

Here's the css code in EXTRA.css
@font-face {
font-family: 'PenSuk';
src: url('http://mysite.com/fonts/pensuk/pensuk.eot');
src: url('http://mysite.com/fonts/pensuk/pensuk.ttf') format("truetype"),
url('http://mysite.com/fonts/pensuk/pensuk.woff') format('woff'),
url('http://mysite.com/fonts/pensuk/pensuk.eot?#iefix') format('embedded-opentype');
font-style: normal;
font-weight: normal;
}

I've also checked to make sure that the font files still exist in the folder.

So, I can't figure out what's wrong with it. It just look like that the css rule are not applied. Is there any change to the use of the EXTRA.css? When I checked the html source file I couldn't find any reference of this file.
 
Last edited:
Need some help here. The last time, I have finished set the forum to be able to use custom font. The font isn't applied to the text in the editor but applied to the text after post. After that I haven't done anything with the forum as I have other business to do, recently I got back to the forum and check the font testing thread and found that the custom fonts are not applied to the text any more.


So, I can't figure out what's wrong with it. It just look like that the css rule are not applied. Is there any change to the use of the EXTRA.css? When I checked the html source file I couldn't find any reference of this file.
Did you upgrade your version of XenForo since then? If so, that is your problem. That file (the .js file) will be written over during an upgrade and you have to do the edit to it all over again. That is the downfall of adding in the font(s) like this - you have to redo the edits upon each upgrade since they are core files.

As for the EXTRA.css - it hasn't changed. You need to check and make sure that nobody has edited it and that all of the statements are closed correctly.

Also, are you using CloudFlare by chance?
 
Last edited:
Did you upgrade your version of XenForo since then? If so, that is your problem. That file (the .js file) will be written over during an upgrade and you have to do the edit to it all over again. That is the downfall of adding in the font(s) like this - you have to redo the edits upon each upgrade since they are core files.

As for the EXTRA.css - it hasn't changed. You need to check and make sure that nobody has edited it and that all of the statements are closed correctly.

Also, are you using CloudFlare by chance?

Tracy, thank you for your reply. I just found that the fonts are still applied to the text, the point is just about whether you access my site with www or non-www url (the one which the fonts are applied). So, although this is not suppose to be a problem as I'm going to redirect the www version to the non-www version anyway, but I just curious to know why it works properly on one and not on the other.
 
Thanks, but I am done.

Threw in the towel and said"F-it"....enough wasted time.

Not fun.

Lol, you asked this at 8:01PM

I wanted BORG9 font.

I guess it is not a web font??

Don't care about any other fonts to add at the moment.

IMO, need a better solution to add more, exciting fonts.

Everything else looks the same, plain-Jane crap to me?

@Tracy Perry gave you the answer you've been looking for and where to obtain it at 8:05PM and NOW you're done?

Hahaha :D

Sorry but that made me laugh.

I know things can get frustrating sometimes, and it can seem like you're not getting the answers that you want, but it's more than likely a lack of understanding on your part.

People here try their best to help, and the "wasted time" that you mention, isn't wasted time at all, it's time that you are spending to LEARN something.

Learning takes time, it's not wasted. Persevere with it and you'll find that the answers you've been getting are the usually the answers that you're after all along. Like I say, it's generally a lack of understanding on your part.

6 months ago I knew nothing about code, literally nothing. I taught myself HTML, CSS, some JS and a bit of PHP. Do I understand all of it? Hell NO. Could I get pissed off and frustrated with it? Hell YEAH!

Do I?.......No.

Why? Because it's me that has to take the time to learn about it. I've spent months learning these things and still only know the basics, my site is coming along slowly, do I wish it was done immediately? You're damn right I do. Is it gonna be? Nope. I could quite easily say I've been wasting my time because my site hasn't come that far along, but it's came along a damn lot further than it would've done if I had just "Thrown in the towel". You need crack on with it, people can and WILL help you where they can, but they won't if all you do is get s.hitty.

Have I asked for help on here? Yes.

Do I get it? Yes.

Do I always understand what they're going on about? God No.

Do I get pissed off with them because I don't understand? No.

Look, I'm saying all this because I've read some of your other posts and you seem to be taking your frustrations out on the very people that are trying to help you and it's not their fault. Plus, despite your attitude, people have still taken time out of their day to find the information that YOU want. At least say thank you and then go take a look for yourself.

Seems to me, @Tracy Perry has found the info you want/need.

So go and get it done, then come back and say thank you to everyone that has tried to help you.

:)
 
Top Bottom