Forum Replies Created
-
In reply to: Moderator Unable To Post To Forum: iPhone iPad
I suspect this is not related, but always worth checking
Do you have a forums page with shortcode.
If not another poster did the following with success for a twentyfourteen theme.
So let me restate what you found to work:
1. When creating a menu item for forums, do NOT use the automatically available permalink that ends in “/forums/”
2. Instead, create a page that has the shortcode [bbp-forum-index] in the body. There could also then be other content or links in the body.
3. Make sure the page you created does NOT have a permalink that ends in “/forums/”. In my case I had a page Title of “Forums”, but I changed the permalink to end with “/allforums/”.I suspect that this will not fix for you, but give it a try anyway !
In reply to: No toolbar availableTerry, thanks from posting that – sometimes (in fact more than sometimes!) it is a small but vital bit that’s missing !
Glad you’re now fixed !
In reply to: Per Forum Permissions by GroupI am writing a bbpress specific solution at the moment – hope to publish in the new few weeks
In reply to: Changing The Fonts Colors lolok, add this in
#bbpress-forums .status-closed, #bbpress-forums .status-closed a {
color: #000000;
}and then come back with any others
In reply to: Changing The Fonts Colors lolyes, it was an untested change, but now I know you can do it, I’ll change it later today to catch the other ones
In reply to: Changing The Fonts Colors lolok, you have several routes to go
If you think you will be making other changes, then it may be worth you reading this
but if you just want to get this going then download this plugin
https://wordpress.org/plugins/simple-custom-css/
and then put this code into it
#bbpress-forums .bbp-topic-content p,
#bbpress-forums .bbp-reply-content p {
color: blue !important ;
}a:link {
color: blue !important ;
}Obviously you can change the blue to whatever, or use hex codes to get any shade you like
http://www.w3schools.com/cssref/css_colors.asp
Come back if that doesn’t work, and I’ll try to help further
In reply to: Redirecting to BBPress profile via functions.phpsome of the code in here might help you
In reply to: Getting forum page name from pluginok if it proves an issue, you could use
if ( is_singular( array('forum', 'topic', 'reply') ) ) { // conditional content/code }
In reply to: bbPress Login Widgetgreat, glad you’re fixed
In reply to: Changing The Fonts Colors lolyes they are on your site.
If I gave you the code and said for you to add this to your style.css would you know what I was asking?
If so I’ll cut some for you to use
If not, come back and I’ll try and help further
In reply to: Edit Menus Problemanother one that you can spend hours trying to solve !
In reply to: bbPress Login Widgetyou can edit the profile page to prevent them changing it
In your theme create a bbpress folder
wp-content/themes/%yourtheme%/bbpress
where %yourtheme% is the name of your theme
then navigate to
wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php
and copy this file to the bbpress folder you created above
bbpress will now use this one instead of the default.
edit this new file and take out lines 33 to 45
ie take out the following
<div> <label for="nickname"><?php _e( 'Nickname', 'bbpress' ); ?></label> <input type="text" name="nickname" id="nickname" value="<?php bbp_displayed_user_field( 'nickname', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" /> </div> <div> <label for="display_name"><?php _e( 'Display Name', 'bbpress' ) ?></label> <?php bbp_edit_user_display_name(); ?> </div> <?php do_action( 'bbp_user_edit_after_name' ); ?>
This will remove the ability to set a nickname and to change the display name.
In reply to: Edit Menus Problemyes !
When they go into
Dashboard>appearance>menus
they will see a ‘screen options’ button dropdown on the top right, if they click that they will get a list of things they can see on this screen, and they need to check the ‘forums’ one.
In reply to: Can I unpublish forumI suspect that you can still see it as either you’re a keymaster, moderator or wp-admin.
Private forums are only visible to logged in users
Hidden forums are only viewable by keymasters, moderators or adminsso you want to reset your forum to hidden, and you will still see them, but users won’t unless you give them privileges.
In reply to: Getting forum page name from pluginis_bbpress()
should do it I think.
Otherwise bbpress has custom post types of forum, topic and reply.
You should also consider disabling or modifying the bbpress search function, as otherwise searches will go forum wide, giving a backdoor.
Good luck !
glad we got there !
In reply to: Forum visibility and readabilityHey, thanks it looks really good !
In reply to: vs PhPBBIf you want it to look like PhPBB then the following links should help
I have created a bbPress starter theme with a phpBB look and feel
In reply to: vs PhPBBThis is just different software, like the difference between a Ford and a Toyota.
bbPress is ‘skinny’ and you can use plugins to add functionality as you need, rather than have fat software that has loads of stuff you don’t need.
In reply to: Removing Forums From Admin BarYou should really be looking to get rid of the toolbar for everyone but moderators and above ! It shouldn’t really be seen by users.
go to dashboard>users and for each user untick the toolbar
The codex has help on putting logins and profile on the menu pages – see
https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/ no.s 8 & 11/12
I’ve submitted a trac ticket to improve the code !
In reply to: Forum visibility and readabilityThanks for the great feedback – much appreciated !
glad to have someone else looking !
My ajax is hopeless !
Your solution is valid, but digging for it produced some code issue
we have several issues here
firstly the filter call is wrong in the code ie
bbpress/includes/topics/template.php has two errors
function bbp_get_topic_subscription_link( $args = array() ) { ......Parse the arguments...... ), 'get_forum_subscribe_link' );
so the function is ‘get_topic_subscription’ but the parse argument reverts to ‘get_forum_subscribe‘
whilst it doesn’t affect this issue the error is repeated for favorites in the same file
function bbp_get_topic_favorite_link( $args = array() ) { ..........), 'get_forum_favorite_link' );
needs changing to ‘get_topic_favorite_link’`
This doesn’t affect the issue as such, other than the filters above are wrong.
But filtering bbp_get_topic_subscription_link is totally pointless, as it immediately calls
‘get_user_subscribe_link’ which them resets the |, so whilst the filter seems to correct it once, any click just resets it.So your filter to get_user_subscribe_link is the correct one, but for the wrong reason.
Really the code needs to have the filter in one place only (suspect user)
Anyway the solution for @majid436 is as you suggest
function hide_before3 ($args = array() ) { $args['before'] = ''; return $args; } add_filter ('bbp_before_get_user_subscribe_link_parse_args','hide_before3');
it will not defeat me, but just need to lick wounds for a few days, then I’ll be back !
I’ve just spent two hours debugging this, I’ve found three errors, fixed it once only for it to come back.
I give up for the moment !