News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Font and Size Dropdown 1.1

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

Previous topic - Next topic

Ferrika

Link to Mod

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/
was ich nicht will, das man mir tu, das füg ich keinem andren zu

Darknico

error in Manual.xxxxx.php

Search:

$txt['manual_posting_Change_Font_size']

replace:

$txt['manual_posting_Change_size']

;)
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)



lexhair

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.

Simplemachines Cowboy

This is excellent, and makes it real easy to add more font and size choices.

Thanks!
My SMF forum: The Open Range

lexhair

I'm thinking I take things a little too literally.

Darknico

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
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


lexhair

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.

Darknico

it gave to errors entering in help (index.php?action=help)
excuse my English, I am Italian
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


lexhair

Verimente. L'ho visto la stessa cosa questa mattina quando l'ho provato la pagina d'aiuto.  Scrive molto bene l'inglese.

kenwvs

#10
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


tkrug

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

Ferrika

Sorry for late answer,

I've made an update for SMF 1.1.2 on yesterday. Now it works right.
was ich nicht will, das man mir tu, das füg ich keinem andren zu

tkrug

@Ferrika
I installed the current version. The mod as such works, but the two drop-down boxes remain empty....


tkrug

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

LunyMarcus

#16
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

TrueSatan

@ 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.

spottedhog

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

LunyMarcus

#19
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

Advertisement: