I can help you with the second issue.
First, make a copy of the bbPress folder and search for ‘bbp_get_forum_pagination_count‘ in Explorer.
If you don’t get any results at first, make sure you’ve turned on text search for .php files:
1) Open the bbPress folder:
ALT key -> Tools -> Folder options -> Search tab -> Always search file names and contents
2) Make sure that .php files are included in file content searches:
Windows Start menu -> Type ‘Indexing Options and press return -> Advanced -> File types -> php -> Index properties and File Contents -> On
The result of the search should be:
bbpress/includes/topics/template-tags.php
Now, locate the function ‘bbp_get_forum_pagination_count‘ and remove the ‘Viewing topic…’ code.
If you also want to rempove it from searches, please search for ‘bbp_get_search_pagination_count‘ and repeat the procedure.
I hope this helps!
We would like to completely hide the freshness column throughout the forums. Could you please point me to other documentation or to the code to remove/hide freshness?
WP version 3.5.1
bbpress version 2.3.2
http://www.swpp.org/forums
Thanks
Have had a bit of a play.
Answer turns out to be very easy !
In line 799 just change
'type' => 'both'
to
'type' => 'avatar'
Then just the avatar displays.
By the by change it to
'type' => 'name' and guess what, just the name displays!
As said earlier make a note of what you have changed, as later upgrades will change this back.
Thanks Robin.
If I hide author within the widget options it hides the avatar too, so I can’t go down that route.
Looked at the coded and I have been amending the lines at 798. Unfortunately no being too php savvy I can’t fathom which part is related to the avatar and the author link. Removing the line removes the avatar and the link. I could do with knowing which part of the code relates to which function.
Thanks again
Hi there! I really need some help with finding some shortcode for a custom wordpress page. I need to display a post count by a user. I have been searching for days and I cannot get anything to work. Any help you can give me would be most appreciated!
i can’t seem to get this to work… so it’s supposed to look like this?:
<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
$user = get_userdata( bbp_get_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
echo “@”.$user_nicename;
}
<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
I get a parse error when i do this. What am i doing wrong?
We would like to completely hide the freshness column throughout the forums. Could you please point me to other documentation or to the code to remove/hide freshness?
WP version 3.5.1
bbpress version 2.3.2
http://www.swpp.org/forums
Thanks
Hi Linq and ianbee,
What do I do with that code? Where do I paste it?
Thanks, Chris
Hi Linq and ianbee,
What do I do with that code? Where do I paste it?
Thanks,
Chris
Hi Linq and ianbee, What would I do with that code? Where would I put it?
Thanks.
If the link will always be the same you can remove the Root and manually add a custom one.
This is default.
<?php bbp_breadcrumbs(); ?>
Remove the Root.
<?php bbp_breadcrumbs( array( 'include_home' => false ) ); ?>
Than add your custom link before the Breadcrumbs tag.
<a href="google.com">Google</a> <?php bbp_breadcrumbs( array( 'include_home' => false ) ); ?>
Something like that ?
Sorry, I need to close a few Tabs in my editor because I was looking inside the wrong template.
This gets the login form.
<?php bbp_get_template_part( 'form', 'user-login' ); ?>
And of course that file is located where it should be:
wp-content / plugins / bbpress / templates / default / bbpress / form-user-login.php
Duh, stupid me!
Just curious,
When I sneakpeak in the ShortCode section I notice you can call the login form by.
<?php bbp_get_template_part( 'form', 'topic' ); ?>
This works great inside my templates and the bbPress login form pop’s up where I need him to be.
View post on imgur.com
But now I need to add some classes for CSS reasons and I wandering where I can find the code-snippet of the default form used.
?
Hey all, i run this site, and im determined that it should all be ran by wordpress, its all going great etc. But, as soon as i installed my forum, i see that it uses this ugly style, with background color etc.
What id really like is no shadow on the text, no background, small border around the different forums and thats pretty much it.
Heres before: http://puu.sh/32WkF.png
Heres how i want it to be: http://puu.sh/32Wpf.png
I hope you understand my problem :/
Ive read this http://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/ but i cant seem to find the necessary files.
I hope you can help me out 🙂
Sorry was being thick and quoted the code for the login display.
Having had a look at the widget, there is an option in the recent topics widget itself to hide author ie when you add the widget to a sidebar, you get options for no. posts to show, show author, show date etc. – does that not work?
That links to line 798 in the widgets php, so there would be you next step.
https://bbpress.org/forums/topic/include-mention-in-bbp_get_reply_author_link-function-args/
Go to the next path.
wp-content / plugins / bbpress / templates / default / bbpress / content-archive-forum.php
Copy the BOLD file into your Theme folder inside a new folder called [ bbpress ]
Like this:
wp-content / themes / [ your-theme-name ] / bbpress / content-archive-forum.php
Open the new ‘ content-archive-forum.php ‘ file and remove the following lines of code and save the changes.
<div class="bbp-search-form">
<?php bbp_get_template_part( 'form', 'search' ); ?>
</div>
You can find the Widgets of bbPress right here.
wp-content / plugins / bbpress / includes / common / widgets.php
Thats the file you need to have. By default I don’t think you can drag your Widget-code out of there and start using it inside any other WP project. You probably have to add and redesign it to make it work.
I just deleted my previous work where I had grouped all my forums inside Categories and made all forums solo – no parent Forums anymore.
The only question I have is how do I manually query for forums based on ID’s.
On the forums-archive template ( forums index ) I would like to group all my forums manually together, fake ‘categories’ I will make of static HTML inside the archive-template and now i’m only searching for a piece of code how to list them.
Lets say:
Name fake cat. in HTML
– (forum_id = 23) forum_name – topics – replies
– (forum_id = 37) forum_name – topics – replies
– (forum_id = 15) forum_name – topics – replies
I wished this would work..
<?php if ( bbp_has_forums( array( 'forum_id' => 23 ) ) ) : ?>
<?php bbp_get_template_part( 'loop', 'forums' ); ?>
<?php endif; ?>
After installing the plugin and view the topics, found in the Error Console
Error: TypeError: $(...).on is not a function
Source: /wp-content/plugins/bbpress/templates/default/js/topic.js?ver=2.3.2
Line: 22
Fixed bug with changing the .on to .live at line 22 and 27
Hi Robin,
Thanks for the advice. I tried that and it had no effect. I actually commented that whole section as a test and no change. Is this the right code snippet to make this change?
Thanks
Rob
Tried this but it doesn’t work..
<?php
if ( is_singular( bbp_get_forum_post_type() ) || bbp_is_query_name( 'mac' ) ) {
include(TEMPLATEPATH.'/page-one.php');
}
else {
include(TEMPLATEPATH.'/page-two.php');
}
?>
Just test this..
Copy the following file into your Twenty Ten Theme folder.
wp-content/plugins/bbpress/extras/archive-forum.php
And inside that file delete this line <?php get_sidebar(); ?>
Hope that gives you an idea.
Wow. it works
When i put the embeb code it shows the player
But with the wordpress code wich soundcloud gives you it doesnt
I update to the latest wordpress version coss i read that there was a better soundcloud integration, but that code in particular doesnt work.
But, the fact that embeb code does work is a great advance
im gonna see how to enable wordpress code
thanks a lot!