vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Thread Font Resize - by StarBuG (https://vborg.vbsupport.ru/showthread.php?t=253771)

StarBuG 11-15-2010 10:00 PM

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!

StarBuG 11-16-2010 09:54 AM

First post reserved

Adem GEN? 11-16-2010 11:21 AM

Nice, Thanks

But, required reset button

StarBuG 11-16-2010 11:26 AM

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

BadgerDog 11-16-2010 11:28 AM

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

StarBuG 11-16-2010 11:42 AM

1 Attachment(s)
Quote:

Originally Posted by BadgerDog (Post 2122406)
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

Here you go.

Donations are always welcome. Click on Support Developer for a Paypal Donation ;)

The font size change only effects the currently viewed page.

BadgerDog 11-16-2010 11:46 AM

Quote:

Originally Posted by StarBuG (Post 2122412)
Here you go.

Donations are always welcome. Click on Support Developer for a Paypal Donation ;)

The font size change only effects the currently viewed page.

Wow .. thanks ... :D

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">
Can I send you the Showthread template and perhaps you can tell me where to put the additional code for it?

Thanks again ... :up:

Regards,
Badger

StarBuG 11-16-2010 11:49 AM

Search for

Code:

<div id="thread_controls" class="thread_controls
I think the "toolsmenu" part was added in later Versions.

or as alternative search for this code and put my code below it:

Code:

<div id="pagetitle" class="pagetitle">
    <h1>
        {vb:rawphrase thread}: <span class="threadtitle"><a href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
        <vb:if condition="$show['fb_likebutton']">
            {vb:raw fblikebutton}
        </vb:if>
    </h1>
</div>

However you should really upgrade your vBulletin because there are tons of bugfixes since 4.0.4

BadgerDog 11-16-2010 12:13 PM

1 Attachment(s)
Quote:

Originally Posted by StarBuG (Post 2122415)
Search for

Code:

<div id="thread_controls" class="thread_controls
I think the "toolsmenu" part was added in later Versions.

or as alternative search for this code and put my code below it:

Code:

<div id="pagetitle" class="pagetitle">
    <h1>
        {vb:rawphrase thread}: <span class="threadtitle"><a href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
        <vb:if condition="$show['fb_likebutton']">
            {vb:raw fblikebutton}
        </vb:if>
    </h1>
</div>

However you should really upgrade your vBulletin because there are tons of bugfixes since 4.0.4

Sorry, my bad ... :(

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)

StarBuG 11-16-2010 12:20 PM

Quote:

Originally Posted by BadgerDog (Post 2122419)
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:

I noticed that problem too unfortunatly I have no solution nor do I know why this happens.

Thanks for the Donation :)


All times are GMT. The time now is 09:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01126 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete