Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1475)
TextSizer
Originally by [SiNaN]
Taken over by Yahmez
Version 1.5
SMF 2.0RC2 / SMF 1.1.11
Version 1.6
SMF 2.0RC3 / SMF 1.1.11
Version 1.7
SMF 2.0RC3 / SMF 1.1.11
Fixed validation error & restored the ability to re-size quoted & code bbc in 2.0 RC3 version.
This mod allows you to change the text size of posts and personal messages. It has 4 different font sizes. It will only appear when viewing a topic or personal message, at the top right. The setting is permanently saved once selected.
New features in version 1.5 and above
1.1.11 & 2.0RC2New location for the re-sizing text "
AAAA" to the top right of the first post.
2.0 RC2 & RC3 only *Resizing of quoted and code text.
* To resize quotes and code in SMF 1.1.X, you can edit style.css to remove the default x-small size. Remove the code shown below:
.quote {
background-color:#D7DAEC;
border:1px solid #000000;
color:#000000;
font-size:x-small; <---- Comment out this line!
line-height:1.4em;
margin:1px;
padding:1px;
}
.code {
background-color:#DDDDDD;
border:1px solid #000000;
color:#000000;
font-family:"courier new","times new roman",monospace;
font-size:x-small; <---- Comment out this line!
line-height:1.3em;
margin:1px auto;
max-height:24em;
overflow:auto;
padding:1px;
white-space:nowrap;
width:99%;
}
.quoteheader, .codeheader {
color:#000000;
font-size:x-small; <---- Comment out this line!
font-style:normal;
font-weight:bold;
line-height:1.2em;
text-decoration:none;
}
Nice mod... but there is a litle problem wih custom theme.. overall this is great mod tq.
But now after a small edit for custom theme... its can running very well.
One question is...
How i can recolour
A A A A to black or others dark colours, thats because my custom theme is light colour.
Do you have any screenshots of this in action?
qubbah:
index.template.php
Find:
<div style="float: right;">';
Replace:
<div class="textsizer" style="float: right;">';
style.css
Add to end:
.textsizer a:link, .textsizer a:visited, .textsizer a:hover
{
color: #000000;
text-decoration: none;
}
#000000 is the color.
Kimmie:
I don't have, but you can see it in action here:
http://triumphtalk.com/index.php?topic=429.0
SiNaN or blue dream or whatever :p
I test your mod and for custom themes I think of maybe you can modify this line:
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/textsizer.css?b4" />
With:
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/textsizer.css?b4" />
I try with the mysticjade theme and didnt work , but I do that modification and works great
Great mod ;)
I have added this to my forum and cannot see it anywhere :|
I have looked all over the place for sizing :| and looked in Admin to see if there was anything in there but failed
Can you help me pls
TY
That's a very nice little mod. I can see this being very useful for forums that have a wide range of age groups in their membership.
The only improvement I can think of would be if it was possible to make it work on quoted text as well.
Ur_Irish_Rose:Quote from: Blue Dream on October 28, 2008, 12:38:36 PM
This mod allows you to change the text size of only post texts. It has 4 different font sizes. It will only appear when viewing a topic or personal message, at the top right. The setting is permenantly saved once selected.
If you are using a custom theme (other than SMF Core Default Theme), you should make the changes for your theme too.
antechinus:Would you like to take over the mod?
I don't have the skills to support it, or at least I don't think I do.
There is nothing more than theme stuff and I'll help you personally, if you will require any help while supporting/updating it. Of course if you would like to take over...
How about inflicting it on Deprecated? He loves mods and he's old enough to need this one. ;)
He he. He has enough of them. ;)
Thanks anyway.
Well I as thinking that to make it easy on anyone with dodgey eyesight it would be really handy if quoted text was enlarged like the post text. I don't know how to do that. Dep probably does.
how can i change the default size to the bigger one?
You can change the font-size in textsizer.css file.
hi...
i use smf 1.1.8 with tinyportal v1.0 beta 3 and my theme outline tp10...
i have installed the mod "Textsizer" but nothing changed in forum. has anyone help me to what shall i do...?
you can see my forum by clicking (http://www.kiraathanem.com)
You'll have to apply the edits to your custom theme manually, using the manual installation instructions. Select your version in the mod page, and click submit.
I've tryed to edit before but i couldnt find same codes in my custom theme files. There were only index.template.php file in directory and i could find only "/ the routine for the info center upshrink" code in this file. i couldnt find the second code. And the other files "Display.template.php" and "PersonalMessage.template.php" are in the default theme directory. and theye were already changed when i installed the mod.
i use Outline tp10 theme downloaded from http://www.dzinerstudio.com/
Please help, if you want i'll share my theme files...
im waiting for help....
I had searched this modification so much. This is very pratical. Congratulate you ;)
Awesome mod SiNaN!
It is working great for me. I do have a few questions though. Would you know how to move the text A A A A to just above the first post as shown in the attached image? And I was wondering about adding some text to it also. Either "Font Size" or a "-" before the a's and a "+" after? Would it be tough to have this scale the quoted text also? Thanks again!
Quote from: Yahmez on June 30, 2009, 07:52:06 PM
Awesome mod SiNaN!
It is working great for me. I do have a few questions though. Would you know how to move the text A A A A to just above the first post as shown in the attached image? And I was wondering about adding some text to it also. Either "Font Size" or a "-" before the a's and a "+" after? Would it be tough to have this scale the quoted text also? Thanks again!
A very good suggestion!
Speaking as an old man who's not getting any younger, this is a great mod. I do have the "Colorize Post" mod installed, which allows the poster to set a default font, color and size in his or her profile and I notice that this will not override that. Actually... (having left this thread to test further).... it doesn't work if the post that is being read was created with a specific font size chosen. Not on my SMF 1.1.9 Default test forum, at least. If I come in under a test ID and post with a selected font size, then look at it with my other account, the view size will not change. If I post with the test ID again, using the default size, then look again with my other account, then I can view it larger.
Anyone else having this issue?
Bumping this on behalf of all the old people on my forum (who can't see worth a crap) because I'm a great admin and .... well, it seems like the thing to do.
*grin*
Anyone else having the issue I referenced earlier?
Anyone know of a fix?
(Hope springs eternal.)
*waits 7 days and bumps it again, although not as hopefully*
Quote from: Yahmez on June 30, 2009, 07:52:06 PM
Awesome mod SiNaN!
It is working great for me. I do have a few questions though. Would you know how to move the text A A A A to just above the first post as shown in the attached image? And I was wondering about adding some text to it also. Either "Font Size" or a "-" before the a's and a "+" after? Would it be tough to have this scale the quoted text also? Thanks again!
Please, nobody can help? I need this too, it will be much more logical and convenient too.
Hi, i am using smf 2.0 rc1.2 and Sherbet theme, i have problem to install this great mod on this theme, even manually. Can anybody here give me a hand? Many thanks!
'[SiNaN]' I tried to send you a PM to ask you what you will charge us to update this for RC2 seeing I paid you to write it for us. However I see you have blocked my PM's >:(
That isn't something special to you. I have all pms blocked, except for the members in my buddy list, because of the amount of useless pms I was getting. I have added you to my buddy list so that you can send pms to me. You could have tried contacted me by my e-mail address first though.
Well I am glad I am not special then :D ;D PM sent
TextSizer has been updated for 2.0RC2 & 1.1.11!
New features:
1.1.11 & 2.0RC2
New location for the re-sizing text "AAAA" to the top right of the first post.
2.0 RC2 only
Resizing of quoted text.
And I don't like it there >:(
Where would you like it to be?
Right here would be nice
That's where it is! :)
and that where I want it ;D ;D ;D I thought you moved it back to where it was before again
Cool mod.
Do you plan to implement this button/feauture to message.index and board.index too? would be very helpful.
And a reset link near the A A A-as? or the middle A is the default for the forum?
Thanks for taking over the mod!
I am expanding the textsizer mod to re-size text throughout the forum instead of just the text inside posts. I am seeking input from users of this mod, to help me to decide whether to make the new version have an admin option, for only posts OR forum wide text resizing, or whether to have two versions of the mod available separately? Please post your input and I'll update the mod accordingly.
Updated for 2.0RC3.
Very handy mod.
Thanks
Quote from: ҰΛĥmΞڃ on February 02, 2010, 08:51:12 PM
I am expanding the textsizer mod to re-size text throughout the forum instead of just the text inside posts. I am seeking input from users of this mod, to help me to decide whether to make the new version have an admin option, for only posts OR forum wide text resizing, or whether to have two versions of the mod available separately? Please post your input and I'll update the mod accordingly.
This is a great mod, thx a lot for making this! :D
As for having 2 separate mods or just 1: one mod that has the admin option to resize only posts or the whole forum sounds great to me! If you need betatesters, let me know ;)
Hi there!
I was just wondering--will you still make a text sizer that resizes the entire forum? :D
Thanks,
Ronald
Yes I am still planning on it. Life and all, you know...
I'll let you know when I get it packaged if you want to test it out. Hopefully in the next few weeks.
That's great! Yeah I know about the life and all thing--I would not mind having 25 hour days, or weeks that have 8 days. :D
I'm running SMF2 RC3 and getting the following error:
8: Undefined index: sizer_html
Apply Filter: Only show the errors from this file
File: /public/smf/Themes/default/Display.template.php (main sub template - eval?)
Line: 164
This is the very first mod I did, and I did it manually.
I traced the error down to exactly this code in Display.template.php:
<h3 class="catbg">
', $context['sizer_html'], '
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
Now, I realize that I'm not using the default template, but I compared it with the default template, and it looks exactly the same as default (except for the .css references).
The thing is, the mod works perfectly! so I can't imagine what the problem could be, if I'm getting an error on a mod that seemingly works perfectly...?
Markup Validation Service (http://validator.w3.org/) detected that CSS code is invalid (after install this mod). By example:
Line 151, Column 50: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
...e="float: right; font-weight: normal;"><a href="javascript:changeTextSize('1')...
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Quote from: Bugo on July 16, 2010, 02:49:25 PM
Markup Validation Service (http://validator.w3.org/) detected that CSS code is invalid (after install this mod).
Thanks for the heads up. I'll fix this shortly.
Quote from: anidea on July 12, 2010, 11:26:16 PM
I'm running SMF2 RC3 and getting the following error:
8: Undefined index: sizer_html
Apply Filter: Only show the errors from this file
File: /public/smf/Themes/default/Display.template.php (main sub template - eval?)
Line: 164
This is the very first mod I did, and I did it manually.
I traced the error down to exactly this code in Display.template.php:
<h3 class="catbg">
', $context['sizer_html'], '
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
Now, I realize that I'm not using the default template, but I compared it with the default template, and it looks exactly the same as default (except for the .css references).
The thing is, the mod works perfectly! so I can't imagine what the problem could be, if I'm getting an error on a mod that seemingly works perfectly...?
It's common for a working code to throw errors... but it needs fixing! Can you give me a link so I can look at it or attach your edited files and the name of your custom theme?
NICE! I want to make my website user friendly, for easy and hard to read people, this helps! Thanks!
Quote from: ҰΛĥmΞڃ on July 19, 2010, 09:25:49 PM
It's common for a working code to throw errors... but it needs fixing! Can you give me a link so I can look at it or attach your edited files and the name of your custom theme?
Hi, the custom theme is RGBB...By now I've installed a few mods lol...can I PM you the link?
*Updated Mod*
Got this error fixed up I believe. Try version 1.7 and let me know if there are any issues.
Quote from: ҰΛĥmΞڃ on July 20, 2010, 07:38:44 PM
*Updated Mod*
Got this error fixed up I believe. Try version 1.7 and let me know if there are any issues.
Having a difficult evening, its 1:30AM and I am still here. Anyway, if I remember right, I used this back when I started with SMF ver1.14.
I see that you updated which is AWESOME. I am going to install on one of my 3 forums.
This is the email I got.
"The description of this customization is as follows:
TextSizer
Version 1.7
SMF 2.0RC3 / SMF 1.1.11"
So why does the Mod Page say
Download this mod
TextSizer1.5.zip (3kB) [641]
TextSizer1.6.zip (3kB) [267]
TextSixer1.7.zip (4kB) [5]
if version 1.7 will support everything ???
THANKS FOR THIS MOD!!!
Be Well,
Cloud 8)
Quote from: SurvivorOfAbuse on July 21, 2010, 04:27:16 AM
"The description of this customization is as follows:
TextSizer
Version 1.7
SMF 2.0RC3 / SMF 1.1.11"
So why does the Mod Page say
Download this mod
TextSizer1.5.zip (3kB) [641]
TextSizer1.6.zip (3kB) [267]
TextSixer1.7.zip (4kB) [5]
if version 1.7 will support everything ???
THANKS FOR THIS MOD!!!
Be Well,
Cloud 8)
You have the option to download the old versions because I have not deleted them. You typically would want the newest (currently 1.7) version though.
Quote from: ҰΛĥmΞڃ on July 20, 2010, 07:38:44 PM
*Updated Mod*
Got this error fixed up I believe. Try version 1.7 and let me know if there are any issues.
A little bit of issues installing. It couldn't find some of the .css edits, I still don't know why. Also, I have a simple Theme installed, RGBB Curve, and it couldn't edit that either, some of the stuff in index.css was waaay different. But it was no problem to do it manually.
I've tested a bit and so far no errors. Tomorrow will be a better test, but it's looking good.
I'm thinking it may have also corrected some errors that had to do with minimizing categories, too...I don't seem to be getting those errors anymore.
Thanks!!! :)
Edit: Spoke to soon, today there's about 10 of these so far:
http://www.mysite.org/smf/index.php?topic=107.msg737
8: Undefined index: sizer_html
File: /f5/mysite/public/smf/Themes/default/Display.template.php
Line: 179
The index.css edits are required for the changes that were made in SMF curve from RC2 to RC3. Specifically in order to resize quoted and code bbc text. If your theme is based off of RC2 index.css you should be fine without editing it.
As for your error, I cannot replicate it on my install. If you don't mind attaching your edited files I can take a look and see if I can spot what is going on.
this might sound like a silly question...but do you want me to actually attach the files here to this message board? Or do you just want me to paste code into a post? Do you want all the files, or just the Display.template.php that is throwing the error?
Thanks! :)
Yep, just attach the files themselves.
index.template.php
Display.template.php
PersonalMessage.template.php
Quote from: Yahmez on July 23, 2010, 12:04:36 PM
Yep, just attach the files themselves.
index.template.php
Display.template.php
PersonalMessage.template.php
Here you go... :)
I took a peek and all looks well, as far as how it's installed...
When I get some free time I'll try to sort this for you though. Sorry, I have been so busy as of late that I haven't had the time to look at this properly.
-Yahmez
No worries :) It doesn't seem to affect how the forum works, so it's not any trouble at all. I appreciate that you're looking into it in your free time :)
I had to unistall this mod and install it again now I have the A A A A A A A A showing up twice. Where do I edit this out?
Quote from: DirtRider on August 28, 2010, 11:47:19 AM
I had to unistall this mod and install it again now I have the A A A A A A A A showing up twice. Where do I edit this out?
Display.template.php
PersonalMessage.template.php
The code must be in there twice. If you post up those files I can get ya fixed up. Or check the mod parser and delete the duplicate code in those files... actually you might want to check all the files edited by the mod & delete the replicated code in all the locations that it was double installed.
Yahmez support for 2 RC5 ?
This has been a great MOD for my users. Currently upgraded to RC5 and cannot get it to install, is this going to be compatible? Hope it will be as it is the best and easiest to understand out of all the text sizing MODS. Much appreciated. Thanks.
Great mod, works perfectly on 1.1.13.
Pls UP to RC4 and 5. Thx :)
I saw this on a forum I'm on, working happily on 2.0.15 and am about to install it on my own forum.
Bloody great idea it is. ;D
Any particular reason you chose to revive a SEVEN year old topic without having even attempting to see if it will work on your version?