Forum Replies Created
-
In reply to: User email management
This is available as a premium add on for
see digest tab in the plugin details.
Also this is old, but might still work
In reply to: Archives:ForumsTry this
add_filter( 'get_the_archive_title', 'to_archive_title_remove_prefix' ); function to_archive_title_remove_prefix( $title ) { if ( is_post_type_archive() ) { $title = post_type_archive_title( '', false ); } return $title; }Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: Limit replies per day per user?1. only replies
2. bespoke code neededIn reply to: Reply delete then restore doesn’t work anymoreit has been repported.
There is a fix in
once activated go to
dashboard>settings>bbp style pack>bug fixes
and you’ll see the ability to Fix ‘Restore’ on front end
In reply to: Different Header in Sub-Forum and Sub-Sub-ForumIn reply to: hiding some items in forum & topic pagegreat – glad you are fixed 🙂
🙂
In reply to: Customizing the bbPress login pagethat is not part of bbpress.
In reply to: hiding some items in forum & topic page2nd – works in my browser for your site – can you close and reopen and check again, or post a new image showing what is still wrong, and links to an exact example.
3rd – I don’t know what ‘no output results’ means ??? again it seems to have gone from your site in my browser.
I did see that I had not taken out the ‘author/posts’ from the footer – you can add this
.forums.bbp-replies li.bbp-footer { display: none; }In reply to: Function to return all replies to a topicmy code above corrected works, but yes do come back and let us know if you find the problem or need further help
In reply to: hiding some items in forum & topic pageput this in the custom css of you theme
div.bbp-template-notice.info { display: none; } .bbp-pagination-count { display: none; } .forums.bbp-replies li.bbp-header { display: none; }In reply to: Customizing the bbPress login pageok, based on that I have no idea what you mean by embedding.
bbpress does not have a ‘login page’ it has shortcodes and widgets.
the template used by bbpress for login is
bbpress\templates\default\bbpress\form-user-login.php
to customise :
find
wp-content/plugins/bbpress/templates/default/bbpress/form-user-login.phptransfer this to your pc and edit as desired
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-user-login.phpbbPress will now use this template instead of the original
In reply to: Customizing the bbPress login pageIn reply to: Customizing the bbPress login pagethere are also lots of login customization plugins which may do what you want a whole lot easier
eg
In reply to: Customizing the bbPress login pagethat is a page full of code – so what did you put in?
In reply to: Customizing the bbPress login pagePut this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: hiding some items in forum & topic pageI would need a link to live examples to give you css – many things affect what classes are being used and you site might well be different to mine.
In reply to: Function to return all replies to a topicdid you correct the error in this line
if (!empty ($topic) {should be
if (!empty ($topic)) {In reply to: Function to return all replies to a topicif title is unique then
untested but something like :
function rew_find_topic_id ($title) { $topic = get_page_by_title($title, OBJECT, bbp_get_topic_post_type()); if (!empty ($topic) { $topic_id = $topic->ID ; return $topic_id ; } else { return 'empty' ; } }In reply to: Function to return all replies to a topiconly if you have one topic with that title, and since you cannot control what users title their topics this cannot be guaranteed.
You could return an array of topic ID’s that match the title, but not sure how much that would help.
what are you trying to achieve?
In reply to: Notify admin when replies are pendingonce activated go to
dashboard>settings>bbp style pack>Moderation
This will let you set options
In reply to: Show topic & reply count on user admin screen?🙂
In reply to: Connexion ACF & BBPress Front EndI presume you have raised this on the ACF site?
In reply to: Function to return all replies to a topictitles can be duplicated – eg you can have 2 topics called say ‘help’
the title will be the same, but the permalinks will be
forums/topic/help/
and
forums/topic/help-2/so there is no title to id function
In reply to: Function to return all replies to a topic🙂