Forums

[Plugin: Dynamic Font Replacement DFR4WP EN] Broken (11 posts)

  1. moddtaco
    Member
    Posted 2 years ago #

  2. maex sworcik
    Member
    Posted 2 years ago #

    to fix the "ADD TAG" problem change:

    $neuertag = "INSERT INTO$dfr_tabelle(SCHEMA, TAG, FONTSIZE) VALUES ('$schema', '$tag', 'px')";

    in "../wp-content/plugins/dynamic-font-replacement-4wp/admin/listings.php"

    to

    $neuertag = "INSERT INTO$dfr_tabelle('SCHEMA','TAG','FONTSIZE') VALUES ('$schema', '$tag', 'px')";

    because the
    ('SCHEMA','TAG','FONTSIZE')
    need quotes!!!

  3. pabloixx
    Member
    Posted 2 years ago #

    This changes NOT work for me, please fix, this will be a top 5 in my personal plugin list if you could fix this bug.

    Thanks

  4. vietzke
    Member
    Posted 2 years ago #

    I'm having the same problem with being able to add new tags. Everything works great as long as I only need the two provided tag fields, but otherwise I'm limited to that. Code fix didn't work.

  5. smorgasbored
    Member
    Posted 2 years ago #

    same here. As I am also having problems with anyfont, if there is no fix for this can anyone help by suggesting a reliable typography plugin?

  6. lepike
    Member
    Posted 2 years ago #

    Having the same problem.
    There is a temporary workaround,
    drop the wp_dfr table in the database and install the plugin again.
    You will have the standard 3 tags again which you can alter.

    The bug isn't fixed...

  7. niftysmith
    Member
    Posted 1 year ago #

    I did some experimenting to see if I could find a work around because I really really wanted this to work. My solution was to go into the dfr.php file and scroll down until you see this:

    INSERT INTO$table_name(ID,SCHEMA,TAG,FONT,FONTSIZE,FREI2,FREI3`) VALUES
    ('1', 'cufon', 'h1', 'TitilliumText15L', 'px', '', ''),
    ('2', 'cufon', 'h2', 'TitilliumText15L', 'px', '', ''),
    ('3', 'cufon', 'h3', 'TitilliumText15L', 'px', '', '');`

    You can copy and paste those 3 lines over and over, changing the numbers (4, 5, 6, etc.) for as many code slots as you need to change. Then, you can edit then accordingly on the Plugins side of your WP admin. Don't forget to close with the ; !

  8. Joseph Fneisz
    Member
    Posted 1 year ago #

    u have to use the another quote on SCHEMA, etc. copy from the $dfr_tabelle

    it works.
    thx maex sworcik

  9. Joe Beaudoin Jr.
    Member
    Posted 1 year ago #

    You need to use the "backtick" symbol, which you can do by pressing the tilde key. Unfortunately, you can't do an example here, because the editor uses backticks to print code... and there's no way to override that. :(

  10. DJDestiny
    Member
    Posted 1 year ago #

    Alright , change the whole line to
    $neuertag = "INSERT INTO $dfr_tabelle(SCHEMA, TAG, FONTSIZE) VALUES ('$schema', '$tag', 'px')";

  11. JojjeG
    Member
    Posted 1 year ago #

    Perhaps it's something in WP 3.0.1 or my Thesis theme installation but I can't get any of these changes to work. Sorry. Giving up.
    Too bad. Seems like a very good plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic