WordPress.org

Ready to get started?Download WordPress

Forums

Roles in multisite acting funny... (11 posts)

  1. scamartist26
    Member
    Posted 2 years ago #

    HOLA most excellent community!

    I am writing a new issue for multisite that we have run into here lately.

      Here are the two issues:

    1. The Tools menu does not show up for Administrators.
    2. Custom Menu titles do not accept html (specifically the <br /> tag). for Administrator level.

    SUPERADMINS have both of the above capabilities.

    Now, I know that everyone 1st asks about Plugins activated, but before going into that, I wanted to see if anyone actually saw either of the same problems. I really appreciate any feedback. Of course, if requested I can provide the of details.

    We are stumped on this problem. Thanks in advance.

    For more reference, See here (I will delete these links upon resolve for security purposes.)

    No HTML in Custom Menus: http://www.youtube.com/watch?v=8Emsyzjrekc
    Tools menu missing: http://www.youtube.com/watch?v=8F5Zl850NWQ

  2. A screenshot would have sufficed...

    Custom Menu titles do not accept html (specifically the
    tag). for Administrator level.

    Yes. That doesn't surprise me, as SuperAdmins have access to do everything, and Admins fall under kses rules. No reason to do this, as it's bad HTML anyway.

    The Tools menu does not show up for Administrators.

    Tools shows up just fine for me as an admin on a site (NOT a super admin) so that would be a plugin/theme issue. In fact, it shows up for every role except subscriber, which is as it should be.

  3. scamartist26
    Member
    Posted 2 years ago #

    Yeah, thanks for the response Mike, the vids were originally for my workmates. There is nothing invalid about the HTML we are using, and calling it bad HTML is just an opinion. In fact, this is the perfect situation to use it.

    On that note as well, I know it is not the same, but it seems to me that Admins on multisite should have the exact same permissions and features as Admins on a single site install.

    I am sure the Tools is a mistake in our code or something else.

    Again, thanks.

  4. On that note as well, I know it is not the same, but it seems to me that Admins on multisite should have the exact same permissions and features as Admins on a single site install.

    You'd think but no.

    Admins on a single site are SuperAdmins.

    Admins on a Multisite are Admins.

    And putting HTML in your menus titles is bad HTML for how it's rendered on output.

  5. scamartist26
    Member
    Posted 2 years ago #

    Right, I was reading here about that: codex.wordpress.org/Roles_and_Capabilities and I suppose it makes sense, as you would not want an Admin on Multisite doing foo bar with some plugins. The Capability vs. Role Table should be updated to reflect this. I also feel that, semantically, calling both of these roles Administrator is misleading as they do not have the same capabilities.

    And putting HTML in your menus titles is bad HTML for how it's rendered on output.

    I still do not understand the bad HTML part. A <br /> tag is used almost always for inline formatting. Unfortunately I don't know of another solution. Of course, counting characters with PHP and defining CSS width could force things to drop lines, but then I am letting a computer decide aesthetic, and that could lead to unwanted results. Any free advise on this?

  6. Protip: Putting http:// before a URL makes it work ;)

    Ahem. Codex fixed.

    You shouldn't use P or BR in LI. http://www.w3.org/TR/xhtml1/#C_5 (Yes, I know WP does with comments). Use <div> instead though I don't know that it'll work for the un-caped.

  7. scamartist26
    Member
    Posted 2 years ago #

    My links are prettier ;)

    Ahem. Codex fixed.

    Looks better, but the Table in the Codex still fails to represent the mor limited Multisite Adminstrator role.

    You shouldn't use P or BR in LI.

    I don't think that is true. The link you posted Talks about line-breaks and extra white space in Attributes, nothing there about Elements. The BR is totally valid in an LI.

    http://webdesign.about.com/od/htmltags/a/aabg092299a.htm

    Either way, I would like for the menu names to go on two lines and need un-caped to have ability to enter HTML in that field without it being stripped. I am going to look for a way to make this happen.

    The Tools issue was resolved today. It was a forgotten function left buried in our code that specifically removed that menu from the role! Haha.

  8. Looks better, but the Table in the Codex still fails to represent the mor limited Multisite Adminstrator role.

    It puts unfiltetered_html under Super Admin. Really we should move ALL the 'extra' admin stuff there, and explain that Super Admin == Single Site admin. We'll get there.

    In all discussions of 'this site' vs 'that site' when it comes to HTML spec? w3c is the trump.

    You'd want to use the Unfiltered HTML plugin, but if you have an open regisration site, or for ANY reason do not trust the users, DON'T USE IT.

  9. scamartist26
    Member
    Posted 2 years ago #

    W3c is trump I understand, but the link you gave is not info regarding what we are discussing. I will look into that plugin, possibly hack it to only be available to Admin role, the site owners will have Editor roles, and site builders are trusted Admins. Thanks! You can mark this Resolved, Much appreciated Mike.

  10. It's Mika with an A. I promise. Also the handle on the forums is Ipstenu :) Use that please. I'd change the handle if I wanted to.

  11. scamartist26
    Member
    Posted 2 years ago #

    No problem, sorry, and thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic