News:

Join the Facebook Fan Page.

Main Menu

TextSizer

Started by Yahmez, October 28, 2008, 12:38:36 PM

Previous topic - Next topic

rbeuker

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 ;)

rbeuker

Hi there!

I was just wondering--will you still make a text sizer that resizes the entire forum? :D

Thanks,

Ronald

Yahmez

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.

rbeuker

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


anidea

#44
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...?

Bugo

Markup Validation Service 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>").

Yahmez

Quote from: Bugo on July 16, 2010, 02:49:25 PM
Markup Validation Service detected that CSS code is invalid (after install this mod).

Thanks for the heads up. I'll fix this shortly.

Yahmez

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?

KensonPlays

NICE! I want to make my website user friendly, for easy and hard to read people, this helps! Thanks!

Owner of Mesozoic Haven

anidea

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?

Yahmez

*Updated Mod*

Got this error fixed up I believe. Try version 1.7 and let me know if there are any issues.

Siirist

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)
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Yahmez

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.

anidea

#53
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

Yahmez

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.

anidea

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!  :)

Yahmez

Yep, just attach the files themselves.

index.template.php
Display.template.php
PersonalMessage.template.php

anidea

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...  :)

Yahmez

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

anidea

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 :)

Advertisement: