Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add Register link

  • I want to add a register link next to the snippet of text that says, ” You must log in to post.”

    What file do I edit to do this?

    Thanks,

    Gio

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

  • chrishajer
    Participant

    @chrishajer

    Depends on what page you’re seeing it on. If it’s when viewing a topic, you want to modify your template file topic.php and add the link to register.php there.

    Here’s an example http://www.pilatesdigest.com/forums/forum/product-reviews

    I want to add “register to post” or “create an account” link next to “You must log in to post.”

    Any idea what file I change?


    chrishajer
    Participant

    @chrishajer

    Looks like the text is actually provided by bb-includes/functions.bb-template.php, and the text depends on if you’re logged in or not.

    Not logged in shows this:

    ('You must <a href="%s">log in</a> to post.')

    I’m not sure how you would modify that to display what you want, without modifying this core file. Modifying core files makes it troublesome to upgrade to new bbPress versions.

    What version bbPress are you using?

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

You must be logged in to reply to this topic.