Forum Replies Created
-
In reply to: How do I remove the (0,0)
Hi Rob,
Thanks for this. Unfortunately if I add this to my functions.php Dreamweaver tells me there is a syntax error on lines 21 to 22 (which is the second and third lines in your code), and I don’t know php well enough to work out what’s wrong. My complete functions.php file, with your code, is this:
<?php add_action( 'wp_enqueue_scripts', 'load_dashicons_front_end' ); function load_dashicons_front_end() { wp_enqueue_style( 'dashicons' ); } function bp_keep_user_private( $user_login, $user ) { global $wpdb; if( 'demo' === $user->user_login ) { $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 2 WHERE ID = %d", $user->ID ) ); } } add_action( 'wp_login', 'bp_keep_user_private', 10, 2 ); add_filter('bbp_before_list_forums_parse_args', 'ntwb_bbpress_list_forums' ); function ntwb_bbpress_list_forums() { $args['show_topic_count'] = false; $args['show_reply_count'] = false; return $args; }
In reply to: Reply to posts by emailI got this up and running last night. The Postmark guide was a bit confusing but I got there in the end. I’m testing this today with 20 testers, so we’ll see how they get on.
In reply to: Reply to posts by emailThanks, Rob,. Can’t believe I missed it. Looking into this now and will report back for the benefit of other users.
In reply to: User-specified email updatesHi Rob – thanks for the clarification. I think the problem is that my breadcrumbs are quite different. I’ve sorted it however, so I appreciate you taking the time out to help. Thank you.
In reply to: User-specified email updatesNot trying to be awkward but this doesn’t make sense to me, Rob. You say:
For the user to unsubscribe from any forums or topics, all they need to do is go to their Subscriptions section in their profile and under Subscribed Forums and Subscribed Topics they can click the red X to unsubscribe.
When I go into a user profile, under Subscriptions it says:
Subscribed Forums
You are not currently subscribed to any forums.Subscribed Topics
You are not currently subscribed to any topics.Unread Forum Topics
Viewing 15 topics – 1 through 15 (of 15 total)The question is, how do you subscribe to a forum? There is no option here to subscribe to a forum.
You also say:
For a user to subscribe to a forum or topic, they need to click the link that will usually be at the top of the post that says Subscribe. Whenever they click the subscribe link, it will now show as Unsubscribe automatically with ajax for topics but refresh for forums.
The top of what post? What do you mean by post in this instance? Where am I supposed to be in order to see this? At my Forums root level? I don’t see any Subscribe option.
I imagine they will see an unsubscribe button in their subscriptions profile for each forum once they have subscribed to a forum, but my question is: how do you, as a user, subscribe to a forum in the first place?
In reply to: User-specified email updatesHi Rob. How does a user unsubscribe from a forum or all forums?
In reply to: Forum subscription not sending emailsDamn I hate it when people don’t post their solutions to help others!
In reply to: How to marry contributor to participant?OK, solved it. This had to do with my theme where I had settings under BuddyPress to create a new group. I did so and used the forum keys to add to capabilities.
In reply to: How to marry contributor to participant?I enclose a screen shot of my problem. I created a new user and set their Forum role as ‘Participant’. I clicked ‘save’ but this has not updated their forum capabilities. They remain ‘denied’.
In reply to: Topics not appearing unless a new theme is loaded!Aha! I have solved the problem and I have done it by turning Wp Super Cache ON, not OFF. I then went to the advanced settings and ticked the box that says
Clear all cache files when a post or page is published or updated.
It appears to have sorted the problem out and forum posts now refresh immediately.
Thanks for your patience, Rob.
In reply to: Topics not appearing unless a new theme is loaded!Rob, I don’t wish to be funny but I have many years of web development and wordpress experience! The cache plugin is most definitely not activated.
This is a new website. I wonder if this has something to do with servers not pointing or updating correctly.
In reply to: Topics not appearing unless a new theme is loaded!And, as a precaution, I installed nginx cache and flush cache login plugins.
I think this may be a DNS thing…
In reply to: Topics not appearing unless a new theme is loaded!Nope, it is very definitely disabled. Also I loaded a new WordPress install with NO plugins activated (or even installed) bar bbpress and the same problem persisted.
In reply to: Topics not appearing unless a new theme is loaded!In this topic I’ve just posted a reply at 11.41pm. So far it has not appeared:
http://www.oyster-owners.com/forums/topic/this-is-a-third-topic-just-around-7-45-pm/
However it is counted in the back-end of the forum, I just can’t see it.
Also, a reply I put up earlier that did not appear has now appeared after checking four hours later.
There is definitely a delay in the post appearing publicly and on the public-facing count within the forum (i.e. post count does not count the reply until it appears after the delay).
Why would there be a delay? It is not the themes, it’s not a plugin, it is not bbpress. What else could it be?
In reply to: Say hi to RobkkGood work!
In reply to: Topics not appearing unless a new theme is loaded!Hi Rob,
As I said (in an edit of my OP, which you may have missed), I have tried a number of different themes, including twenty fifteen, twenty fourteen, twenty twelve, Avada, Oceanic… they all demonstrate the same symptoms, and Avada even supports bbpress (as does, I assume, the WordPress themes). All themes are latest versions.
In reply to: Why do my permalinks look like this?Odd. Well, I now have my site up live and am no longer working on localhost so I’m starting afresh. Thanks for your time.
In reply to: How do you style a specific forum's reply?Strange. Why does this code…
.bbp-parent-forum-2881 .bbp-reply-content {font-family:Verdana, Geneva, sans-serif; font-size:0.7em;line-height:1.2em;}
…only style recent replies? It doesn’t seem to affect replies 2 months old. It’s the very last line in my child’s style sheet. Is there something else I haven’t read in the manual?
In reply to: How do you style a specific forum's reply?That’s the ticket. Thanks, Stephen.
That’s encouraging, Stephen. At least it’s not just me.
Thanks for your continued efforts in supporting this fantastic plugin.
Cheers,
Jamie
OK, another problem created by my own stupidity and solved quite simply. However I will say this brings up an area for bbpress to address somewhere down the line.
Quite simply the person was a new user and their first post was going into the moderation queue, hence the odd url. Once you know this and you ‘edit topic’, you can make it ‘open’ (as opposed to ‘pending’) and it’s published. After that the person can carry on without moderation, unless you change the settings in “Settings – Discussion – Before a comment appears”.
The problem is that without the Moderation plugin, the administrator doesn’t know this has been put into the moderation queue, and the poster doesn’t know it either. As far as they are concerned they’ve posted a new topic but they can’t see it on the front-end. Meanwhile the keymaster/administrator gets an email saying a new topic has been published, with a link that’s not a proper bbpress slug.
So the upshot is: if you want to moderate topics and replies, first check the WP backend Settings as described above. If you want notification that there’s a post in the moderation queue, install the Moderation plugin. It will also mark the posts as ‘awaiting moderation’, which is a nice touch.
In the end we’ve turned off all moderation because we have a captcha on sign-up that appears to stop the spam.
I’ve no doubt all of the above is clearly described in the user guide, but I never was any good at RTFM.
Further info: I just logged in as the problem user and successfully created a new topic in the private group forum without issue. I’ve asked him to try it again and, if still having problems, to clear the cache in his browser. Odd that I can post logged in as him but he can’t. Is that likely to be a cache thing, especially as I’ve been making changes to the site all day?
Hi Robin. Once again, thanks for the reply. In fact I HAD inadvertently done something silly whilst setting up my forums. I thought I’d repeat it here so everyone can learn from my own stupidity.
On your recommendation I installed the bbp_private_groups plugin the other day. This allows a forum to be accessed by a private group you create but also allows the public to see the forum title and topic contents if necessary. There’s a redirect for non-logged in users.
What the plug-in needs you to do, however, is make the forum PUBLIC. Somewhere down the line I had set it to PRIVATE.
So lesson learnt: make all forums public and just use the private_groups plugin to set it all up. The Private_forums_visibility plugin isn’t required if you’re trying to achieve what I was attempting to do.
You can see it in action here where the Assignment Submissions forum takes you to a page telling you the forum is private. It’s a nice way of encouraging more people to sign up too.
Thanks for that, Robin, I appreciate your time on this. I’ll give it a go in a moment, though it doesn’t get round the problem of allowing EVERYONE to view the private forum, including non-logged-in users. That is the single most important point of this exercise.
I had another thought though: couldn’t I close the forum and then give club members certain rights that over-ride that status? Kinda the same as an admin but without total admin rights?
I’ll look into this first before trying your solution as a temporary work-around.
Finally, if all else fails, what options do I have involving coding? Feel free to email me to discuss further.
It’s a little frustrating, Robin. In the forum I’m developing, which is an import from Simple Press, the private club (the most prominent forum of the six) needs to allows non-members to see what’s going on in order to help encourage them to join. SimplePress handled this situation just fine, but in bbpress marking it as ‘private’ prevents anyone from seeing it. As a consequence I’ve had to set new forum members to ‘spectator’ for the time being, and create a new role (using Justin’s Members plugin) for the private club members. This doesn’t solve the problem, of course.
You can see it in action here where the Assignments Submissions forum is the members-only club. I’d like to make all the other forums public where logging in with FB, Twitter gives them immediate ‘contributor’ status, but only spectator on the Assignment Submissions forum.