Forum Replies Created

Viewing 15 replies - 16 through 30 (of 50 total)
  • I have found that the images may be too large. Uploaded 20 images, but 5 would not make thumbs. Reducing the size of the images allowed them to make thumbs.

    I think it is a result of the host. The memory may not be enough to handle the conversion of the larger images.

    Found the fix:

    Line 76 of the index.php file reads:
    add_submenu_page('tools.php', 'Shortcodes', 'Shortcodes', 'update_core', 'shortbus', array($this, 'admin_page'));

    The capability for this is “update_core.” With wulti-site being added to the WP core, the “update_core” capability is resevered only for Super Admins. This capability should be changed to something more along the lines of “manage_options” or “activate_plugins” to allow normal Admins access.

    Changing line 76 to read the following fixed the issue:
    add_submenu_page('tools.php', 'Shortcodes', 'Shortcodes', 'manage_options', 'shortbus', array($this, 'admin_page'));

    I have found something interesting. Again, I am running WP 3.2.1 in multi-site mode, like YogieAnamCara is. I can access the plugin, but another Admin can not.

    Since we only have one site right now, I did not make the other Admin a Super Admin. On a hunch, I granted this admin Super Admin rights, and now the plugin is accessible.

    So this plugin, in multi-site mode, is looking for an Admin with Super Admin rights. This should be corrected so that any Admin can access this plugin. I would actually prefer that there was an option for the user level to be selected for access, so I could allow Editors to access if I so desired.

    Either way, I think I have isolated the bug… if the author would be so kind to update the coding, it would be greatly appreciated as I would like to use this for site and NOT grant Super Admin rights to every user that needs access to this plugin.

    Thanks
    Ed

    Similar issue here. As Admin, I can see the link. Another admin on the site can not. Not sure why that is, but like Yogie commented, the plugin and shortcodes seem to be working.

    Also running 3.2.1 in multi-site (plugin is network enabled), currently only using one site, and domain mapping is not being used.

    Thread Starter Ed N.

    (@enailor)

    I still think there has to be a simple way to add this functionality. Possibly as simple as just adding or calling the right scripts/css, with the proper structure of the sections… I guess that is the stuff I am just not seeing (yeah, I may be blind). Just have not seen that anywhere and not having much luck Googling… may be using the wrong “specific” terms!

    Thread Starter Ed N.

    (@enailor)

    @steven Jones:
    I am looking for more of a standard “cross theme” Options Page. Using the register_setting function allows me to store actual settings in the WP database that can be called from any theme if the theme uses the proper code (fairly simple to add). This plugin is more of a theme only type of thing.. but looks intriguing.

    @chip Bennett:
    Holy Cow! That is definitely an in depth tutorial… will need to dive into that one when I have more time. All in all, I may settle for that type of tab setup, as it does still closely fit with the basic WP admin styles.

    Thread Starter Ed N.

    (@enailor)

    I just downloaded Justin Tadlock’s framework theme (hybrid) and he is doing what I want on his options page, using the add_meta_box function. I am not sure if this would work for me though. While I said I was setting up an Options Page for a theme, this is not entirely true. I am actually setting up my own Options Page that will be universal between my themes. This will contain information such as client phone numbers and email address, etc that will be used in various places in each of the themes I am developing for this series. This way, when the client switches themes, some of these basic elements will remain regardless of the theme.

    I will look to see if I can use the add_meta_box function; however, I have been using the register_setting function up until now.

    Any additional information on how to add these collapsible boxes would be appreciated!

    Thanks,
    Ed

    Thread Starter Ed N.

    (@enailor)

    @123milliseconds:
    If I can’t find out how to replicate the methods WP is using, I may have to use something like that. I just don’t want to add yet another script to the interface, and by duplicating the WP method I can keep my theme looking and feeling more like the overall experience of WP.

    So basically, I want to be able to take the methods used for sections like “Custom Fields” and replicate that on my own theme options page… it shouldn’t be that hard, should it?

    @raghos,
    I just noticed your mention of Firebug being a potential cause for the cache… I also run Firebug on my system, so next time this happens, I will disable Firebug and see if that clears the issue, for me at least.

    Thanks for the tip.

    So it seems like my experience may be somehow tied to browser cache. I determined this after adding my original reply to this post. However, I will note that this is not something I have experienced before using the same browser, so I do wonder if there is something either in the newest version of Firefox or WordPress that is causing a problem.

    Now, let’s also bear in mind that this is my experience and that in my case this seems to have been a browser cache issue. I can not speak for others that have posted and claim that this was their experience as well.

    Ed

    Otto,
    I am not using any cache plugins.
    I did try the pages in another browser, and they did 404 on me, but I have never seen this behavior on older WP installations… this does seem to be a new issue.
    Ed

    Noticing this as well. Using WP 3.0 with multisite enabled

    Forum: Fixing WordPress
    In reply to: WP 3.0 Menu limit
    Ed N.

    (@enailor)

    Had a similar issue with a website, and it appears to be the following settings (see below). The default values were 200 on this server. The host raised both values to 500, and we were back in business.

    Just thought I’d share!
    Ed

    suhosin.posts.max_vars
    suhosin.requests.max_vars

    So I did find that you can add some capabilities to the editor role that opens up the Menu to the editor.

    Add the following code to your theme function, and the editor will gain access to the menu, plus the following areas: Theme Options (but can not switch, edit or install themes), Menus, Background, Widgets and Custom Headers.

    While I would still prefer to only provide access to the menus without the other items, this may be the fix you need.

    // get the the role object
    $role_object = get_role( 'editor' );
    
    // add $cap capability to this role object
    $role_object->add_cap( 'edit_theme_options' );

    Anyone found a filter or other solution besides adding another plugin?

Viewing 15 replies - 16 through 30 (of 50 total)