The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Word Size Problems

View previous topic View next topic Go down

Solved Word Size Problems

Post by Kira Yuudai on October 9th 2015, 2:35 am

[size=36]Traveling[/size]

Is there a reason this will not work? The max I can go is 24 :/

Traveling

Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by Darkel on October 9th 2015, 2:50 am

Hi there,

Could you explain more about your problem ?

Darkel
Hyperactive

Male Posts : 2128
Reputation : 257
Language : English, Tagalog
Location : Philippines

Back to top Go down

Solved Re: Word Size Problems

Post by Kira Yuudai on October 9th 2015, 2:53 am

Well, it seems the max font size I can make anything is 24.

I believe we used to be able to make the size higher than that and now whenever I try to make it a bigger size than 24, it comes up like:

[size=36]TEST[/size]

However, when I am in preview mode it comes up properly. Only when I post it does it become weird.

Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by Darkel on October 9th 2015, 3:01 am

@Kira Yuudai wrote:Well, it seems the max font size I can make anything is 24.

I believe we used to be able to make the size higher than that and now whenever I try to make it a bigger size than 24, it comes up like:

[size=36]TEST[/size]

However, when I am in preview mode it comes up properly. Only when I post it does it become weird.

Do you mean here on the support forum ? or on your forum ?

Darkel
Hyperactive

Male Posts : 2128
Reputation : 257
Language : English, Tagalog
Location : Philippines

Back to top Go down

Solved Re: Word Size Problems

Post by Kira Yuudai on October 9th 2015, 3:06 am

It's happening on both.

TEST
Code:
[size=24]TEST[/size]

[size=36]TEST[/size]

I have done the same coding for both yet only the 24 one works on both this and the site but whenever I go into preview mode, the 36 size comes up proper and once I post it, it does not come up properly.

Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by Darkel on October 9th 2015, 3:26 am

I've test it on my forum and it seems the max size for the font is 29, probably the new limit implemented by Forumotion.


Last edited by Ragnor on October 9th 2015, 3:38 am; edited 1 time in total

Darkel
Hyperactive

Male Posts : 2128
Reputation : 257
Language : English, Tagalog
Location : Philippines

Back to top Go down

Solved Re: Word Size Problems

Post by Kira Yuudai on October 9th 2015, 3:29 am

Hmm, is there any way to get a bigger size than 29 or no?


Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by brandon_g on October 9th 2015, 3:56 am

Hello,

If there is indeed a new limitation that makes it so font can't be over a certain size, then no it is not possible to change this. I am not entirely sure if this is indeed a limitation or not, however, I can try and look into it for you if you like?

-Brandon


Last edited by brandon_g on October 9th 2015, 5:02 am; edited 1 time in total

brandon_g
Support Moderator
Support Moderator

Male Posts : 5142
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by Kira Yuudai on October 9th 2015, 4:04 am

That would be greatly appreciated. Thank you!

Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by brandon_g on October 9th 2015, 5:01 am

Alright, I have submitted an inquiry about it, I will let you know what I find out. Wink

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5142
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by Kira Yuudai on October 9th 2015, 5:30 am

Awesome! Thank you!

Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by brandon_g on October 9th 2015, 2:22 pm

Hi @Kira Yuudai,

One of my colleagues has informed me, that there is a limitation on font sizes using BBCode, however, if you genuinely want to use larger font sizes, a code should be able to be developed that could allow for unlimited sizes. If you would like to go that route, then just let us and maybe @Ange Tuteur can help you in getting that code.

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5142
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by Kira Yuudai on October 9th 2015, 6:22 pm

It shouldn't be too big of a deal I suppose but just in case, I would appreciate that.

Thank you!

Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by brandon_g on October 9th 2015, 6:31 pm

If you want to go that route, Ange left me the code to give to you just in case Wink.

Ok so install this Javascript in: ACP(Admin Control Panel) > Modules > HTML & JAVASCRIPT > Javascript codes management > Javascript codes management , click add new javascript.


Add the following Javascript in ALL pages:

Code:
$(function() {
  for (var post = $('.postbody'), i = 0, j = post.length; i < j; i++) {
    if (/\[size=\d+\].*?\[\/size\]/i.test(post[i].innerHTML)) post[i].innerHTML = post[i].innerHTML.replace(/\[size=(\d+)\](.*?)\[\/size\]/ig, '<span style="font-size:$1px">$2</span>');
  }
});

and hit save.


This should allow you to use any size font, however, please note that the code could also effect the resizer, any images resized using that method might not resize after the parse. It could also effect other font size bbcodes that do work.


The other way you could use bigger size is text is by using html tags instead of bbcode (note: html must be enabled in both the ACP and your profile to do it this way).

Hope this helps,
-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5142
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by Kira Yuudai on October 9th 2015, 6:37 pm

Alright. Thanks a lot for you help mate. Much appreciated!

This can be marked as solved.

Kira Yuudai
Forumember

Male Posts : 103
Reputation : 2
Language : English
Location : Anywhere I can be

http://fairytailforum.forumotion.com/

Back to top Go down

Solved Re: Word Size Problems

Post by brandon_g on October 9th 2015, 6:39 pm

Your welcome anytime, anymore issues feel free to create a new topic or if you have any problems with the code, feel free to pm me for unlock Wink.

Topic solved and archived ~ brandon_g


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5142
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum