Forum Replies Created
-
In reply to: Registration emails not sending to hotmail/aol
Many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit. You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
In reply to: ADD custom HTML in keymaster replyno problem – glad you’re fixed !
In reply to: ADD custom HTML in keymaster replyThat does the display for both keymasters and moderators
In reply to: ADD custom HTML in keymaster replyok, sorry for delay – putting in ‘bumps’ tends to not get you help as many of us work on ‘topics with no replies’ and you have replies 🙂
Put the following in your functions file
function rew_role_show () { $displayed_user = bbp_get_reply_author_id() ; $role = bbp_get_user_role( $displayed_user); if ( bbp_is_user_keymaster($displayed_user) ||$role == 'bbp_moderator') { echo '<li>' ; echo 'I im in supporting group'; echo '</li>' ; } } add_action ('bbp_theme_after_reply_author_details', 'rew_role_show') ;In reply to: Remove bbPress forum profile URL linkjust tested and
add_filter( 'bbp_get_author_link', 'remove_author_links', 10, 2); add_filter( 'bbp_get_reply_author_link', 'remove_author_links', 10, 2); add_filter( 'bbp_get_topic_author_link', 'remove_author_links', 10, 2); function remove_author_links($author_link, $args) { $author_link = preg_replace(array('{<a[^>]*>}','{}'), array(" "), $author_link); return $author_link; } add_filter ('bbp_before_get_author_link_parse_args' , 'rew_remove_avatar' ) ; add_filter ('bbp_before_get_reply_author_link_parse_args' , 'rew_remove_avatar' ) ; add_filter ('bbp_before_get_topic_author_link_parse_args' , 'rew_remove_avatar' ) ; function rew_remove_avatar ($args) { $args['type'] = 'name' ; return $args ; }seems to do what is required
In reply to: Add forum description to forums indexCan you give us a screen shot of IE and one of safari – just saves me loading this code (so I can help others as well as you) , so I can quickly see the difference
In reply to: Remove bbPress forum profile URL linksorry this support forum is manned by volunteers so we do this in our spare time and for free.
I presume you got this code from
http://www.digitspeak.com/blogging/wordpress/remove-bbpress-forum-profile-url-link/
when you say
the avatar reappears which i managed to get rid of – is there another workaround?
can you explain a bit more about
i managed to get rid of
what did you do?
In reply to: Main Forum Page and short codesok, you’re stating stuff that I’m finding hard to visualise/understand, and adding further info which again is not clear.
It’s not that you are not trying to explain, it’s just that as I can’t see your site, and issues with themes, plugins, and servers can be many and varied, there’s not a quick ‘do this’ answer.
de-installing and re-installing rarely fixes 🙂
So as I can’t see your site to start with lets eliminate theme and plugins
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 twentytwelve, and see if this fixes.
Come back with the results – If that finds a fault it doesn’t mean you can’t use that theme or that plugin, just that we know where the issue is.
If that doesn’t fix try
Dashboard>settings>permalinks and just click save – you don’t need to change anything – that just re-sets the links and sometimes fixes issues.
If not then also let us know your forums slug dashboard>settings>forums and look for the forums root slug.
Also let us know your permalink setting Dashboard>settings>permalinks
In reply to: Main Forum Page and short codesneed a link to your site to help further
In reply to: Stop Auto Converting Text Url into Hyperlinked UrlGreat – glad you’re fixed !
In reply to: How to make forum visible only for usersif you get the remove filter working in the other post you could have it ‘removed’ as default and then add a conditional filter
e.g. if users has posted xx topics then {
add_filter( ‘bbp_get_reply_content’, ‘bbp_make_clickable’, 10 );
add_filter( ‘bbp_get_topic_content’, ‘bbp_make_clickable’, 10 );
}but you’d need to code that yourself as I’m time strapped at the moment
In reply to: Stop Auto Converting Text Url into Hyperlinked Urlok, you got me interested enough to look it up.
bbPress now uses its own version of make_clickable, so the two filters are :
add_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4 ); add_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4 );so you need
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4); remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4);In reply to: Stop Auto Converting Text Url into Hyperlinked Urltry 10, as it is probably set with the default
In reply to: Wishlist Members Integration TroubleshootingOption 2 would work, ie take the restictions out of wishlist, and let my plugin control access
In reply to: Stop Auto Converting Text Url into Hyperlinked UrlThe remove filter above I mentioned is not working for me, I even tried changing the priority 1 to 255.
The remove must have the same priority – see
https://codex.wordpress.org/Function_Reference/remove_filter
In reply to: Can I use bbpress topic as POST?Not quite sure how this would be achieved.
In essence you either create a post or you create a topic.
A post is displayed using your theme’s layout, a forum topic using bbpress’s templates, so essentially they are incompatible unless you add extensive coding to your theme to recognise and display.
If it is not possible can you tell me how to use default taxonomy (categories) with forum? I want to store some topics in these default WordPress category.
Sorry I don’t understand this question – please explain further
In reply to: Group Forum TabGreat – glad you’re fixed !
I suspect that without extensive time in coding this and your other requests will not be possible.
Hopefully someone else will be happy to spend the time to resolve
In reply to: Group Forum Tabsince you are trying to change a function in buddypress viz ‘bp_setup_nav’ then logically it is buddypress.
Anyway try
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'Forums' ) { $translated_text = 'Chapters'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );In reply to: Change bbpress root-urlare you talking about a separate subdomain, or just a directory?
tried to create a file, save the file in my pc then upload the file to each of the templates, themes under /themes/optimizePressTheme/ but no luck..
you should only do this once so that you have
wp-content/themes/optimizePressTheme/bbpress.php
In reply to: Edit reply – blank pageHey great – was just about to get into your topic when I noticed that you had replied !
No problem – we all have those moments – increasingly for me !
Do come back if we can help further 🙂
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.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/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the originalThen change line 50 of this file from
<?php bbp_list_forums(); ?>to
<?php //bbp_list_forums(); ?>This will, stop it listing sub forums.
Come back if that’s not what you wanted
In reply to: Stop Auto Converting Text Url into Hyperlinked Urlok, you’ll need to specify exactly what you are trying to do – a link to a page means I have to guess which part of that page you are referring to.
Please come back with further details