• Hi,

    With dkret3 and wordpress 3.1.2 only superadmin can see the tinyMCE editing buttons.
    All other users can’t see the tinyMCE editing buttons.

    Thanks for your help

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter monpelaud

    (@monpelaud)

    If I switch to twentyten theme tinyMCE works fine.

    Thread Starter monpelaud

    (@monpelaud)

    If I rename “wp-content\themes\dkret3\library\js” to “wp-content\themes\dkret3\library\js-old” tinyMCE works and I see the buttons again.

    I will look into this. You should’nt rename the folder, since you will loose all javascript functions of the theme (Drop-Down-Menu, comment preview, …).

    Thread Starter monpelaud

    (@monpelaud)

    Many thanks for your reply.

    I renamed the directory “js-old” in “js” and now the TinyMCE works and I see the buttons again.

    I had the same probleme with an other blog on an other server and I did the same thing, rename “js” in “js-old” next “js-old” in “js” and TinyMCE works again and buttons come back!

    Best regards

    It seems like this is not a problem of dkret. I can’t see why. It works here.

    Seems to be a caching problem. Clearing the browsers cache (maybe a page reload is enough) should be enough.

    Thread Starter monpelaud

    (@monpelaud)

    Before renaming the directory “js” I cleared the cache several times with no success.
    When I switched to the default theme twenty ten, TinyMCE worked correctly but when I switched again on dkret TinyMCE didn’t work correctly.
    The only way to solve the problem on the 2 blogs which raised the problem was to apply the procedure of renaming “js” directory and then everything works fine.

    Now for me all works fine.
    Dkret is a very powerful and beautiful theme.

    Thanks you.
    Best regards.

    Thanks.

    If there is a bug in dkret I hope one of the other users is so kind and find it.

    Hello

    I encountered the same problem – only that for me the renameing solution did not work.
    I run a wordpress blog network and the network superadmin can work just fine – for every other user the TinyMCE and the Ajax stuff in the dashboard is broken as soon as dkret3 is activated. If I switch to other themes the problem does not appear.
    Is there any news on the reason?

    Mike

    Thread Starter monpelaud

    (@monpelaud)

    Hi,

    After I renamed “js” in “js-old” I clear the cache and only when I saw TinyMCE buttons again I renamed it in “js”.

    Best regards

    Hmm, strange.
    I deactivated WP Super cache, just to be sure, I renamed the js direcory in the library subdirectory of the dkret theme and flushed the browser cache – to no success. Currently the only way to get a working graphical editor is to use another theme than dkret.

    Mike

    Hi again

    I think I possibly found the bug:

    In library/functions/core.php line 300 it says:

    if ( !is_super_admin() || !is_admin_bar_showing() )

    in the condition that determines whether the dkret settings should be loaded to the admin bar. I am not sure why this is set to super admin.
    In a wordpress blog network like I run this leads to other administrators not being able to use Tinymce and breaks the AJAX on the dashboard.

    I changed it to

    if ( !is_admin() || !is_admin_bar_showing() )

    and now it seems to work fine.
    J?rn, could you clarify whether my approach is correct or whether I break something else with that change?

    Mike

    You found the right file but I doubt you found the right solution (only super admins should be able to change theme options).

    But right know if a non super-admin is logged in the function EXITS. Please change ‘exit’ in line 260 to ‘return’.

    Hi J?rn

    Thanks for the feedback.
    Is there a special reason why only super-admin (network admins) should be able to change theme options? I run a blog network with quite a few sites and I don’t want have to work only because one of my site owners want to change their adsense code in the dkret options.
    Or did I get the roles wrong? I thought the super admin is the only role who can install themes and plugins and has access to all the blogs in the network(and can create new ones or delete old ones)
    Besides that I thought a blog administrator can change all settings that affect his blog only…?

    Mike

    Guess you are wrong. Because I don’t use the multisite features of WordPress, I haven’t testet this part enough.

    Your fix plus mine should be ok then. I already made those changes for the next release.

    I meant: Guess you are right.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Theme dkret 3 and WordPress 3.1.2’ is closed to new replies.