Search Results for 'code'
-
Search Results
-
The current support bbPress has a neat theme. It will be helpful if we can refer it for the best practices and customization. I searched and could not find the source code for the forum’s theme or WordPress’s support theme. Where to find it? Is it open source?
My bbPress installation is customized a little and has subscribe and favourite buttons in a different place. Since 2.6 extra favourite and subscribe links are appearing in the lead topic header. Is there a way to remove the default ones and keep the ones generated by
<?php bbp_topic_favorite_link();?>and<?php bbp_topic_subscription_link(); ?>?In an attempt to manually indicate that a given forum has sub forums I added the following to the forum description:
Have you found a bug in the Midweek Editor? Or do you have a suggestion for a new feature? Then this is the forum to use. Sub forums: <a href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/midweek-editor/midweek-editor-styles/"><em>Custom Templates</em></a>, <a href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/midweek-editor/sample-midweek-editor-styles/"><em>Custom Templates – Samples</em></a>, <a href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/midweek-editor/monthly-workbook-information/"><em>Monthly Workbook Information</em></a>It works. The problem is if I add new lines into the description they get stripped.
I saw this discussion:
It implied it was fixed in bbpress 2.1:
https://bbpress.trac.wordpress.org/ticket/1803
But I don’t get it.
This is a sub forum with child forums:
<a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/midweek-editor/">Midweek Editor</a>This is a forum with no child forums:
<a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/assignments-editor/">Assignments Editor</a>As you can see, the code is exactly the same. I understood from the associated discussion that the forum with child forums would have a additional class specified so that we could use pseudo before / after to add a symbol to indicate it is a forum with sub forums.
Or do I have to go about this differently?
I am using bbp style pack.
Thanks for shedding any light on this.
Hey Guys,
Since bbPress v2.6.4 undefined variable message appears in both admin and frontend pagesNotice: Undefined variable: topic_id in [PATH]\wp-content\plugins\bbpress\includes\replies\template.php on line 456 Notice: Undefined variable: topic_id in [PATH]\wp-content\plugins\bbpress\includes\replies\template.php on line 461 Notice: Undefined variable: topic_id in [PATH]\wp-content\plugins\bbpress\includes\replies\template.php on line 467I found variable [topic_id] inside two if statements in function [bbp_get_reply_url] so I think that you should move the variable definition in the function scope not inside the if.
If you google that [undefined variable: topic_id replies\template.php] you will find that a lot of online forums using bbPress generate that error in the front-end pages.
P.S. some people taking about BuddyPress but I think it should be fixed in the bbPress functions.
Thanks