Forum Replies Created
-
In reply to: Can you make a role to subscribe a forum?
the update_option bit stops it being run more than once.
so to run it a 2nd time use
$list = get_users(); if (empty (get_option ('rew_done2')) { foreach ($list as $user) { $user_id = $user->ID ; $forum_id = 3 ; bbp_add_user_forum_subscription( $user_id, $forum_id ) ; } update_option ('rew_done2' , 'done2' ) ; }
In reply to: Reply and edit post buttons not workingyes you should be able to change in the child theme.
In reply to: Reply and edit post buttons not workingmaybe a theme css issue – try changing themes as a test.
@momomoko sorry only so much I can do for free – this is not a bug in bbpress or an easy ‘how to’ – you’ll need to work it out
@nayanboost – what url do they take you to ?
this (changed) code from my plugin may help you create a link
`$text=__(‘Profile’, ‘bbp-style-pack’) ;
$class=’bsp_button1′ ;
$current_user = wp_get_current_user();
$user=$current_user->ID ;
echo ‘<a class=”‘.$class.'” href=”‘ . esc_url( bbp_get_user_profile_url( $user) ) . ‘”>’ . $text . ‘</a>’;`bbp_get_template_part( ‘user’, ‘topics-created’ )
will use the template ‘user-topics-created.php’ – basically you put all the words together to make the file (that just how wordpress does it!)
These templates all sit in the same directory as the content-single-user.php file.
In reply to: Freshness wrongno problem !!
In reply to: Is this normal registration behavior?yep !!
some bits of WP are really annoying !!
so have you essentially done this
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-user.phptransfer this to your pc and edit
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/content-single-user.phpbbPress will now use this template instead of the original
In reply to: edit profile notify checkboxok, glad you are fixed
In reply to: Forum in already restricted access portal?bbpress just uses WordPress login, so if your users have WordPress access (eg subscribers), then they will get the bbpress default access (or you can manually set this up).
you then set each forum as ‘private’ and it’s existence is then only seen by subscribers
In reply to: Forum structure questionI am looking to put announcements/notices above the listing of forums.
sorry, I’m confused – so exactly where? – can you mock up please
Preferably, I would like these to be Super Sticky posts instead of just notices but could work with that.
now you’ve confused me – if you make them super sticky posts, then they will appear as the top post in each forum – if that satisfies, then you don’t need anything further.
In reply to: edit profile notify checkbox<p> <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe"> <label for="bbp_topic_subscription">Notify me of follow-up replies via email</label> </p>
In reply to: edit profile notify checkboxsorry – my style pack is in play – 2 minutes and I’ll come back again
In reply to: edit profile notify checkboxmy code in that area is
<p class="bsp_topic_subscription_reply"> <input name="bbp_topic_subscription" id="bbp_topic_subscription" type="checkbox" value="bbp_subscribe" tabindex="102"> <label for="bbp_topic_subscription">Notify me of follow-up replies via email</label> </p>
In reply to: edit profile notify checkboxCan’t see it out of place on my test site
bbpm_notify looks like the notify plugin? strongly suspect that is the issue.
otherwise
particular browser?
tried changing themes (as a test) to see if it is theme related?In reply to: Threaded Replies Not Indentingok, it probably doesn’t work for lots of nested then.
It is a known error with bbpress and there is a trouble ticket lodged for it
In reply to: Freshness wrongok, this version has an issue with last active
so until a formal fox is released..
once activated go to
dashboard>settings>bbp style pack>bug fixes and tick Fix Last Active Time
In reply to: Forum structure questiongreat
In reply to: Allow user to post same post in different forumsmoderators already have this ability
In reply to: how to auto publish forum topics and repliesby default bbpress does not require approval – they should just publish.
So either you have another plugin doing this (eg bbpress notify) or your comment moderation is set to tight – look in
dashboard>settings>discussion and check the befor a comment appears and the part below where the no. links allowed in a comment and the words that are allowed.
In reply to: Freshness wrongsorry which ‘update’ did you run ?
In reply to: Forum structure questiononce activated go to
dashboard>settings>bbp style pack>Forum Display enable item 6 forum description.
Then in
dashboard>forums>edit forum in each forum you can put in the content part whatever you want to appear. in your case the same description for each forum, but you can have a different.
Finally to get this on the main forums list, create a page called ‘forums’, and put your description at the top of this. Then add the shortcode
[bbp-forum-index]
to this. bbpress will then use this as the main forums page.In reply to: Threaded Replies Not Indentingonce activated go to
dashboard>settings>bbp style pack>bug fixes
and enable the Fix Threaded Replies Jump
In reply to: The profile name is not visible inlooks like bbp_title is not working for users.
the code is called by a filter in
\bbpress\includes\core\filters.phpwhich is
Line 43:
add_filter( 'wp_title', 'bbp_title', 10, 3 );
the function bbp_title is held in
\bbpress\includes\common\template.php
and the function starts at line 2578.
I may get a chance to look further tomorrow (or maybe not!), but if you fancy having a look. The function has a filter at the end, so if you can work out what’s wrong, should be easy to add a fix