Search Results for 'bbpress'
-
Search Results
-
wp v5.0.1
bbpress v2.5.14How can I hook into the FIRST reply on a single topic page? I want to add an image attachment only to the first reply, but i cannot find how to do so. I hooked into the action “
bbp_theme_before_reply_content“, but it adds the image to every reply on the page!I thought about getting a list of all reply ids, then comparing the current reply id (
bbp_get_reply_id()) with the first id in the array, and showing content if they are equal. That would solve the problem. BUT I also failed at getting the list of ids – I tried withbbp_get_all_child_idsI also wish the FIRST reply in the loop would have a unique id or class, but it does not 🙁
Here is the page:
Topic: My topics
Hey, I’m a french user of bbpress and I need your help to solve my problem.
I installed a theme that uses the features of buddy and bbpress, no problem. But when I go on the profile of a user and I click on “my topics = mes réponses” I have a 404 error, while the page “my favorites” works well.
https://livroo.fr/membres/admin7317/forums/ => https://livroo.fr/membres/admin7317/forums/Mes%20R%C3%A9ponses/but my favorites works for same url
https://livroo.fr/membres/admin7317/forums/
https://livroo.fr/membres/admin7317/forums/Mes%20Favoris/
Could you help me ?Hey,
I use the Woffice theme with bbpress forum. The widgets for latest topics and replys have two hover effects.
1. Underlining of the link
2. Moving the link a few pixels to the right.I want to remove the second one as it cause the link to sometimes jump around like crazy.
Any ideas how I can do that?
Hi can you help me on how achieve like this when share a topic on facebook(see photo for reference). I get a sample of bbpress topic and share on facebook I always see the word “Topic:” then at the end of the topic the “url” and below is the slogan this is i want to happen when i share a topic on facebook. Just like in the photo. Thanks.
https://prnt.sc/lvn63o
https://prnt.sc/lvn6d3I want to limit the number of characters in the Topic Content Text Area in bbPress to a maximum limit (of say 500 characters). How can I do it?
I tried to do it by using the maxlength attribute of textarea (bbp_topic_content) in the stylesheet file, but this attribute is not working (may perhaps be because this attribute was included in HTML5 version only). However, if I use this in Developer Tools in Chrome while inspecting the text area for Topic Content, it works fine; but that is only for testing and I am not able to make a permanent change by editing the source file or through any plugin.
Other two methods could be javascript to check on local machine the number of characters being entered, but I understand that this can easily be cheated by disabling javascript. Moreover, I am not fully sure how to do it.
Third method could be to use for action or filter hook. Can you please suggest me which hook to be used and sample code, if any?
Thanks in advance.
Topic: increase font size
You have been a great help.
I read through and tried https://codex.bbpress.org/bbpress-styling-crib/
What I did,
1. installed Simple Custom CSS plugin – all ok
2. insert the below code. and changed the font-size: 1.1em; to 1.6em#bbpress-forums div.odd, #bbpress-forums ul.odd { background-color: #fbfbfb; } #bbpress-forums div.even, #bbpress-forums ul.even { background-color: #fff; }
IF post is sticky or super sticky, then
.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky { background-color: #ffffe0 !important; font-size: 1.1em; }
but the rest doesn’t seem to work…especially
Number 5. Various textsbbpress-forums .bbp-topic-content p, bbpress-forums .bbp-reply-content p { font-size: 12px;
I change the font-size: 20px
nothing happens.
what did I do wrong? basically I wanted to increase font size for all forum section from 1 to 8. How please.
Thank you in advance
So I work as a web developer using wordpress, however I do not use bbPress on any of my sites currently. However I am a member of a forum that I really enjoy, however it severely lacks some elements of responsive design for mobile phones. I cannot say for sure it’s something directly related to bbPress, however being that bbPress is such a large platform I have to assume there is a solution.
The problem:
The problem is related to multiple quotes inside of a post. When a person quotes a reply that was also quoting a previous reply we get multple “quote” section before the new content. The result on a mobile phone is that the quotes get squished into single character per line so it looks
l
i
k
et
h
i
sIs there a solution to making the previous quotes either hidden in a spoiler tag by default or simply show only the 1 quote per post on mobile?
Here is a screenshot of what I’m talking about: https://drive.google.com/open?id=1DbJjmuCinBhP1yhprZXcNC_ZMz4gj-cT
P.S. I am not a developer on this website, but I thought I’d present a solution to the owner to help him out 🙂
P.P.S. I noticed he uses elementor as well, so not sure if that has any relation.