![]() |
Thread Font Resize - by StarBuG
1 Attachment(s)
Introduction:
I am StarBuG, a clinical Physician for Children, and I am running several health Forums to support patients with medical questions. Due to the nature of my forums my visitors are mostly not very tech-savvy. Also I am attracting a lot of older people who might be visually impaired that is why I created this mod. I know that every browser supports this feature by clicking CTRL + plus or minus but for non tech-savvy people this browser feature might be unknown to them. What this mod does: This mod adds two buttons above every thread and private message which lets your users increase or decrease the font size of a thread without reloading the page. This increases the website accessibility. Installation instructions: See the readme.txt file inside the doc (do-not-upload) folder This Product utilizes the Template Modification System. If you use the TMS no template edits are needed. If you don't use the TMS you have to edit 2 templates. You can edit the CSS for your needs in the fontresize.css Don't forget to Mark as Installed Live Demo: Patientenfragen.net Version History: v1.0: Initial release v1.1: Added support for Private Messages Feedback is welcome If you wish do Donate, feel free to use the "Support Developer" Button ;) StarBuG https://vborg.vbsupport.ru/ Google isn't paying you enough money! Discover WHY! |
First post reserved
|
Nice, Thanks
But, required reset button |
I am no javascript specialist, if anyone has a solution for a reset
of the font size let me know. I don't think a missing reset is a problem though because reloading the page or changing the page resets the font size anyway ;) |
1 Attachment(s)
Looks very nice and could be very valuable to our old members, which our average age is 60+ .... :D
I just need to find someone who can change the buttons to our color scheme. Is there anyone out there who can do that for a PayPal donation? Does the font size set stay active for the whole thread, or just the post being viewed? Regards, Badger |
1 Attachment(s)
Quote:
Donations are always welcome. Click on Support Developer for a Paypal Donation ;) The font size change only effects the currently viewed page. |
Quote:
I just was trying to test this (I'm using 4.04) and in Showthread template for that version, there is no ... Code:
<div id="thread_controls" class="thread_controls toolsmenu"> Thanks again ... :up: Regards, Badger |
Search for
Code:
<div id="thread_controls" class="thread_controls or as alternative search for this code and put my code below it: Code:
<div id="pagetitle" class="pagetitle"> |
1 Attachment(s)
Quote:
I found it ... :) The darn "search" in templates doesn't find things sometimes, particularly if there's quotes and other symbols in the search. I went into the 4.04 Showthread template and found it manually, so it is there. I added the template edits and upload the files, including your new coloured buttons, which look great ... :up: The only thing I notice is that when I click the A+ button for the first time in any thread, nothing happens. When I click it a second time, at that point the font size increases a level? Is that because of our default font size or something like that? PayPal on the way ... thanks again... nice work and I know there's a whole bunch of very old military veterans with bad eyesight that will appreciate this mod ... :up: Regards, Badger (Doug) |
Quote:
Thanks for the Donation :) |
Quote:
Thanks for your efforts ... :up: Regards, Doug |
Gute Idee, StarBug. Dank f?r?s teilen :up: Nice and simple.
(Good addition, StarBug, Thanks for sharing this.) P.S. Schau mal in Deine PN?s von letztem Monat ;) |
Hi
I just updated this product so it works on private messages too. Enjoy |
Updated to v1.1 .. :)
Seems to work fine on 4.04 ... :up: Also noticed that the PM A+ function works on first click, unlike the thread A+ we discussed earlier .... Regards, Doug |
Quote:
Enjoy ;) |
Quote:
We'd love to have this type of capability as an option an individual member can set under his own personal options, so he doesn't have to do it when he reads every thread .. :up: Again, nice work ... thanks .. :) Regards, Doug |
That is to far above my head.
I am no real programmer I just know my way around html and CSS ;) |
Quote:
Yes, no problem now Thanks |
Quote:
I've had some feedback from testing our site's header, indicating that there are some minor display issues on IE. Apparently, running IE9 in compatibility mode works perfect, though IE6 under XP showed some extra gaps. The site looks perfect in Safari, Chrome and Firefox. With your CSS and HTML knowledge, would you be able to do some paid work to ensure we don't have anomalies with the IE browser family, including IE9? It appears all the other browsers work fine, but since I'm a MacBook Pro user with OSX, Safari and FireFox, I don't see any problems that the IE9 people seem to have. Regards, Doug |
Hi
Sorry but I am full time medical doctor and work on my websites in my spare time. I am also relying on vBulletin to solve the IE 6 Display problems so I am no expert on this field either. I just make sure my site is usable for people using IE 6 but because this browser is 9 years old I don't really want to support it full. |
Quote:
We don't support IE6 and advise members accordingly .... Do you think it would be difficult to have the font mod added to support vbCMS articles? It works so well with posts and the articles are esssentially the same thing. Also, I notice the speak aloud option for posts on your site. Is that a vBulletin mod? One of yours? Regards, Doug |
I think it is possible to add the mod to the cms
you just need to find some code (like I used <blockquote>) that is uniquely wrapped around the text you want to change size. And then you need to create a copy of the js and replace the blockquote code with the one you found/want to use. Then include the new js as well in the header. Unfortunately I don't use the CMS so I can't adapt it for you. The text-to-speech is a licensed service from ReadSpeaker.com. I pay a lot of money for that with annual fees. However the implementation of ReadSpeaker Enterprise into vbulletin currently only works with a product I got written for my forum. I am currently in a negotiation with the company about if they want to acquire the plugin. But if you think about acquiring a readspeaker enterprise license, send me a PM ;) |
Quote:
I don't know vbCMS, but the templates are similar to regular vBulletin templates, so I'm sure it can be added, but I'd screw it up for sure if I started playing in there .. :D I'll have to see if I can find a coder who can adapt your code to it ... Thanks again .. :) Regards, Doug |
Perfect
|
Perfect
installed + 5 Stars |
I've updated to vb 4.1.1 and the font resizer doesn't seem to work in PMs anymore - it still works in regular forum threads though.
Any idea how to fix it? Maybe the code / structure of private messages was changed. |
I used vb 4.1.1 too and it works absolutely perfekt ;)
Thanks 4 shared this mod and nominate. |
vb 4.1.4?
|
There is no reason why it should not work.
|
I notice on your site, you seem to have fixed the button to work on the first click. My site requires two clicks to make the change. What did you change to get it to work on the first click on your site, Sir?
Kether |
Really nice. Installed ;)
|
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|