Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=639)
This mod will create a Drop Down Box for Font Face and Font Size.
This allows Users to select directly a kind of Font Face or Font Size for BB-Code.
For SMF Version 1.1.1 english and german
all Themes
*:Special Thanks for helpfull Tips to DIN1031
Diese mod erstellt je eine Drop Down Box für Schriftart und Schriftgrösse.
Hier kann der User direkt eine Schriftart oder Schriftgrösse auswählen, welches dann als BB-Code eingefügt wird .
Für SMF Version 1.1.1 englisch und deutsch
*:Besonderen Dank an DIN1031 für die hilfreichen Tips
Demo: http://www.witchilein.de/ (http://www.witchilein.de/)
error in Manual.xxxxx.php
Search:
$txt['manual_posting_Change_Font_size']
replace:
$txt['manual_posting_Change_size']
;)
Works for me, great mod!
Quote from: Darknico on January 24, 2007, 12:00:30 PM
error in Manual.xxxxx.php
Search:
$txt['manual_posting_Change_Font_size']
replace:
$txt['manual_posting_Change_size']
;)
Does this change need to be made? I made the edit manually.
This is excellent, and makes it real easy to add more font and size choices.
Thanks!
I'm thinking I take things a little too literally.
Quote from: lexhair on January 29, 2007, 04:10:41 PM
Does this change need to be made? I made the edit manually.
Yes,in the Manual.LANGUAGE.php
Got it. I didn't see any errors in the logs with the original code and didn't know how to interpret your wink smiley.
it gave to errors entering in help (index.php?action=help)
excuse my English, I am Italian
Verimente. L'ho visto la stessa cosa questa mattina quando l'ho provato la pagina d'aiuto. Scrive molto bene l'inglese.
I am not sure if I am missing a step to get this working.
I downloaded the file to my local computer and then did this.....
ADMIN-->UPLOAD A PACKAGE
I then uploaded this file FontandSizeDropdown_1.1.tar.gz from my local machine
It shows in my admin panel that it is installed.
I made the modification to the "$txt['manual_posting_Change_Font_size']" file and removed the word Font
Is there something I need to do in the install package to make it work? It has not made a change when I go create a topic or reply to a topic.
Thanks
Ken
I use enhanced quick reply, would this mod work with that also?
Hi,
does this mod also work for version 1.1.2? At least in my Installation error's are reported by the Paket Manager in
- ./Themes/default/languages/Manual.german.php
- ./Themes/default/languages/Post.german.php
The mod does not work for german language.
Thomas
Sorry for late answer,
I've made an update for SMF 1.1.2 on yesterday. Now it works right.
@Ferrika
I installed the current version. The mod as such works, but the two drop-down boxes remain empty....
Hi,
for some reason the content for the post_<language>-php has not been added correctly (even though the package manager reported no errors:
post.german.php received the line $txt[533] = 'Schriftart'; but not the rest (font_x and size_x).
post.english.php received the font_x and size_x lines but not the $txt[533] line
I checked this with a clean install of 1.1.2
Thomas
Nice mod
downloaded the - FontAndSizeDropDown_1.2.tar.gz
installed fine with no errors but the size and font are backwards
And also, i'm still using 1.12 but plan on updating to 1.13 soon will this work with 1.13
@ LunyMarcus
Almost all mods (can't think of any that won't but covering myself just in case) you already have installed will continue to work post upgrade to SMF 1.1.3 from SMF 1.1.2 however those whose packages don't include formal compatibility with SMF 1.1.3 won't be able to be uninstalled via the package manager....this mod included.
LunyMarcus
The mistake was made in the modifications in the Post.english.php file...... just switch them there, and hopefully it will get changed in the Mod files..... ;)
Thx for the replies TrueSatan and spottedhog.
Don't think I'll be uninstalling any mods that I have installed so that won't be a problem.
And I editted the Post.english.php file so everything is fine now.
Thanks again
Quote from: kenwvs on February 05, 2007, 03:07:45 AM
I am not sure if I am missing a step to get this working.
I downloaded the file to my local computer and then did this.....
ADMIN-->UPLOAD A PACKAGE
I then uploaded this file FontandSizeDropdown_1.1.tar.gz from my local machine
It shows in my admin panel that it is installed.
I made the modification to the "$txt['manual_posting_Change_Font_size']" file and removed the word Font
Is there something I need to do in the install package to make it work? It has not made a change when I go create a topic or reply to a topic.
Thanks
Ken
thou i havnt done this
"I made the modification to the "$txt['manual_posting_Change_Font_size']" file and removed the word Font"
the same is the result with mine ...
just installed it&
no errors & no change and no menus!!!
I've updated the package to include the bug fixes mentioned in previous postings and to add support for SMF 1.1.3. I've tested it on a fresh install of SMF 1.1.3...no problems. Some other mods may conflict with it (colour bar for instance) and members should ensure that in ACP> Server Settings they are using english and not english utf8
so shd i unistall and install again????
will it be alright this time???? :?
@ freworld
I suspect that you have some issue that is making the mod fail (conflict with another mod, language settings etc (this last one being a very likely reason for your problems)) so I doubt that using the version I just posted would help you but you'll lose nothing by trying it so go ahead.
The mod does work properly on a fresh install with no mods in place with which it might conflict and the language settings as they should be.
LETS TRY !!!
FINGRES CROSSED AS I NEED IT DESEPERATELY
as without this font cant be enlarged in any way!!
dats pretty big bug in smf,,
isnt it?????
...pretty big problem in your particular configuration perhaps but it's not a bug in SMF as such.
If you still have problems perhaps you would install a fresh database and test forum on that database and see if the problem you have exists there too. If, as I strongly expect, that works properly you can then add your mods to it one by one testing as you go.
If via the above process you can get that forum to work properly with the mods you want in place then you can backup the files from it minus Settings.php and Settings_bak.php in the forum root and put them onto your main/live/production forum thus solving your problem.
The two files I mentioned contain your details of database etc and should not be removed or overwritten.
i have SMF 1.1.3
and i get blank windows...i have no other mods
and i dont know anything about editing php
Quote from: TrueSatan on June 28, 2007, 08:43:24 AM
I've updated the package to include the bug fixes mentioned in previous postings and to add support for SMF 1.1.3. I've tested it on a fresh install of SMF 1.1.3...no problems. Some other mods may conflict with it (colour bar for instance) and members should ensure that in ACP> Server Settings they are using english and not english utf8
My forum set to English utf8 , .. this mod wont work for me ?
I have SMF 1.1.3 and was using Font and Size Dropdown 1.1 today I tryed to update it to 1.2 so I uninstalled old one and when I tryed to install new one I got this error:
Execute Modification ./Themes/default/languages/Post.english.php Test failed
after this error I tryed to install old one back but now old version gives me same error
anyone knows whats wrong with Post.english.php file? or how to fix it?
thanks
What other mods do you have installed? This can mean your file is corrupt go replace languages/Post.english.php from a fresh install.
Quote from: shadow82x on August 03, 2007, 10:50:05 AM
What other mods do you have installed? This can mean your file is corrupt go replace languages/Post.english.php from a fresh install.
Thank u very much!
I did replaced it and works now
thanks!
Glad I could help. ;)
I need more help pleas
I dont know how to add more fonts to that drop downl manu
anyone knows how?
thanks
Theres no additional fonts at the time I believe. SMF2.0 may have more fonts. ;)
thankzzz
Ok i'm very sorry but completely confused right now.
I just downloaded yesterday, and installed today.
I also have empty boxes. I have the Darkster theme and from what I can see it follows smf pretty well.
So what do I do to get the stuff in the box.....the manual thing ......I'm sorry, I'm really not an idiot just confused as have never done this before.
thanx
Did you read - http://docs.simplemachines.org/index.php?topic=402.msg531#msg531
Well, we tried everything. The curious this is...even though the boxs look empty they aren't. There is just not label and no text in them
When u click on them there are highlights and it will do the size in the one and the type face in the other.
Now........what is wrong that the text isn't there even though the stuff really is but is hiding? lol
I have no other mods installed.
Sorry to be a pig but............lol...........
Frak, it's not even showing boxes for me. It says all themes -- do I STILL need a manual edit somewhere? I am using 1.1.3... just nothing. Says it's installed. :-0
Are you on english utf8? If so change it to plaine english. Admin - Server Settings - Language
Quote from: shadow82x on September 03, 2007, 10:09:49 PM
Are you on english utf8? If so change it to plaine english. Admin - Server Settings - Language
How does this idiotic one do that? ALl I see is the options for English, Dutch, German, Spanish... or am I doing something wrong?
Make sure it's set to just "english"
under server settings.
Just plain old English... any other ideas?
For each theme via FTP you can create a new folder called languages and put in post.english.php from your default theme than chmod it,
Each theme is FTP/THEMES/THEME NAME
Okay, chmod always confuses me. Mainly because deep in my heart I do not in any way love programming. I only delve in to this to make my forum better. :-0 Seriously, can you walk me thru this? Like exactly what to do?
once you create the folder and add the file for each one in FTP you can usually right click and choose properties or chmod than make sure it's 777.
Okay, will try it.
Did that. It still doesn't show the boxes. Nada.
Than try chmoding both the folder/post.english.php to 755. Make sure you do this for all themes.
what, add the languages folder and post.english file? I really only use one theme... I don't like it, but haven't really found one that works well for me. Ack and too damn hard to modify :-( Anyway... can I just do the one folder and file or at most the default and file?
Crap, I just went and looked and it didn't take the chmod. I tried again and it keeps going back. What am I doing wrong there? Never had that prob before.
Yeah you can just do it for that theme. It appears your missing language files if that happens.
I'm not sure you can tr switching FTP clients.
CRAP! I got it to chmod 777 and it STILL doesn't do ANYTHING. >:-0 most frustrating. I am sure it is something dumb, but what? Never had this kind of prob w/ smf before :--0
i did english along time ago and it still doesn't work
i got an error in Post.template.php (i uploaded it for anyone who could help to see it) !
i use smf 1.1.3/tp 0.9.8 ! any ideas ?
thnx !
Your error is a variant on the most common error of all those reported on these pages...it tells you that another mod you have installed has already edited the file in question and that you thus need to do a manual installation of this mod. Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
thnx a lot , gonna do so ! :)
i have 1.1.3 and installed font dropdown 1.2 and the only problem i see is in the post area the drop menus are there and working but it wont say what they are as the buttons are blank
any ideas on how to fix this please
http://boards-express.com/Forum/index.php
Please see the answer I gave you to your almost identical query on the shop mod topic.
Hello,
First Thanks for a great mod. :D
I did find a little error. You have <file name="$themedir/languages/Post.english.php">
<operation>
<search position="replace"><![CDATA[
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';
]]></search>
<add><![CDATA[
$txt['font_face'] = 'Font Size';
$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 Face';
$txt['size_9'] = '9pt';
$txt['size_10'] = '10pt';
$txt['size_11'] = '11pt';
$txt['size_12'] = '12pt';
$txt['size_13'] = '13pt';
$txt['size_14'] = '14pt';
]]></add>
</operation>
</file>
The "Font Size" and Font Face" are in the wrong spots. So after you install it it says, "Font Size" on the drop down but their are font types and on "Font Face" has font sizes.
Easy fix, just open "post.english.php" and change them around. I think the german one is miss up too.
Thanks SMASH for the clear and easy instructions.
another thing, i tried to add more sizes in the same post.english.php file by copying and changing the size number and it only showed up to 14 just whats in the default package. i read in the beginning of this thread that this will make it easy to add more sizes and more fonts style but could find anywhere how it can be done. anyone added more sizes and more fonts please let us know how. thanks in advance.
When i uninstalled the mod(i did because another mod included that function also) i get 2 empty boxes in place of the font face and font size, how do i get rid of them? On the uninstall i get an error on the modification of post.template.php, so i think i need to delete some code there, but i don't know where. Here is my post.template.php:http://www.gmworks.hyperphp.com/forum/Themes/default/Post.template.php (http://www.gmworks.hyperphp.com/forum/Themes/default/Post.template.php)
Can please somebody help me?
Change both the post.english.php and the post.template.php in your themes & languages directories
Quote from: bassbass on September 19, 2007, 07:26:44 PM
another thing, i tried to add more sizes in the same post.english.php file by copying and changing the size number and it only showed up to 14 just whats in the default package. i read in the beginning of this thread that this will make it easy to add more sizes and more fonts style but could find anywhere how it can be done. anyone added more sizes and more fonts please let us know how. thanks in advance.
Thank you TOOMUCH4MOST, i will try it and report later.
./Themes/default/Post.template.php this is red , why?
because im simply not smart enough
how do i put this into my quick reply?
anyone?
I was trying to change my file to fix the font size and face error, but it wouldn't open.
I'm not a programmer, is there some editing software I need to open the .gz file?
Then I tried to uninstall the MOD, but it didn't uninstall. (I was going to try a manual install)
It shows "uninstalled" but it is actually working (I think).
I wanted to add some extra fonts, and larger sizes.
Can anyone help me?
I installed this and noticed that
1. The font face drop down shows font size and not font faces (and vice versa)
2. I get this error Apply Filter: Only show the error messages of this URL http://www.whitbyseaanglers.co.uk/forum/?pretty;board=north-east-coast-fishing;topic=saltburn-christmas-open.new
Apply Filter: Only show the errors with the same message
8: Undefined offset: 533
File: /home/glennk/public_html/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 980
3. It wont allow me to uninstall and gives this error :
Type Action Description
1. Execute Modification fontandsizedropdown_1.2.xml Modification parse error
2. Execute Modification - Modification parse error
Help pleaseeeeeeeee !!!!!!!!!!!.............................
for real dude, search this topic that problem has been fixed atleast 3 times :)
Hi Dude,
Im not too worried about the boxes being in the wrong place but my error log now has 63 pages of errors like this
QuoteApply Filter: Only show the error messages of this member carpyken Today at 06:39:22 PM
Apply Filter: Only show the error messages of this IP address 87.113.86.74 Apply Filter: Only show the error messages of this session fc91e20794bcc86be04eec5012fc789d
Apply Filter: Only show the error messages of this URL http://www.whitbyseaanglers.co.uk/forum/?pretty;board=north-east-coast-fishing;topic=fishing-2moro.0
Apply Filter: Only show the errors with the same message
8: Undefined offset: 532
File: /home/glennk/public_html/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 979
And the mods only been installed for a couple of hours.
I can live with the wrong boxes but not the errors, I would like to uninstall but it wont let me.
Any advice please ?
send me your post english file and ill take a look
Quote from: TeaTephi on December 23, 2007, 07:09:52 PM
I was trying to change my file to fix the font size and face error, but it wouldn't open.
I'm not a programmer, is there some editing software I need to open the .gz file?
Then I tried to uninstall the MOD, but it didn't uninstall. (I was going to try a manual install)
It shows "uninstalled" but it is actually working (I think).
I wanted to add some extra fonts, and larger sizes.
Can anyone help me?
I have read through this thread, but I may have missed the answer, when I tried to "fix it", I proceeded to uninstall it and now it says it is uninstalled, but it is not.
How do I fix this post.english.php file? I don't know how to open it or with what. I have just enough knowledge to mess everything up.
Please help me.
Solved : I downloaded the file using my ftp (my new Best Friend) and right clicked using Notepad ++ I was able to not only fix the error (font face and size) but also I modified the post.template.php in the default theme folder to ADD MORE FONTS!
It was easy once I knew what programs opened the php file and how to upload it back through my ftp.
HOWEVER, it still "shows" the MOD as not installed (because I tried to uninstall it and start over).
I never reinstalled it because I'm afraid I'll mess it up. Since it works, why fix something that is not broke though right?
If anyone thinks I should correct this (you technical geniuses) let me know.
Thanks TEA
Hi Alundra thanks for your offer. this is the code
<?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 Size';
$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 Face';
$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';
?>
can you attach it or email it to me so i can see the line numbers please?
<emails in my profile, im on msn right now if you have it :)
Thanks for a great mod!
I have a question...
I want to modify it so that every entry in the Font Face menu is acctually written in its own font...
Like this:
Courier
Arial
Arial Black
etc..
So the users will se what the acctual font will look like when they choose it.
Is that possible?
It would be great to do that with the color as well.
Quote from: TOOMUCH4MOST on September 30, 2007, 07:43:40 PM
Change both the post.english.php and the post.template.php in your themes & languages directories
Quote from: bassbass on September 19, 2007, 07:26:44 PM
another thing, i tried to add more sizes in the same post.english.php file by copying and changing the size number and it only showed up to 14 just whats in the default package. i read in the beginning of this thread that this will make it easy to add more sizes and more fonts style but could find anywhere how it can be done. anyone added more sizes and more fonts please let us know how. thanks in advance.
If I just add new entries in the Post.template.php file, and in the Post.english.php file, that makes the fonts available? Do I have to install the fonts anywhere else?
Thanks!
I have the same question as Matthew. I can see in the .php files where one can add a font but which fonts can you add? Do you need to have them installed somewhere? Is there a set of ''reserved words" used for font names?
For example, if I wanted to install the font Georgia, what would I put in the .php file for names and do I have to install that font somewhere?
The same with font size. How can you get one larger than 14 points?
Quote from: MaryLouW on February 13, 2008, 04:51:09 AM
I have the same question as Matthew. I can see in the .php files where one can add a font but which fonts can you add? Do you need to have them installed somewhere? Is there a set of ''reserved words" used for font names?
For example, if I wanted to install the font Georgia, what would I put in the .php file for names and do I have to install that font somewhere?
The same with font size. How can you get one larger than 14 points?
Change both the post.english.php and the post.template.php in your themes & languages directories
You can add ANY font installed in your PC's font file. I added Hebrew, Greek, and some ancient languages.
I also changed the font sizes to 8pt., 12pt. 18pt, & 24 pt.
Just make sure the font is "Installed on Windows" on your PC and when you change the .php files it should work. Worked for me.
Good luck
Tea
Thanks for the speedy answer. What I am mostly concerned about is the wording. For example:
['font_verd'] = 'Verdana';
Can this word be anything you want it to be?
Quote from: MaryLouW on February 13, 2008, 04:53:36 PM
Thanks for the speedy answer. What I am mostly concerned about is the wording. For example:
['font_verd'] = 'Verdana';
Can this word be anything you want it to be?
The word in red? No I think not. It's a txt string (it calls the words after it), so unless you go through all the files this mod edited and change the string everywhere it occurred then you cannot change it. HOWEVER, the 'Verdana' can be changed, because it is what is displayed when that string is called upon inside a file :D
Thank you much!!! I'll try it later today and let you know what happened! I am assuming I can also remove a font that I don't like. Interesting thing, that the Haettenschweiler font is not anywhere on my computer.
It doesn't really make sense to me that it would need to be installed because the module doesn't access my computer for those fonts. I would love to know where they DO come from though.
Quote from: MaryLouW on February 13, 2008, 05:25:12 PM
Thank you much!!! I'll try it later today and let you know what happened! I am assuming I can also remove a font that I don't like. Interesting thing, that the Haettenschweiler font is not anywhere on my computer.
It doesn't really make sense to me that it would need to be installed because the module doesn't access my computer for those fonts. I would love to know where they DO come from though.
Theres a font folder in the Themes>Default folder somewhere. I assume that's it. If you find how to add fonts there, let me know, I'd love to customise it :D
There is a font folder but it doesn't have anything in it that's installed in the font file. I don't think I'm qualified to figure this one out. I just installed the program 3 days ago. Today is day 4. I really love this software, I just need to dig into it more.
I wonder if we should ask on a different board?
Quote from: MaryLouW on February 13, 2008, 05:54:57 PM
There is a font folder but it doesn't have anything in it that's installed in the font file. I don't think I'm qualified to figure this one out. I just installed the program 3 days ago. Today is day 4. I really love this software, I just need to dig into it more.
I wonder if we should ask on a different board?
I'll take it to coding discussion ;)
Thanks! Would appreciate it if you could post findings in this thread. I am somewhat lost here as this place is huge!! Haven't learned my way around yet.
http://www.simplemachines.org/community/index.php?topic=222607.0 <There's the link :D
Actually, I did find that strange font in my windows folder. I don't think I have it installed but it's in my fonts folder.
I did a google search to see what fonts came with windows so I can pick from that list. It's pretty slim so I'm just going to pick a few that are on all the windows list. I hope it works okay!!
Thanks for asking the question on the other board.
Quote from: MaryLouW on February 13, 2008, 08:56:01 PM
Actually, I did find that strange font in my windows folder. I don't think I have it installed but it's in my fonts folder.
I did a google search to see what fonts came with windows so I can pick from that list. It's pretty slim so I'm just going to pick a few that are on all the windows list. I hope it works okay!!
Thanks for asking the question on the other board.
It's okay...We tried at least ;)
As requested by Ferrika:
@Kat-2
Attached the repaired files. Please make a backup of this files, before you upload them.
The problem was the missing Post.english.php. I don't know, why it is not in the original on your space. If you'll have some problems after uploading it without the ~, rename the file again to post.english.php~.
Ferrika
First off, thank you Ferrika for trying to help me.
Sigh. Okay, I replaced all of the files.
Now, when I first installed this mod I go NO errors, but it was blank.
I am posting an img of that.
So, when I went to uninstall it, I did so, yet it was NOT uninstalled.
Tonight I replaced the files. I still had the 2 blanks.
I reinstalled the mod, and you will see in the 2nd img what I have ended up with.
Not only are there 2 Font Face, and 2 Font Size, they are backwards.
ALL I want to do is get the darn thing fixed, or off my forum...
I have been trying to do this going on a week...daily.
Anyone have a clue?
Hi, nice mod but I get these errors in the log which seem to relate to this mod:
8: Undefined offset: 532
File: /home/xxxxxx/public_html/smf/Themes/default/Profile.template.php
Line: 1553
8: Undefined offset: 533
File: /home/xxxxxx/public_html/smf/Themes/default/Profile.template.php
Line: 1554
Line 1553-1554 of Profile.template.php:
'size' => array('code' => 'size', 'before' => '[size=10pt]', 'after' => '[/size]', 'description' => $txt[532]),
'face' => array('code' => 'font', 'before' => '[font=Verdana]', 'after' => '[/font]', 'description' => $txt[533]),
Thanks
Okay..this is starting to drive me nuts. I wish I had never touched this mod.
No matter what I do..and I am doing everything Ferrika has asked me to do, I CANNOT get this mod off of my forum.
Ferrika you seem to think it is my forum, and maybe so, but, the forum is less than a month old..and I have only installed 3 mods.
The embed video
The Spoiler
The URL
Not a problem at all.
I replaced the files as you said this evening..and I am attaching what I get now.
I try go to uninstall..and before I even get to the ERRORS it says..
QuoteSome of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.
I haver modified until I have no clue what to modify anymore.
Then if I move forward to try to uninstall..these are my errors..
Quote./Themes/default/Help.template.php Test failed
Quote./Themes/default/languages/Manual.english.php Test failed
Quote./Themes/default/languages/Post.english.php Test failed
I have been working on this daily for a week, and I am so frustrated.
I need help. :( :( >:(
@Kat-2
Please replace the files, I've attached at the post before to your Webspace and don't try to install this Mod again. I don't know, what the Mods, you've installed before are changing at this files, but my Mod dosn't work with them.
@weightman
my Mod don't change anything in the Profile.tmplate.php. Nay be, you have installed some Mod that needs the $txt[532] and [533], this are variables, that will deleted with my mod. Thus it can't work at your Forum.
Quote@weightman
my Mod don't change anything in the Profile.tmplate.php. Nay be, you have installed some Mod that needs the $txt[532] and [533], this are variables, that will deleted with my mod. Thus it can't work at your Forum.
Cool, I see it. Its a conflict with the signature BBC code bar mod which calls the BBC posting buttons in the forum profile information window. I just added the $txt[532] and [533] strings back in to the post.english.php file so they are there when that mod calls them.
Thanks
Quote from: Ferrika on February 28, 2008, 07:30:14 AM
@Kat-2
Please replace the files, I've attached at the post before to your Webspace and don't try to install this Mod again. I don't know, what the Mods, you've installed before are changing at this files, but my Mod dosn't work with them.
@weightman
my Mod don't change anything in the Profile.tmplate.php. Nay be, you have installed some Mod that needs the $txt[532] and [533], this are variables, that will deleted with my mod. Thus it can't work at your Forum.
The Mod is NOT installed. I replaced the files. I still show 1 blank font face and font size.
So, replacing the files..did not fix it, though it did get rid of 2 of them.
I told what other mods I have installed.
embed video
spoiler
url popup
Those were installed prior to the font one.
So..what now?
Okay, it is fixed. Was a simple matter of editing the post.template.php file manually, which a friend quickly did for me.
;)
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!
I have this problem too: the names are wrong.. with font size i see the font names and viceversa
The wrong way round for the names has been answered numerous times in the topic :)
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
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.
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 :).
As you are psychic, and know what I did or didn't do, can I have the winning lottery numbers for this wednesday please?
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.
Yeah, Thanks quiteperplexed!
: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."
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.
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?
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.
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 :/
*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!!
Will this work whit 2.x?
And if not, will it do in the future?
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?
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 :)
Quote from: Nascar on August 30, 2008, 04:47:16 AM
Will this work whit 2.x?
And if not, will it do in the future?
This mod is a feature of smf 2.0 ;)
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:)
Anybody reads this topic?
i have installed this mod but under font size (arial,verdana) font face are showing.
plzz help me
In ./Themes/default/languages/Post.english.php
$txt['font_face'] = 'Font Size';
Replace with:
$txt['font_face'] = 'Font Face';
And
$txt['font_size'] = 'Font Face';
Replace with:
$txt['font_size'] = 'Font Size';
This should solve your problem. ;)
Quote from: W. Riker on September 26, 2008, 04:16:30 AM
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:)
I realized how to do this so nobody needs to bother with this.
will this work on 1.1.6? i need to limit the font size to 12pt or less only.
Quote from: pinoypetfinder on November 02, 2008, 05:56:25 AM
will this work on 1.1.6? i need to limit the font size to 12pt or less only.
Works great on smf 1.1.6
Also you need to edit the post.template modification for the 12pt
okay, thanks for the reply :) will try that :)
I have a great problem, not about this mod but relevant...
None of the fonts work in my smf... Arial, Comic Sans,... None of them :S
It appears like this when i change a text's font (ignore that *) :
[fon*t=arial]example[/font]
How can i fix this ?
There is a fault with the installation of the $txt[] strings for this mod. It replaces the following $txt[] strings with it's own. But those $txt[] are still required by the Post.template.php to define the description text for the size and face buttons.
Themes/default/langauges/Post.english.php
Add back in:
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';
So in the installation process it should actually add these to the Modifications.{language}.php file or add them to the Post.{langauge}.php without touching the current $txt[] strings.
Quote from: SMASH on September 16, 2007, 10:25:43 PM
Hello,
First Thanks for a great mod. :D
I did find a little error. You have <file name="$themedir/languages/Post.english.php">
<operation>
<search position="replace"><![CDATA[
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';
]]></search>
<add><![CDATA[
$txt['font_face'] = 'Font Size';
$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 Face';
$txt['size_9'] = '9pt';
$txt['size_10'] = '10pt';
$txt['size_11'] = '11pt';
$txt['size_12'] = '12pt';
$txt['size_13'] = '13pt';
$txt['size_14'] = '14pt';
]]></add>
</operation>
</file>
The "Font Size" and Font Face" are in the wrong spots. So after you install it it says, "Font Size" on the drop down but their are font types and on "Font Face" has font sizes.
Easy fix, just open "post.english.php" and change them around. I think the german one is miss up too.
Quote from: SMASH on September 16, 2007, 10:25:43 PM
Hello,
First Thanks for a great mod. :D
I did find a little error. You have <file name="$themedir/languages/Post.english.php">
<operation>
<search position="replace"><![CDATA[
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';
]]></search>
<add><![CDATA[
$txt['font_face'] = 'Font Size';
$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 Face';
$txt['size_9'] = '9pt';
$txt['size_10'] = '10pt';
$txt['size_11'] = '11pt';
$txt['size_12'] = '12pt';
$txt['size_13'] = '13pt';
$txt['size_14'] = '14pt';
]]></add>
</operation>
</file>
The "Font Size" and Font Face" are in the wrong spots. So after you install it it says, "Font Size" on the drop down but their are font types and on "Font Face" has font sizes.
Easy fix, just open "post.english.php" and change them around. I think the german one is miss up too.
I don't have lines 532 and 533 in my file but I did see where Font size and Font face were wrong so I tried to switch them only it didn't do anything.
My drop down boxed are still reversed.
Hi there, please see this thread for the background on my error - http://www.simplemachines.org/community/index.php?topic=293133
What I want to know is what I need to do with my custom theme's display.template.php file to stop the forum generating those errors.
Please let me know if the details from my original thread don't make sense.
BTW I've re-added
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';
back to my post.english.php file.
i have installed this on version 1.1.8 and its showing in the top left hand corner, But i do have a mod called Hack's Park Color Picker installed as well, But it will now move from there, please let know as soon as possible, i have attached a screen shot as well .
Firstly Hi Everyone, this is my first post and already I'm full of questions.
My Forum has been running now for a couple of years and I have decided to add my first ever mod today. (As you can tell I'm a complete novice) Thank you for this mod it works great and gives my forum something that I've always wanted. Although it works fine it now leads to two other issues:
I can't find the area where I need to add additional Fonts and Sizes, so can anybody direct me there please.
The other question I have is, when I use the Colour, Font and Size options the TAGS appear at each end of the message, is there anyway of hiding the tags so that they dont appear??
Kind regards
Baldy
Quote from: Rumbaar on December 02, 2008, 07:43:36 PM
There is a fault with the installation of the $txt[] strings for this mod. It replaces the following $txt[] strings with it's own. But those $txt[] are still required by the Post.template.php to define the description text for the size and face buttons.
Themes/default/langauges/Post.english.php
Add back in:
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';
So in the installation process it should actually add these to the Modifications.{language}.php file or add them to the Post.{langauge}.php without touching the current $txt[] strings.
I just noticed your suggestion. I updated the post.english.php file although we never noticed any issue.
But I also think there are more problems with this MOD. http://www.simplemachines.org/community/index.php?topic=237990.0
As soon as someone clicks on "Posting" on help section, the error log shows many error messages from help.template.php. I disabled EVAL to figure this out. I can just delete any code from this MOD in help.template.php and all is good. However, there has to be a reason for MOD designer for all this!
Any suggestion, please?
When I install this mod into post.template.php it work great.. But when I instal it into display.template.php for quick reply, it stop working. Show me only a choise drop menu, but wituot any function, Hot show anything into post box.
I had tried to install this mod even manually. However I got this problem as shown below;
There is nothing display in the font face and font size dropdown boxes. What could be the cause of this problem? anybody able to advise? Thanks!
Did you add the strings in the Post.english.php??
Yes I did but still did not see anything in my dropdown boxes.
Quote from: Tien on May 26, 2009, 12:52:48 AM
Yes I did but still did not see anything in my dropdown boxes.
Translate mod into your lenguage, or use load default lenguage mod.
Quote from: LOVELORD on May 26, 2009, 02:40:34 PM
Quote from: Tien on May 26, 2009, 12:52:48 AM
Yes I did but still did not see anything in my dropdown boxes.
Translate mod into your lenguage, or use load default lenguage mod.
I have tried that as well but still there is nothing in the font size and font face dropdown boxes. :'(
Ok i got kindda like the same problem, possibly because im using spanish language but I alredy install the mod, can anyone tell me how can I translate the mod so I can see something in the boxes... (:
Quote from: trashgeek on July 17, 2009, 06:36:36 PM
Ok i got kindda like the same problem, possibly because im using spanish language but I alredy install the mod, can anyone tell me how can I translate the mod so I can see something in the boxes... (:
Here is the spanish translation:
http://www.simplemachines.org/community/index.php?topic=252307.msg1692700#msg1692700
You just have to open that two files and add the text before the "?>" without the ""
Best Regards
I set up the Mod in SMF 1.1.10, it says that everything is successful but I don't see any new drop down at all... Maybe I need to activate it somewhere?
Quote from: Deminora on August 16, 2009, 05:18:34 PM
I set up the Mod in SMF 1.1.10, it says that everything is successful but I don't see any new drop down at all... Maybe I need to activate it somewhere?
Deminora, are you using a custom theme? Also, what language?
I'm using classic theme with russian language. I think I understand where the problem is.. I need to modify template files of my theme to have changes.. Thanks!
Quote from: Deminora on August 16, 2009, 05:55:35 PM
I'm using classic theme with russian language. I think I understand where the problem is.. I need to modify template files of my theme to have changes.. Thanks!
I hope it works out for you. :)
Can u please update this mod?
I will try it to 1.1.10
It says: Compatible With:
1.1.8
Execute Modification ./Themes/default/Post.template.php Test failed
That means you have a mod that already alters a position this mod is looking for in that template.
You will have to manually edit that template.
Quote from: Sabre™ on October 14, 2009, 12:05:01 AM
That means you have a mod that already alters a position this mod is looking for in that template.
You will have to manually edit that template.
I found out that first must be installed this mod and after the 'Enhanced Dropdown' mod.
Very good, that routine may stand true for other installations aswell, or may not.
Glad you got it sorted :)
How can i get this mod working with Enhanced Quick Reply 2.0?
Quote from: SN on November 22, 2009, 04:27:17 PM
How can i get this mod working with Enhanced Quick Reply 2.0?
This would be good to know, but I have some other questions that are killin me if anybody has any more knowledge about this than I do which wouldn't take too much.
How does this mod work. I have read this whole thread and have it now installed error free. Changing the fonts doesn't... uh... change the fonts. I can pick anything and the font is the same which figures if the code doesn't answer to any of my actual font info. The size function does work BTW. I've read here that the client machine determines what fonts can be used, but how can that be. Does it upload the font file to the server? (I'm pretty sure it doesn't :)) If not then that font can only be displayed on the posters machine. What about everybody else's? If it uses the server fonts, which ones. SMF or the host machine? How does it know the different ways that Linux and Windows handle fonts? Where is it getting it's font information from.
I still have not seen a coherent explanation (unless I missed it) on how to add fonts or where from though a few excellent questions have been asked. Such as: how to determine the naming convention for the font name itself, not the menu display name. Actually the stock fontface BBC tool didn't do anything either except set the tags in the post with verdana as the font so maybe there's some other issue with my server, which is my own machine BTW.
I've been twiddling with this for a couple hours and gotten nowhere. My eyes hurt :'( If anybody has any ideas that would be just fabulous.
Thanks.
All is working for me, i highlight the font i want to change click the size, then it changes it same with the font type and colour. im not sure about adding fonts
but i would love it to work with the enhanced quick reply somehow
I must really be missin something here. Even here, in these boards, the fontface dropdown gives me only the option to choose courier. On mine it gives me the options to choose the few fonts the mod adds to the code, but selecting any of them make no changes. The font is the same regardless of what I choose and I just don't know what to do to get this moving.
Quote from: LunyMarcus on June 25, 2007, 10:48:45 PM
Nice mod
downloaded the - FontAndSizeDropDown_1.2.tar.gz
installed fine with no errors but the size and font are backwards
English language; SMF 1.1.10
I get exactly the same - The 'Size' dropdown shows the fonts; the 'Font' dropdown shows the sizes ??? ???
I don't know what to edit so...Help please!
Thanks
Paul, go here (http://www.simplemachines.org/community/index.php?topic=144889.msg1548873#msg1548873).
Just a couple of pages back, I've fixed it and attached correct file. So uninstall one you installed and install that one.
Quote from: ameo on December 04, 2009, 04:55:12 AM
Paul, go here (http://www.simplemachines.org/community/index.php?topic=144889.msg1548873#msg1548873).
Just a couple of pages back, I've fixed it and attached correct file. So uninstall one you installed and install that one.
Thanks for prompt advice but this is 'FontAndSize DropDown_1.2.zip' which won't install on my SMF 1.1.10 (My page just returns to the 'Browse Packages' section) Do you have the manual install
I was trying to install 'FontAndSize DropDown_1.3.zip', which I had assumed was an update on _1.2 I reckon that this mod is broken :(
Hi,
I made some changes to this GREATE features, the capability to have until 30pt from 14 using step by 2 and added translation for italian..
Hope could be useful to someone...attached the XML file called 1.32
HI,
I know all you guys are so busy, but i really need help.
I installed this mod but font size, font face and font color options are disappeared.
I have attached my post.template.php .
Please help me with this, I will highly appreciate to solve this.
Thanks in Advance.
Here is my forum www.afghanistanforums.com
There was conflict with Hack Park Color Pack Mod, I have uninstalled this mod manually and after installed this mod.
It works fine now.
Great JoB guys
Is there any way you could make this mod for 2.0?
I modded this mod :)
It now contains all browser safe fonts (Arial, Arial Black, Comic Sans, Courier New, Georgia, Impact, Lucida Console, Lucida Sans, Paltino, Tahoma, Times New Roman, Trebuchet, Verdana) with fallback option to the generic font type, so "Arial" becomes "Arial, Arial, Helvetica, sans-serif".
Have Fun
b.IT
Hi
I have this error in my Forum Error Log
Error:
http://www.afghanistanforums.com/index.php?action=help;page=post
Apply Filter: Only show the errors with the same message
8: Undefined index: manual_posting_Change_size
File: /home2/maihanin/public_html/forum/Themes/default/Help.template.php
Line: 1652
Code on Line 1652
', $txt['manual_posting_Change_size'], '
Can I fix this by adding
$txt['manual_posting_Change_size'] = 'Font Size'; into manual.english.php
????
Update
Yes it is fixed.