Font and Size Dropdown 1.1

Started by Ferrika, January 23, 2007, 10:50:54 AM

Previous topic - Next topic

MissyNL

hai,

it works great, but i have 2 questions.

1)  the names are in English, how can i convert it in dutch?
2) the names are wrong.. with font size i see the font names and viceversa. (see attached file)

How can i correct this?

Thanks!
Sorry for my poor English, but i think it's probably better then your Dutch :)

sparky33

I have this problem too: the names are wrong.. with font size i see the font names and viceversa
www.dublinforums.org

www.renaultforums.co

Jade Elizabeth

The wrong way round for the names has been answered numerous times in the topic :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

perplexed

Quote from: Lafemme on March 27, 2008, 10:56:37 AM
hai,

it works great, but i have 2 questions.

1)  the names are in English, how can i convert it in dutch?
2) the names are wrong.. with font size i see the font names and viceversa. (see attached file)

How can i correct this?

Thanks!


http://www.simplemachines.org/community/index.php?topic=144889.msg1243333#msg1243333

sparky33

Quote from: Alundra on March 30, 2008, 11:54:25 AM
The wrong way round for the names has been answered numerous times in the topic :)

So helpful...not.


Cheers perplexed.
www.dublinforums.org

www.renaultforums.co

Jade Elizabeth

Quote from: sparky33 on March 30, 2008, 03:54:57 PM
Quote from: Alundra on March 30, 2008, 11:54:25 AM
The wrong way round for the names has been answered numerous times in the topic :)

So helpful...not.


Cheers perplexed.

Before asking for support you are supposed to search the topics for the answer :).
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

sparky33

As you are psychic, and know what I did or didn't do, can I have the winning lottery numbers for this wednesday please?
www.dublinforums.org

www.renaultforums.co

Jade Elizabeth

Quote from: sparky33 on March 30, 2008, 04:06:21 PM
As you are psychic, and know what I did or didn't do, can I have the winning lottery numbers for this wednesday please?

Well since it was answered in the topic, I assumed you musnt have searched.
But no, I'm not psychic lol :)....However I've heard a lot of lottery winners won through fortune cookies..I'll have to search for where I heard that if you wanted to know :P.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

MissyNL

Sorry for my poor English, but i think it's probably better then your Dutch :)

2Ntense

#109
 :P  Looks like the SMF team forgot something: there's no option anywhere in the 1.1.4 sources OR this mod for BBC font color = "White"

D'oh!  And as they're running 2.0 beta 3 here, it looks like it's not in SMF 2 either.  D'oh, a deer, a female deer....  ;)

Does anyone know if it's somewhat safe to use the (currently unused) $txt[278] string so that I can add the other white meat?  Yeah, I know I can always change the BBC by hand, but that's the whole POINT of this mod: doing it simply with a drop-down.  I like simple, it keeps the members happy.  Several of our themes are quite a bit darker than 'default', so white would be nice.  It's almost invisible above (I run 'default' here on simplemachines).

edit: and I see 'fuchsia' and 'silver' are also missing, and 'pink' is one of the old Netscape additions. 
When I manually edit in 'fuchsia' into the BBC in a post the displayed color is black.  :o

quote: "HTML recognizes the following 16 color names: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow."

klra

#110
I keep getting errors myself.

I tried uploading the files that were attached but that just created a slew of new font, name, id, and size errors.

So I uploaded the original files and now I cannot see the font size and type headings or selections in the drop down boxes.

Here is what my file looks like-

<?php
// Version: 1.1; Post

$txt[25] = 'Post reply';
$txt[71] = 'Message icon';
$txt[77] = 'The Subject field was not filled out. It is required.';
$txt[78] = 'The Message Body was not filled out. It is required.';
// Use numeric entities in the below string.
$txt[130] = "Regards,\nThe " $context['forum_name'] . ' Team.';
$txt[252] = 'Add BBC tags';
$txt[253] = 'Bold';
$txt[254] = 'Italicized';
$txt[255] = 'Underline';
$txt[256] = 'Centered';
$txt[257] = 'Insert Hyperlink';
$txt[258] = 'Insert Email';
$txt[259] = 'Insert Code';
// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'.
$txt[260] = 'Insert Quote';
$txt[261] = 'Insert List';

$txt['change_color'] = 'Change Color';
$txt[262] = 'Black';
$txt[263] = 'Red';
$txt[264] = 'Yellow';
$txt[265] = 'Pink';
$txt[266] = 'Green';
$txt[267] = 'Orange';
$txt[268] = 'Purple';
$txt[269] = 'Blue';
$txt[270] = 'Beige';
$txt[271] = 'Brown';
$txt[272] = 'Teal';
$txt[273] = 'Navy';
$txt[274] = 'Maroon';
$txt[275] = 'Lime Green';
$txt[276] = 'Disable Smileys';
$txt[277] = 'Don\'t use smileys.';
// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'.
$txt[280] = 'Posted on';
$txt[281] = 'Standard';
$txt[282] = 'Thumb Up';
$txt[283] = 'Thumb Down';
$txt[284] = 'Exclamation point';
$txt[285] = 'Question mark';
$txt[286] = 'Lamp';
$txt[297] = 'Add Smileys';
$txt[433] = 'Insert Flash';
$txt[434] = 'Insert FTP Link';
$txt[435] = 'Insert Image';
$txt[436] = 'Insert Table';
$txt[437] = 'Insert Table Column';
$txt[438] = 'There are no topics with Notification.';
$txt[439] = 'Marquee';
$txt[440] = 'Teletype';
$txt[441] = 'Strikethrough';
$txt[442] = 'Glow';
$txt[443] = 'Shadow';
$txt[444] = 'Preformatted Text';
$txt[445] = 'Left Align';
$txt[446] = 'Right Align';
$txt[447] = 'Superscript';
$txt[448] = 'Subscript';
$txt[449] = 'Insert Table Row';
$txt[499] = 'Your message is too long. Please go back and shorten it, then try again.';
$txt[531] = 'Horizontal Rule';
$txt['font_face'] = 'Font Type';
$txt['font_arial'] = 'Arial';
$txt['font_times'] = 'Times New Roman';
$txt['font_comic'] = 'Comic Sans MS';
$txt['font_verd'] = 'Verdana';
$txt['font_heatt'] = 'Haettenschweiler';
$txt['font_taho'] = 'Tahoma';
$txt['font_size'] = 'Font Size';
$txt['size_9'] = '9pt';
$txt['size_10'] = '10pt';
$txt['size_11'] = '11pt';
$txt['size_12'] = '12pt';
$txt['size_13'] = '13pt';
$txt['size_14'] = '14pt';

// Use numeric entities in the below five strings.
$txt['notify_boards'] = 'A new topic, \'%s\', has been made on a board you are watching.' "\n\n" 'You can see it at' "\n" '%s' "\n\n";
$txt['notify_boards_subject'] = 'New Topic: %s';
$txt['notify_boards_once'] = 'More topics may be posted, but you won\'t receive more email notifications until you return to the board and read some of them.';
$txt['notifyUnsubscribe'] = 'Unsubscribe to this topic by clicking here';
$txt['notify_boardsUnsubscribe'] = 'Unsubscribe to new topics from this board by clicking here';

$txt['smf13'] = 'Lock after Post';
$txt['smf14'] = 'Notify me of replies.';
$txt['smf15'] = 'Lock this topic.';
$txt['smf16'] = 'shortcuts: hit alt+s to submit/post or alt+p to preview';
$txt['smf22'] = 'Option';
$txt['smf40'] = 'Reset Vote Count';
$txt['smf41'] = 'Check this if you want to reset all vote counts to 0.';
$txt['smf42'] = 'votes';
$txt['smf119'] = 'Attach';
$txt['smf119b'] = 'Attached';
$txt['smf120'] = 'Allowed file types';
$txt['smf121'] = 'Maximum attachment size allowed';
$txt['smf123'] = 'You cannot upload that type of file. The only allowed extensions are';
$txt['smf129'] = 'To delete your attachment, leave this blank.';
$txt['smf130'] = 'Uncheck the attachments you no longer want attached';
$txt['smf130b'] = 'That is a restricted filename. Please try a different filename.';
$txt['smf287'] = 'Warning: topic is currently/will be locked!<br />Only admins and moderators can reply.';

// Use numeric entities in the below three strings.
$txt['notifyXAnn2'] = 'New announcement';
$txt['notifyXAnn3'] = 'To unsubscribe from these announcements, login to the forum and uncheck "Receive forum announcements and important notifications by email." in your profile.' "\n\n" 'You can view the full announcement by following this link:';
$txt['notifyXOnce2'] = 'More replies may be posted, but you won\'t receive any more notifications until you read the topic.';

$txt['rtm2'] = 'Enter comment';
// Use numeric entities in the below two strings.
$txt['rtm3'] = 'Reported post';
$txt['rtm4'] = 'by';
$txt['rtm10'] = 'Submit';
// Use numeric entities in the below four strings.
$txt['rtm_email1'] = 'The following post, "%s" by';
$txt['rtm_email2'] = 'has been reported by';
$txt['rtm_email3'] = 'on a board you moderate';
$txt['rtm_email_comment'] = 'The reporter has made the following comment';

$txt['maxAttachPerPost'] = 'per post';

$txt['post_additionalopt'] = 'Additional Options...';
$txt['sticky_after2'] = 'Sticky this topic.';
$txt['move_after2'] = 'Move this topic.';
$txt['back_to_topic'] = 'Return to this topic.';

$txt['retrieving_quote'] = 'Retrieving Quote...';

$txt['poll_options'] = 'Poll Options';
$txt['poll_options1a'] = 'Run the poll for';
$txt['poll_options1b'] = 'days. (leave blank for no limit)';
$txt['poll_options2'] = 'Show the poll\'s results to anyone.';
$txt['poll_options3'] = 'Only show the results after someone has voted.';
$txt['poll_options4'] = 'Only show the results after the poll has expired.';
$txt['poll_options5'] = 'Maximum votes per user.';
$txt['poll_options7'] = 'Allow user to change vote.';
$txt['poll_error1'] = 'You selected too many options.  For this poll, you may only select %s options.';
$txt['poll_add_option'] = 'Add Option';

$txt['spellcheck_done'] = 'Spell checking complete.';
$txt['spellcheck_change_to'] = 'Change To:';
$txt['spellcheck_suggest'] = 'Suggestions:';
$txt['spellcheck_change'] = 'Change';
$txt['spellcheck_change_all'] = 'Change All';
$txt['spellcheck_ignore'] = 'Ignore';
$txt['spellcheck_ignore_all'] = 'Ignore All';

$txt['more_attachments'] = 'more attachments';
// Don't use entities in the below string.
$txt['more_attachments_error'] = 'Sorry, you aren\'t allowed to post any more attachments.';

$txt['more_smileys'] = 'more';
$txt['more_smileys_title'] = 'Additional smileys';
$txt['more_smileys_pick'] = 'Pick a smiley';
$txt['more_smileys_close_window'] = 'Close Window';

$txt['error_new_reply'] = 'Warning - while you were typing a new reply has been posted. You may wish to review your post.';
$txt['error_new_replies'] = 'Warning - while you were typing %d new replies have been posted. You may wish to review your post.';
$txt['error_new_reply_reading'] = 'Warning - while you were reading a new reply has been posted. You may wish to review your post.';
$txt['error_new_replies_reading'] = 'Warning - while you were reading %d new replies have been posted. You may wish to review your post.';
$txt['error_old_topic'] = 'Warning: this topic has not been posted in for at least ' $modSettings['oldTopicDays'] . ' days.<br />Unless you\'re sure you want to reply, please consider starting a new topic.';

// Use numeric entities in the below sixteen strings.
$txt['notification_reply_subject'] = 'Topic reply: %s';
$txt['notification_reply'] = 'A reply has been posted to a topic you are watching by %s.' "\n\n" 'View the reply at: ';
$txt['notification_sticky_subject'] = 'Topic stickied: %s';
$txt['notification_sticky'] = 'A topic you are watching has been marked as a sticky topic by %s.' "\n\n" 'View the topic at: ';
$txt['notification_lock_subject'] = 'Topic locked: %s';
$txt['notification_lock'] = 'A topic you are watching has been locked by %s.' "\n\n" 'View the topic at: ';
$txt['notification_unlock_subject'] = 'Topic unlocked: %s';
$txt['notification_unlock'] = 'A topic you are watching has been unlocked by %s.' "\n\n" 'View the topic at: ';
$txt['notification_remove_subject'] = 'Topic removed: %s';
$txt['notification_remove'] = 'A topic you are watching has been removed by %s.';
$txt['notification_move_subject'] = 'Topic moved: %s';
$txt['notification_move'] = 'A topic you are watching has been moved to another board by %s.' "\n\n" 'View the topic at: ';
$txt['notification_merge_subject'] = 'Topic merged: %s';
$txt['notification_merge'] = 'A topic you are watching has been merged with another topic by %s.' "\n\n" 'View the new merged topic at: ';
$txt['notification_split_subject'] = 'Topic split: %s';
$txt['notification_split'] = 'A topic you are watching has been split into two or more topics by %s.' "\n\n" 'View what remains of this topic at: ';

// Use numeric entities in the below two strings.
$txt['notification_reply_body'] = 'The text of the reply is shown below:';
$txt['notification_new_topic_body'] = 'The text of the topic is shown below:';

$txt['announce_this_topic'] = 'Send an announcement about this topic to the members:';
$txt['announce_title'] = 'Send an announcement';
$txt['announce_desc'] = 'This form allows you to send an announcement to the selected membergroups about this topic.';
$txt['announce_sending'] = 'Sending announcement of topic';
$txt['announce_done'] = 'done';
$txt['announce_continue'] = 'Continue';
$txt['announce_topic'] = 'Announce topic.';
$txt['announce_regular_members'] = 'Regular Members';

?>


I know a simple edit should fix this but I can't seem to figure it out.

Any help is most appreciated.

klra

Ok, I uninstalled tyhe mod, got the warning, but did it anyway.

After that, I edited the post.english.php files, removing the references to the font size and face.

Now I am still getting errors-

8: Undefined offset: 533
File: /home/xxxxx/public_html/forums/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 813


and

8: Undefined index: size_14
File: /home/xxxxx/public_html/forums/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 866


This is very frustrating.

What else needs to be modified so I can stop the enormous amount of errors?

ameo

File attached is an actual fix for English.

Font size| Font face  mix up.  I don't know why this hasn't been done yet,  >:(
but I did it.  O:)

By the way, in any other language letters don't show. I guess people shall have to modify it themselves.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

pinoypetfinder

hi. will the 'package' work on 1.1.5? or do i have to do it manually?

also, i noticed that the fonts size are posted as #pt #pt etc.. is there a way i can add just number? because i wanted to set the limit to 12pt (3) or less and there are some user on our forum that uses font=6 (which makes it really biiiiig....... and annoying :/

Sabre™

*sigh*

I just installed this mod, and it uninstalled almost every mod I have, filling my errorlog with pages of errors.

Im now reinstalling all the mods, and often have to revert to a backup before the mod was installed, as I get parse errors. I installed 5 mods and manually added code today, thats why Im doing it this way.
Even using a backup before that mod was installed isnt reinstalling my manual edits :-\

I shouldve just added these two options myself instead of using this mod.
I have never come across this type of problem before.

Good its worked for others, but Im gonna say to the new...
Use at your own risk!!
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Marcus Forsberg

Will this work whit 2.x?

And if not, will it do in the future?

Kimmie

Mod installed fine with no test fails, however I am getting this error in my log:

8: Undefined offset: 533
File: /home//public_html/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 1026

It happens with both versions of the mod (one on the mod page, and the one that ameo posted).

Any ideas?

squad

Quote from: pinoypetfinder on July 21, 2008, 08:16:49 PM
hi. will the 'package' work on 1.1.5? or do i have to do it manually?

also, i noticed that the fonts size are posted as #pt #pt etc.. is there a way i can add just number? because i wanted to set the limit to 12pt (3) or less and there are some user on our forum that uses font=6 (which makes it really biiiiig....... and annoying :/

pinoypetfinder, I cannot help you with the your second question about the 'font sizes' but I can tell you I just downloaded this via the Package manager and I am using 1.1.5 Babylon and it installed immediately - full English language forum though, if that is any help to you :) The download was missing the files for UTF-8 English and all the other languages and since I didn't need those I continued. I'm not 100% sure what the UTF-8 English is all about but the forum is still intact :)


W. Riker

#119
Can somebody please show me what should i change in this mod to get more fonts?

I also need fonts 4pt, 7pt, 16pt, 18pt, 20pt, 25pt, 35pt and 50pt


O:)

Advertisement: