Skip to:
Content
Pages
Categories
Search
Top
Bottom

So Buddypress doesnt like non-members, which I understand. (usernames)


  • marketraisen
    Participant

    @marketraisen

    The activity stream can pick up blog posts and comments and post them fine on the stream, however I have guests posting on my site who are non-members and would like to show their names on the activity stream.

    If there isnt a simple fix to this then I won’t bother but what I had attempted to do was use <?php the_author(); ?>, assuming that buddypress ws able to clal in the content of a post I thought maybe it would recognise the author. I’m sure it can, I just have no idea hwo to call it in.

    Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)

  • danbp
    Moderator

    @danbp

    How do you allow guest posting ? Are you using a plugin ?
    What is their WP role ? Subscriber, author or did you create a custom role for them ?

    Give more details please !


    marketraisen
    Participant

    @marketraisen

    https://wordpress.org/plugins/user-submitted-posts/

    I’m using a plugin, within the plugin it asks you to assign an authors name to the submitted posts, which obviously is required for wordpress. On the frontend the name chosen by the author is displayed on the post using <?php the_author(); ?>.

    I’m trying various ways around this, such as adding text to the content but I’m a total newbie with all coding and wordpress. I don’t care if the username is linked anywhere or any other information is displayed, I’d just like to be able to use the <?php the_author(); ?> line on the activity stream but I know its not that simple.


    danbp
    Moderator

    @danbp

    Logged-in user names are visible on the swa when the plugin is activated.

    If you allow visitors to publish without login, things goes differently. Even if they have to provide a name, site url, category, title and content, which is IMO no gain in regard of the defaut register form, which has the same number of fields. And once they are registered, they can publish by just typing a title and a content…

    After that, the name is stored as meta_key and the post content is associate to a default registered author.
    Unfortunately in this situation, SWA can’t know the name and use the default author name instead, simply because meta_keys are not used by swa.

    Maybe ask the plugin author for some enhancement for unregistered users ?


    rosyteddy
    Participant

    @rosyteddy


    marketraisen
    Participant

    @marketraisen

    Thats a good idea, I hadnt considered that. Shall have a look at it right now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘So Buddypress doesnt like non-members, which I understand. (usernames)’ is closed to new replies.
Skip to toolbar