Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Font Resize - by StarBuG Details »»
Thread Font Resize - by StarBuG
Version: 1.1, by StarBuG StarBuG is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.8 Rating:
Released: 11-15-2010 Last Update: 11-15-2010 Installs: 38
Uses Plugins Template Edits Auto-Templates
Additional Files  
No support by the author.

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



Google isn't paying you enough money! Discover WHY!

Download Now

File Type: zip thread_font_resize_v1.1-by_StarBuG.zip (27.1 KB, 282 views)

Screenshots

File Type: png screen_font_size.png (98.3 KB, 0 views)
File Type: png screen_font_size_pm.png (81.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
mohammadxxx

Comments
  #2  
Old 11-16-2010, 09:54 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First post reserved
Reply With Quote
  #3  
Old 11-16-2010, 11:21 AM
Adem GEN?'s Avatar
Adem GEN? Adem GEN? is offline
 
Join Date: Apr 2005
Location: İstanbul / T?rkiye
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, Thanks

But, required reset button
Reply With Quote
  #4  
Old 11-16-2010, 11:26 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-16-2010, 11:28 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks very nice and could be very valuable to our old members, which our average age is 60+ ....

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
Attached Images
File Type: jpg Screen shot 2010-11-16 at 8.29.35 AM.jpg (50.9 KB, 0 views)
Reply With Quote
  #6  
Old 11-16-2010, 11:42 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
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.
Reply With Quote
  #7  
Old 11-16-2010, 11:46 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StarBuG View Post
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 ...

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
Reply With Quote
  #8  
Old 11-16-2010, 11:49 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 11-16-2010, 12:13 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StarBuG View Post
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)
Attached Images
File Type: jpg Screen shot 2010-11-16 at 9.11.11 AM.jpg (52.6 KB, 0 views)
Reply With Quote
  #10  
Old 11-16-2010, 12:20 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11236 seconds
  • Memory Usage 2,345KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete