Forum Replies Created
-
In reply to: Topic Text doesn’t appear above textarea
great – glad you are fixed 🙂
In reply to: Topic Text doesn’t appear above textareaok so 2 things you can do here
1. add a label
add_action ('bbp_theme_before_topic_form_content' , 'rew_content_title') ; function rew_content_title () { echo '<label for="bbp_topic_content">Topic Content</label><br />' ; }
Just change ‘Topic Content’ to whatever you wish
2. add back the editor
add_action( 'wp_footer', 'rew_supports_js' ); function rew_supports_js() { echo '<script>document.body.classList.remove("no-js");</script>'; }
Put these in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: Update 2.6.9. TinyEditor is gone. Simple cure?is your site public enough to be able to see an example?
In reply to: Cómo crear un foro en españolSolo puedo sugerirle que use el traductor de Google o el traductor de su navegador, para ver este enlace
In reply to: memberpress integration with bbpressyou first questions are I think members press related, so need to be referred to them.
bbpress works on topics and replies – it’s logic is that you can’t reply to nothing, so yes you need a topic 🙂
ok, I spent a while looking at this, but with no luck -I’d can 0nly suggest you raise this with your theme author
In reply to: Update 2.6.9. TinyEditor is gone. Simple cure?have you tried this
add_action( 'wp_footer', 'rew_supports_js' ); function rew_supports_js() { echo '<script>document.body.classList.remove("no-js");</script>'; }
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: Topic Text doesn’t appear above textareaok, I’m not sure what you mean – can you post a picture of the area
In reply to: member only 404The easiest way would be to use
once activated go to
dashboard>settings>bbp style pack>Subscription Emails
and tick item 2 and look at the choice of loginThis will then detect if a user is trying to access a private forum and redirect them to a login and then to the topic/reply as appropriate
In reply to: member only 404how is the user getting to a 404 page?
eg are they entering a url, from email, from a page?
the forum is for members only, but it looks exactly like this, it basically goes all the way up to the top of the page, and writes over my page menu/header: https://gyazo.com/ac8e4ee8ca7d772124fac635e9342ea4
Your photo is appreciated, but it is the equivalent of sending me a photo of your car engine and asking me to tell you what’s wrong. It is probably some css that needs changing, but without being able to see what is being downloaded to a web browser I can’t help further – sorry.
I have bb style pack, but can it do something like this? Like for example, to customize search button appearance like here? https://gyazo.com/1a26b445dd8db18ac64b0ad793602b4b
go to dashboard>settings>bbp style pack>search styling
on the search, I would need a link to a live example to see what is happening
on styling – this plugin should help
great – glad you are fixed
is an add-on to bbpress and will let you split your forums into as many groups as you like.
membership plugins tend to assign roles to members if you want different membership types, and then private groups plugin can then assign these to the forum groups
great – have a good 2022 !!
and do post back the solution when you get there
In reply to: How to make anonymous posts pending🙂
🙂
In reply to: How to add new replies from admin area!?when you go to
dashboard>replies>add new you should see a box on the top right that says ‘reply attributes’ and in there you put the topic number.
ok, lets try agian and see if we can get there.
Your site has
https://imhodom.ru/forums/users/ox/replies/
so we need to check for ‘/users/’ and ‘/replies/’
and we’ll try and up the priority so that other code does not overwrite
add_action( 'bbp_template_redirect', 'neon_check_replies', 100); function neon_check_replies(){ //only execute if the url contains both /user/ and /replies/, so test for this first if (strpos($_SERVER['REQUEST_URI'], '/users/') !== FALSE && strpos($_SERVER['REQUEST_URI'], '/replies/') !== FALSE) wp_redirect( 'https://imhodom.ru/forums' ); }
and is your site in english ?
ok, so if the replies link goes to
https://mysite.com/forums/user/admin/replies/
then this
add_action( 'bbp_template_redirect', 'neon_check_replies'); function neon_check_replies(){ //only execute if the url contains both /user/ and /replies/, so test for this first if (strpos($_SERVER['REQUEST_URI'], '/user/') !== FALSE && strpos($_SERVER['REQUEST_URI'], '/replies/') !== FALSE) wp_redirect( 'https://mysite/home' ); }
will send anyone clicking the link to the site home page
what does it do for you?
can you just define wat exactly you mean by ‘doesn’t work’ – ie I put this in here click that and this happens
ok try this
add_action( 'bbp_template_redirect', 'neon_check_replies'); function neon_check_replies(){ //only execute if the url contains both /users/ and /replies/, so test for this first if (strpos($_SERVER['REQUEST_URI'], '/users/') !== FALSE && strpos($_SERVER['REQUEST_URI'], '/replies/') !== FALSE) wp_redirect( 'https://example.com/some/page' ); }