Search Results for 'code'
-
Search Results
-
WP: 4.3.1 bbPress: 2.5.8 Theme: Jolene
Hi Folks,
I’m trying to tweak the colours of a site I’m building as a “learn WP” excercise and I cant find out how to change the colour of the Search button on my forums page.
I have Custom CSS installed and I’ve entered this to control the Up and Over states of the SUBMIT button:#bbpress-forums .submit { background-color: #1e73be; color: #FFFFFF; float: center; vertical-align: middle; border-radius: 4px; height: 35px; width: 120px; font-size: 14px !important; } #bbpress-forums .submit:hover{ background-color: #82D646; color: #FFFFFF; float: center; vertical-align: middle; border-radius: 4px; height: 35px; width: 120px; font-size: 14px !important; }I’ve also got this to control the colour of the SEARCH button but adding the
:hoverat the end of a copy of the original CSS, at the end of the id name doesn’t work.#bbpress-forums #bbp-search-form input[type=submit], #bbpress-forums #bbp-search-form input[type=submit] { text-indent: 0; background: none; background-color: #1e73be; color: #fff; width: auto; height: auto; border-radius: 0; margin-top: 0; }Any Ideas greatly received. The Forums page is here if MEMBERS PAGES password requested it is… ccc
Topic: Need help with wp-query
I understand the concept of WP_Query but am not anywhere near enough of a coder to write one. I need help writing a query that will call up all the replies in a certain month and year, and include the topic and forum the reply is attached to. Can anyone help me with that?
I just transferred the whole site, which is housed under a non-bbpress-like CMS package, into bbpress by the built-in tool.
Every thing looks fine.
But I have yet to put them in production because of one reason:
Let’s think about the following:
- a visitor landed my home.
- he/she went to a forum.
- the forum shows topic index and a paginator on top or bottom of topic index box, based
- on the max of lines configured.
- the visitor travelled back and forth in site the forum by clicking the paginator. for ex, if the forum has 100 topics and max line is configured as 15, then paginator links would be 1,2,3,4,5,6,7.
- supposed that the visitor clicked 3-pgnator before clicked 5th topic.
- that is, the visitor is reading the 35th topic and replies if any.
- at this time the vistor changes mind to go to 2nd page.
so the visitor go back to the previous topic index before clicking 2-pgnator link.
Now the visitor grumbles. the topic view page(the one described at 6.) shoud have got the topic index and paginator below the topic view. So we dont need to do extra clicks.
This scenario is totally from the customers’ view point. Unfortunately, there are some tools in the world prviding such features, and they asked the site builder to implement that feature.
Because old system has it and the bbpress out of box does not, i do not think the request is wrong.
I have tried to find a solution, but not. for ex, i put
echo do_shortcode(‘[bbp-single-forum id=$f_id]‘);
at the bottom of conent-single-topic.phpThen looked great, but problem is:
In case that said above 6., the 3th topic index should be shown but shows 1st page, which is not getting sync’ed with the current topic’s position.
so i have to look into source code.
As far as I learned from it, bbp-single-forum short code is the very candidate, I guessed. But no clue to me.
display_forum function is out of control by myself, I guess.
Hopefully, some help or idea is in need. Or, let me know what I missed or overthought.
Thanks.
How can I change the freshness parameter of Recent Topics in the Forum Index, which appears by pasting the shortcode [bbp-forum-index]?
Right now it says No Topics for all the forums I have (please see link: http://mavipamumb.ns36.interactivedns.com/forum/ ). I want it to show the date of the last topic or post in that forum.
Please let me know if it can be done.
Thank you.
Topic: bbPress Sidebar Widget
So as of approximately 10:30pm Sunday night the last reply was posted to my website jamiepine.com/forums. Users of my site were unable from that point on to post replies to any topic in any forum on my site.
It allows them to write their reply, then upon clicking submit, the page reloads and the reply isn’t there. I’ve spent over 13 hours trying to find something that could be causing a conflict or error that would prevent replies being created. Here’s what I’ve tried so far:
– I’ve disabled ALL plugins aside from bbPress
– I’ve disabled the my theme (switched to TwentyTwelve, TwentyThirteen and TwentyFourteen)
– I’ve done both of the above at the same time & on their own
– I’ve disabled Cloudflare (my CDN / cache service) [it’s still disabled]
– I’ve updated all plugins and themes
– I’ve typed every possible phrase relating to this problem into Google in effort to find answers
– I’ve inspected the database to the best of my knowledge****I’ve noticed bbPress is creating many revisions of old replies from last year even when the site was in maintenance mode and no users were able to access. I was also receiving an email telling me I’d received a new reply to my topics (from 2014) when I wasn’t even touching the site. It’s essentially gone senile.
I’d list all my plugins, but my problem is I’ve changed nothing before 10:30PM that Sunday other than adjusting plugin settings in WP Super Cache, which is now disabled. In fact I know the pages aren’t cached because I can update anything else on these pages and create new topics; I just can’t reply.
My theme clearly isn’t the problem as it’s still broken at a core level; but it is my own child theme of Canvas.
The only thing I can think of is that I installed a plugin called bbPress AJAX replies a few hours prior to the problem, but that plugin did nothing of use anyway so I removed it straight away. I also inspected the code and didn’t find anything that would cause a lasting effect on the site, no database communications of any nature.
…But it looks to be a database issue?
This has caused me no end of headache and I’d greatly appreciate some help, I’ll provide you with any details you need / admin login to the site. I have hundreds of users waiting to use the site.
Thanks in advance,
JamieI’ve changed the loop-single-forum.php template file so that the frontpage contains all the forums on a single page. It look like this.
I’m also trying to implement a plugin called bbPress Unread Posts v2. It’s placing an icon before every forum title to notify the user when new posts/topics have been made in a forum.
As you can see in the template I’m firing
bbp_list_forums()to list the forums. However this function does not fire the actionbbp_theme_before_forum_titlewhich means a plugin won’t affect these lists of forums.I can imagine I need a manual way to list all forums so I can fire a
do_action. But how would I be able to do that?I created a new page, I added the shortcode, I choose the template with no sidebar on the page I created, and bbpress just ignores it completely. I also tried a suggestion in another post about adding code to the style.css but that didn’t work as I was never very good with css. The wordpress theme I am using is called point and can be found here: https://wordpress.org/themes/point/
If anyone could perhaps nudge me in the correct direction I would appreciate it, thanks.