8 years, 10 months ago
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?
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?
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?
Follow bbPress on Twitter •
Contact Us •
Terms of Service