What can we do to make it easier to design with Wild Apricot?

Removing (administrator) text from forum and blog pages

When an administrator with a public profile makes a post to the forum or blog, the name is suffixed "(administrator)". You can remove this text with the following CSS:

SPAN.postedByComment {
display: none
}

1 vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    MatthieuMatthieu shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    25 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • MatthieuMatthieu commented  ·   ·  Flag as inappropriate

        Hi,

        The CSS would be entered by going to the Settings tab and clicking on CSS Customization

      • Fluid ApricotFluid Apricot commented  ·   ·  Flag as inappropriate

        Sorry for the late reply, was on vacation.

        In your case the "anonymous" label is shown to the public (instead of your name) because your privacy settings are set to show your name to logged in members only. Try the following CSS:

        /* Hide author name on forum summary only */

        #idForumContainer #idForumSummaryContainer div.boxBodyContainer table td.lastReplyTD div.lastReply span
        {
        display: none;
        }

        /* Hide author name on forum topic */

        #idForumContainer #idForumDetailsContainer #idMessageListContainer div.boxBodyContainer table.forumMessageTable td.left div.boxBodyInfoOuterContainer
        {
        width: 0px;
        }

        /* Remove both top and bottom Add Comment buttons on forum topic */

        #idForumContainer #idForumPanelContainer input.forumPanelButton, #idForumContainer #idForumDetailsContainer #idForumBottomPanelContainer input
        {
        display: none;
        }

      • jsevillejseville commented  ·   ·  Flag as inappropriate

        forgive me for asking such a simple question compared to others here.

        I see nowhere to edit any CSS when I edit a blog post.

        I'd like more control over the name of the author showing in the blog widget and the blog itself as some bloggers have given me permission to post their blog posts--at least a paragraph--that ends up sending the reader to their website for full article.

        j

      • JackMassaJackMassa commented  ·   ·  Flag as inappropriate

        Jim:

        I am trying to use your recommended CSS code to hide the author ("annonymous") in my forum. I've entered this in the CSS Customization page, but it is not working:

        *********************

        #idForumSummaryPageContainer #idForumListContainer div.boxBodyContainer table td.lastReplyTD div.lastReply span
        {
        display: none;
        }

        /*** To hide author and "administrator" label on a specific forum page ***/
        #idForumContainer #idForumSummaryContainer div.boxBodyContainer table td.lastReplyTD div.lastReply span
        {
        display: none;
        }

        ***************

        Also, on this same forum, I have clicked the options so that no one is allowed to comment on posts, but I am still seeing a Comment button on every post! Is there a way to remove this?

        My site is

        greateratlantaastd.cloverpad.org and the forum is at

        http://greateratlantaastd.cloverpad.org/Job-Line

        Thanks!!

        Jack Massa

        Greater Atlanta ASTD

      • KStomporKStompor commented  ·   ·  Flag as inappropriate

        I found it on another post ! and it worked great ...thanks..this community is the best!

        I have posted it below incase anyone cant find it....

        You can hide the author and date using:

        #idBlogPageContainer div.boxContainer div.boxInfoContainer h5
        {
        display: none;
        }

        Comments can be hidden using:

        #idBlogCommentsContainer
        {
        display: none;
        }

        The Add comment link is a bit tricky, since it is not possible to hide just this link without also hiding the Read more link, but to hide both links use:

        #idBlogPageContainer .boxFooterContainer .inner .postBottom, #idBlogPageContainer .boxFooterContainer .inner .replyContainer
        {
        display: none;
        }

        - You can then just click on the blog post title to read the rest of the post

        Jim Sympathy, Fluid Apricot

      • KStomporKStompor commented  ·   ·  Flag as inappropriate

        Hi Jim, I was trying to "hide" the date on the blog entries. I got the other codes hiding the author/admin etc...but the date is still showing??hmm

        Can you provide a code for that! Thanks in advance!

      • Fluid ApricotFluid Apricot commented  ·   ·  Flag as inappropriate

        I see, you are referring to the "administrator" next to the author's name. Unfortunately you cannot just hide the "administrator" part without also hiding the author's name.

        /*** To hide both author and "administrator" label on the forum summary page ***/

        #idForumSummaryPageContainer #idForumListContainer div.boxBodyContainer table td.lastReplyTD div.lastReply span
        {
        display: none;
        }

        /*** To hide author and "administrator" label on a specific forum page ***/
        #idForumContainer #idForumSummaryContainer div.boxBodyContainer table td.lastReplyTD div.lastReply span
        {
        display: none;
        }

        *Please note all tweaks and hacks like these should be used at your own discretion. We cannot guarantee ongoing compatibility of any CSS/JS customizations with our future upgrades.

      • Anne_KAnne_K commented  ·   ·  Flag as inappropriate

        It's in the member only section (not publicly viewable) on association ce (dot com)

      • Anne_KAnne_K commented  ·   ·  Flag as inappropriate

        Is there a way to remove "administrator" from a Forum Summary page? I would like to have the label "administrator" removed from my name in the "last message" column on the summary page. Shown below is the code I currently have. The code below does remove it from the actual post, just not the summary.

        /*remove administrator from forum posts*/
        SPAN.postedByComment {
        display: none
        }

        /*remove author from gadget*/
        .itemAuthor
        {
        display: none;
        }

        /*remove administrators name from blog posts*/
        SPAN.postedByLink
        {
        display: none
        }

        Thanks, Anne

      • Fluid ApricotFluid Apricot commented  ·   ·  Flag as inappropriate

        The easiest way to go is to assign a membership to your admin record - your name is shown instead. You can then set your name to "Administrator" if you want.

      • JoanieJoanie commented  ·   ·  Flag as inappropriate

        Much better! I don't mind not having the date in the gadget.

        Fabulous job, as usual! Thanks so much.

      • Fluid ApricotFluid Apricot commented  ·   ·  Flag as inappropriate

        For the blog itself you were missing:

        span.postedByLabel
        {
        display: none;
        }

        The gadget on the other hand is a bit tricky since you cannot hide just the "anonymous" part without hiding the date as well. To hide both the date and "anonymous" part use:

        div.itemInfoContainer
        {
        display: none;
        }

      • JoanieJoanie commented  ·   ·  Flag as inappropriate

        I have all of the above in my CSS customization and anonymous is still there both on the blog and the gadget. Ideas?

      • Heather HuckebaHeather Huckeba commented  ·   ·  Flag as inappropriate

        Hi -

        I have the following in my ccs customization:

        .itemAuthor
        {
        display: none;
        }

        SPAN.postedByComment {
        display: none
        }

        SPAN.postedByLink
        {
        display: none
        }

        Previously, this removed "anonymous" from blog posts in the blog widget on the front page, but when I added a new blog, it once again is showing "anonymous" for my latest post (but not the older ones). Any ideas?

        UPDATE: I realized that the above code works if I am logged in as a member/administrator, but I also have an administrator only login that I use most often. If I post as that administrator (who is not a member), then it still shows anonymous. So I was able to fix it by deleting the post and re-doing it with a member/admin login. I will just use that login when making blog or forum posts, but I would be curious if there's any css code that would remove the name regardless of who posted...?

        Thanks!

      ← Previous 1

      Feedback and Knowledge Base

      Wild Apricot Inc. 144 Front Street West Suite 725, Toronto, Ontario, Canada M5J 2L7