• 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: https://www.youtube.com/watch?v=8Emsyzjrekc
    Tools menu missing: https://www.youtube.com/watch?v=8F5Zl850NWQ

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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.

    Thread Starter scamartist26

    (@scamartist26)

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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.

    Thread Starter scamartist26

    (@scamartist26)

    Right, I was reading here about that: codex.www.ads-software.com/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?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Protip: Putting https:// before a URL makes it work ??

    Ahem. Codex fixed.

    You shouldn’t use P or BR in LI. https://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.

    Thread Starter scamartist26

    (@scamartist26)

    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.

    https://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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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.

    Thread Starter scamartist26

    (@scamartist26)

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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.

    Thread Starter scamartist26

    (@scamartist26)

    No problem, sorry, and thanks again.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Roles in multisite acting funny…’ is closed to new replies.