Forum Replies Created
-
In reply to: BadgeOS points under username in forum
glad it works
yes just change that line to
echo '<div class="badge-os"> Points: '.$points.'</div>' ;
change the class name to anything you want.
In reply to: list of all functionsI thought we had one, but can’t find it.
The best way into bbpress is to start with the templates – these are the most likely thing you’ll want to alter, and placing amended ones in a ‘bbpress’ folder in your theme will make weordpress use these instead.
so go to
bbpress/templates/default/bbress/content-archive-forum.php
This is the first template called, and all the functions and templates you want to use will cascade from here.
In reply to: paid file sharing like phpbbThere is nothing I know of, and whilst it is possible with a deal of code, beyond free help I’m afraid
In reply to: Navigation & BuddyPress Group Feature RequestGreat !!
In reply to: Only social login membersso..there is no any way to “hide” register form and just left social media login?
ok, we’re a bit outside bbpress support here, as this is theme/other plugin related.
where is register (I’m not good in your language!)?
Also, can you tell me how can I publish social widget shortcode in header of all forum pages?
if you are ok with copying coding and FTP files, then I may be able to help
In reply to: BadgeOS points under username in forumalthough you may want to alter the last line to something like
echo 'Points: '.$points ;
so that more than just a number appears !
In reply to: BadgeOS points under username in forumBadgeOS is a plugin so I can’t comment on whether your code would work – it looks fine from a technical point of view.
I’ve tweaked it so that it shows the points for each user rather than the current user and added the function to get it below the author name, so if the function is correct this code should work.
add_action ('bbp_theme_after_reply_author_details', 'badgeos_show_users_points') ; function badgeos_show_users_points( $user_id = 0 ) { $user_id = bbp_get_reply_author_id(); // echo our user’s points as an integer (sanely falls back to 0 if empty) $points = absint( get_user_meta( $user_id, '_badgeos_points', true ) ); echo $points ; }
let me know if it works
In reply to: BBCodes bbpress list?I think they are pretty much as per the list above a topic/reply.
You can use this plugin to extend
In reply to: Users can’t reply to forumI’m probably the worst at buddypress, bbpress is my speciality.
May well be worth posting on the buddypres support forum
In reply to: Users can’t reply to forumhidden forums are usually only visible to moderators and keymasters.
Can you tell me why this is a hidden forum and are all users moderators and keymasters.
In reply to: Users can’t reply to forumso is it hidden or public at the moment ?
In reply to: Navigation & BuddyPress Group Feature RequestSorry – I can’t immediately see a better way.
I’m not a bbpress author, but to get code changed you’ll need to post in trac
In reply to: can we make bbpress work like facebook groups ?Nothing I know of dopes that, and not without a heap of bespoke code – sorry !
In reply to: Tracked Discussionsif you go into your profile you can see all then topics and replies that you have created
In reply to: Remove Topic Tags / (bbPress) Statistics Widgetno problem – glad you are fixed !
In reply to: how do I remove first two parts of breadcrumb?could be various reasons why this is happening – you have also posted in my style pack support forum, so I’ll pick it up there.
In reply to: how do I remove first two parts of breadcrumb?my style pack plugin lets you amend breadcrumbs, including not showing the home breadcrumb.
after activation go to
dashboard>settings>bbp style pack>breadcrumbs
In reply to: Only social login membersbbpress just uses the worpress login.
On first login, users are given the default role on dashboard>settings>forums
so it should all be fine.
In reply to: Threading not workingok it works on bbpress with a twentyten theme – that’s all I can say.
Can you define down more what ‘not working’ means
Without a site to see, at the moment you are telling us that your car won’t work, but that’s all the information you give:-)
In reply to: bbp_reply_url not working for large topicsThat’s great, and the info on the site page helped greatly, particularly that bbp_get_topic_reply_count() has a number with the comma in it.
Replies are stored in the wp_posts table. The code creates an entry for the reply order in ‘menu_order’ where there is none, which is what I hoped my filter was fixing. But if the entry has already been created, then it just uses what is in the database. So when you look at a reply, if it has no entry it creates one and then uses that. So by merely looking at a reply you can alter the database! That may explain your funny but strange fact – just by examining an entry you may be changing what is stored !
Where the reply appears in the display is held in that table under ‘menu_order’
so I suspect that for instance reply id 119119 – which I looked at – has a bbp_get_topic_reply_count() value of 1,062.
Can you check the entry in phpmyadmin
SELECT
menu_orderFROM
wp_postsWHERE
ID= '119119'
and see if the entry reads 1,062 or 1062 or 0 !
That will get us further forward
In reply to: Copy Link in Forum. WP logo insidethis isn’t a bbpress thing – wordpress does this for comments, and bbpress just hooks to that.
A quick google found this which shows you how to change the files.
https://www.ostraining.com/blog/wordpress/embed-theming/
sorry – writing a specific solution for you is beyond free help.
In reply to: Remove Topic Tags / (bbPress) Statistics Widgetcreate a directory on your child theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your child theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-statistics.php
bbPress will now use this template instead of the original
and you can amend thisso copy this file to your PC and open it up.
then remove lines 37-40 which say
<dt><?php _e( 'Topic Tags', 'bbpress' ); ?></dt> <dd> <strong><?php echo esc_html( $stats['topic_tag_count'] ); ?></strong> </dd>
and save the file back to your website at wp-content/themes/%your-theme-name%/bbpress/content-statistics.php
and yes being a child theme change it won’t get overwritten.
In reply to: Remove Topic Tags / (bbPress) Statistics Widgetdo you know how to change a file and ftp this to your site?
If so I’ll give you instructions
In reply to: Maximum Number of Posts Per Thread Page?I’d suggest that something else is disrupting the setting
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: Notification from bbpress to buddypresssuggest you also post in