[2.0.17] Ruby BB Code

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply

Rating:

Excellent!
1
100%
Very Good
0
No votes
Good
0
No votes
Fair
0
No votes
Poor
0
No votes
 
Total votes: 1

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28664
Joined: Sat Aug 16, 2003 7:36 am

[2.0.17] Ruby BB Code

Post by Extensions Robot »

MOD Name: Ruby BB Code
Author: Quietust
MOD Description: This MOD will allow you to insert ruby annotation in your posts, most commonly used in Japanese forums for entering furigana (pronunciation guides).


MOD Version: 1.1.3 (Updated 08/13/05)

Download File: ruby_bbcode1_1_3.mod
mods overview page: View
File Size: 6232 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:26 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

MOD Validated/Released

Notes:
The author notes pretty much says it all.
Author Notes wrote: ## Author Notes:
##
## IMPORTANT: you MUST first have already installed the Multi Quick BBCode MOD
##
## Usage:
## [ruby=hightext]basetext[/ruby]
##
## Uses simple Ruby HTML, which may not be fully supported by all browsers;
## Opera 7.23 and Mozilla 1.7 (and below) will display the hightext in parentheses
## to the right of the basetext at full size, rather than directly above it in small print.
zanejin
Registered User
Posts: 182
Joined: Sun Oct 19, 2003 10:58 am

Post by zanejin »

What does "ruby annotation" mean? Is there a demo of this MOD working?
Quietust
Registered User
Posts: 18
Joined: Wed Apr 17, 2002 4:37 am
Contact:

Post by Quietust »

For a general idea of what it is, see the W3C recommendation for Ruby Annotation. This particular MOD uses Simple ruby markup, described in section 1.2.2 of the above mentioned document.

To see this MOD in action, see the following topic on the 'Project LRNJ' forums.
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
burnthome
Registered User
Posts: 144
Joined: Thu Jan 08, 2004 9:13 am
Contact:

Post by burnthome »

i still not understand this "ruby annotation" mean??? Did you have any demo to display for .....
Quietust
Registered User
Posts: 18
Joined: Wed Apr 17, 2002 4:37 am
Contact:

Post by Quietust »

burnthome wrote: i still not understand this "ruby annotation" mean??? Did you have any demo to display for .....


Did you even read my previous post?

I linked to both the specifications for ruby annotation (which includes several example images) AND a forum running the mod (specifically, a topic containing a simple demonstration).
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
ahlai_oun
Registered User
Posts: 45
Joined: Fri Apr 30, 2004 2:48 pm

Post by ahlai_oun »

my BBCode has the following in use already from other mods.
'9'
'L_BBCODE_9_HELP' => $lang['bbcode_9_help'],
$lang['bbcode_9_help'] = 'xxxxxx (alt+9)';
n9_help = "{L_BBCODE_9_HELP}";


will it be a problem to install?


[/quote]
"He who ask is a fool for five minutes, but he who doesn't ask is a fool forever."
Quietust
Registered User
Posts: 18
Joined: Wed Apr 17, 2002 4:37 am
Contact:

Post by Quietust »

If you already have a BBcode assigned to Alt+9, then you can edit the Ruby BB code MOD to use a different hotkey. Changes should be made in the following locations:

posting.php

Code: Select all

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$EMBB_keys = array(''

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
,'9'

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_BBCODE_9_HELP' => $lang['bbcode_9_help'],
language/lang_[english]/lang_main.php

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
$lang['bbcode_f_help']

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['bbcode_9_help'] = 'Ruby text: [ruby=hightext]basetext[/ruby] (alt+9)';
templates/[subSilver]/posting_body.tpl

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
f_help = "{L_BBCODE_F_HELP}";

#
#-----[ AFTER, ADD ]------------------------------------------
#
n9_help = "{L_BBCODE_9_HELP}";
In each case, change the '9' to the function key you want to use, matching the FIND section with respect to uppercase/lowercase; in the very last case, drop the 'n' in "n9_help" if you are changing it from a number to a letter.
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
ahlai_oun
Registered User
Posts: 45
Joined: Fri Apr 30, 2004 2:48 pm

Post by ahlai_oun »

i changed to "3" and "n3" . Everything work fine. the only problem i have is when my mouse hover over the BBcode button ruby, it doesn't display ...how to...info like other buttons.

thanks.
"He who ask is a fool for five minutes, but he who doesn't ask is a fool forever."
Quietust
Registered User
Posts: 18
Joined: Wed Apr 17, 2002 4:37 am
Contact:

Post by Quietust »

ahlai_oun wrote: the only problem i have is when my mouse hover over the BBcode button ruby, it doesn't display ...how to...info like other buttons.


Did you make sure to add the help text to all installed languages?
The MOD only includes text for the English language pack (and the SubSilver template), but for the mod to work properly, you must patch ALL languages (and ALL templates).
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
ahlai_oun
Registered User
Posts: 45
Joined: Fri Apr 30, 2004 2:48 pm

Post by ahlai_oun »

Yes I did. I mostly installed on subSilver template first to make sure it's working properly before heading on the other templates.

well, i guess i can use what it offer for now.

thanks for this great mod.
"He who ask is a fool for five minutes, but he who doesn't ask is a fool forever."
macgeek
Registered User
Posts: 123
Joined: Sat Oct 19, 2002 4:45 am
Location: Pearl City, Hawaii USA
Contact:

Post by macgeek »

Reserved for later
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

MOD Updated to version 1.1.3
See first post for Download Link
Riotblade
Registered User
Posts: 9
Joined: Wed Jun 09, 2004 1:56 pm

Post by Riotblade »

Sorry to ask this but what's the syntax?

I've used

[ruby=Month Date Year]September 31 2005[/ruby]
[ruby=Test]Test[/ruby]

and it'll display as

September 31 2005(Month Date Year)
Test(Test)

I installed this with easymod but is it supposed to do that?
Quietust
Registered User
Posts: 18
Joined: Wed Apr 17, 2002 4:37 am
Contact:

Post by Quietust »

As indicated in the MOD's installation instructions:

Code: Select all

## This syntax is not fully supported by all browsers.
## Opera and Firefox will display the hightext in parentheses
## to the right of the basetext at full size, rather than directly
## above it in small print.
The Mozilla team refuses to implement support for it in Mozilla/Firefox, apparently because it's too complex for them to implement complete support and they insist on "all or nothing", not settling for even partial support (i.e. at least as well as MSIE does it).

Opera also lacks support for it, though I don't know precisely why.

Supposedly, there are stylesheets that can be loaded into Mozilla/Firefox to enable proper Ruby rendering. If I can find them and get them to work, I will see about adding them to this MOD.
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
Post Reply

Return to “[2.0.x] MOD Database Releases”

cron