Forum Replies Created
-
In reply to: Forum styling broken on category view
I haven’t taken a detailed look at your problem but you could try adding this to you functions file
//This function adds descriptions to the sub forums function custom_list_forums( $args = '' ) { // Define used variables $output = $sub_forums = $topic_count = $reply_count = $counts = ''; $i = 0; $count = array(); // Parse arguments against default values $r = bbp_parse_args( $args, array( 'before' => '<ul class="bbp-forums-list">', 'after' => '</ul>', 'link_before' => '<li class="bbp-forum">', 'link_after' => '</li>', 'count_before' => ' (', 'count_after' => ')', 'count_sep' => ', ', 'separator' => ', ', 'forum_id' => '', 'show_topic_count' => true, 'show_reply_count' => true, ), 'list_forums' ); // Loop through forums and create a list $sub_forums = bbp_forum_get_subforums( $r['forum_id'] ); if ( !empty( $sub_forums ) ) { // Total count (for separator) $total_subs = count( $sub_forums ); foreach ( $sub_forums as $sub_forum ) { $i++; // Separator count // Get forum details $count = array(); $show_sep = $total_subs > $i ? $r['separator'] : ''; $permalink = bbp_get_forum_permalink( $sub_forum->ID ); $title = bbp_get_forum_title( $sub_forum->ID ); $content = bbp_get_forum_content($sub_forum->ID) ; // Show topic count if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) { $count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID ); } // Show reply count if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) { $count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID ); } // Counts to show if ( !empty( $count ) ) { $counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after']; } // Build this sub forums link $output .= $r['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after']; } // Output the list return $output ; } } add_filter('bbp_list_forums', 'custom_list_forums' );In reply to: Missing Topic IntroWhere in the thread does it say this is a UAM issue?
I did 7 posts ago ! – ‘Anyway one for the plugin author I’m afraid !’
Did you do the checks that Stephen suggested ?
I am pretty sure it is the same problem… If the plugin you are using marks the post ‘private’ (you can confirm this by looking at the post in the wp_posts table, if the post_status for the topic is private then this is the same issue.
Not a definitive guide but if you are logged in and you are the topic author who authored that topic I expect you will find that they can see both the topic content and the follow up reply.
and what results did you get?
In reply to: Missing Topic Introsorry this is an issue with the UAM plugin, so as stated you’d need to refer the issue to them.
In reply to: Setup bbPress as a standalone WP installIntegration is not an option for us, as explained in my original post.
was just trying to help by giving you a test site that you could fix the issue in – only an option 🙂
therefore yes you are doing wp and bbpress on a sub-domain, should work quite easily !
In reply to: bbress custom fields, auto-populate topic contentDo you want me to include the bbpress custom fields code?
yes please !In reply to: Newby a little lost‘Do I have to change the format (ie: NOT full page) in order to see the sidebar?’
Yes !In reply to: Moving bbPress Edit profile formsI’m sorry but I know nothing of buddypress, but I thought you wanted your page to look like the bbp profilepage, and that simply uses code to create the urls hence why I quoted them !!
If you just type these urls in, they work, they don’t need any code.
so what happens if you just rename the form-user-edit.php to settings.php and drop it in the right directory?
In reply to: Sticky thread Issuesthat was quick – glad you’re fixed !
In reply to: Newby a little lostNow you’ve got it full width, you may decide that actually you want a sidebar, but one for your forum that includes logon, register etc.
see
In reply to: Sticky thread Issuesyes,
add this to your functions file
//This function adds the words sticky before the title function bbp_sticky_display () { if(bbp_is_topic_sticky()) { echo '<span class="sticky-display">' ; echo 'Sticky Topic' ; echo '</span>' ; } } add_action ('bbp_theme_before_topic_title', 'bbp_sticky_display') ;and this to your style.css
#bbpress-forums .sticky-display{ background: none repeat scroll 0 0 #5BB75B; color: #FFFFFF; display: in-line; padding: 5px; }you can change the words and styling to suit !
In reply to: Moving bbPress Edit profile formsYes, we will get there, but I’m not totally clear on how you are doing your bit, so am struggling to help !
‘I’m not sure what you mean by calling each by their url. ‘
Basically if you hover over the links in the profile page you get
profile http://www.mysite.com/forums/users/%username%/
topics started http://www.mysite.com/forums/users/%username%/topics
replies created http://www.mysite.com/forums/users/%username%/replies
favorites http://www.mysite.com/forums/users/%username%/favorites
subscriptions http://www.mysite.com/forums/users/%username%/subscriptions
edit http://www.mysite.com/forums/users/%username%/editwhere %username% is the username
so if in your coding you already know the username, then you can simply put these usls on your landing page.
alternately you can just call the forum-user-edit.php from your page.
What I still don’t understand is what ‘page’ you are trying to do this one.
is this what you are describing as the template file? and which file is that and is it a php file?
Sorry if I’m sounding thick, but come back and I’ll try and help further
In reply to: Per Forum Permissions by Group@smileyriley21 did this do what you needed? latest version is at
In reply to: Moving bbPress Edit profile formsok, you could just call each by their url
or if you know the username you could call the form from within a page using the ‘insert php’ plugin
https://wordpress.org/plugins/insert-php/
then
[insert_php]
$user_id = whatever you used to get the user-id
$filelocation=”wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php”;
include($_server[‘DOCUMENT_ROOT’].$filelocation);
[/insert_php]In reply to: How do you put the "My Profile" link on the menu?great, looks like a solution !
In reply to: Newby a little lostYou nee to get bbpress to use a full width page template
see
In reply to: bbress custom fields, auto-populate topic contentThis looks like it would be really useful to some people.
Can you post the whole solution, inc. the javascript? so that people can just copy/paste and then amend.
In reply to: Setup bbPress as a standalone WP installThere should be no reason they won’t integrate.
However the first thing you should do is create a test site see
https://codex.bbpress.org/creating-a-test-site/
The you can do everything without any pain !
From what you describe, if you really want to go to a separate route, then the simplest route is for you to have two domains the primary and a subdomain. On the subdomain you would install wordpress, and the same theme as your main site and then add bbpress, put the files in there. As you then say, you’d just call this subdomain from your main site.
In reply to: Hello from Japan! How to remove the anchor tag…you will need to filter two functions
1. bbp_get_forum_freshness_link
2. You will need to amend the freshness function
I have no idea how into coding you are, so come back and let me know so that I can help you further
How much php do you know
do you know how to edit files
do you know how to ftphttps://wordpress.org/plugins/bbp-private-groups/
would get you further than the members plugin
With this you could have
5 forums fully visible and useable
by not setting any restriction on them1 forum set to restrict to say group 1 called ‘members’
and
all ‘members’ participant users of group 1 ‘members’
all other users are just participants with no group set.Then set forum visibility
All forum users would see that all 6 forums exist. They would also see all the topic listings, but if they clicked a topic, they would get a message (which you define, maybe sending them to say a sign up page).
so it would make the forums and headings of topics visible, but not the content of topics.
Best I can do without coding !
Different access levels to different forums is not within the core product or my private groups plugin. I’m am struggling without some bespoke coding to think how you would achieve this.
In reply to: Newby a little lostNo that (apart from the fact that you did forum 2 twice!) is exactly what I expected to see.
Now categories are areas where you group forums together, but categories have no topics inside them, they are just a “header” if you like.
Forums have topics, and forums can also have sub forums again with topics.
So I think for what you want, you should just have several forums (like forum 3) with no parents, then they will list straight away in your forum tab, and stop that extra click that you wanted rid of.
Come back if that is not clear
In reply to: Newby a little lostok, I think you basically have forums and categories a bit mixed.
Forums tend to belong to categories, rather than as you have, so I would get rid of the forum called “forums”
Then change the ‘Category test’ category to have no parent
Then set up a forum called forum 1, and put it’s parent as ‘category test’
Then set up a forum called forum 2, and put it’s parent as ‘category test’
Then set up a forum called forum 3, and put it’s parent as ‘none’You should now be able to click the menu and see category test with 2 forums belonging to it, and a 3rd forum that exists in it’s own right.
Do you intent to have more than one forum, or just one forum with all topics in that?
In reply to: Newby a little lostNo, it is part of forum rules that we don’t get involved in access to individual sites.
But if you come back with the info, then I’ll try to help further
In reply to: Freshness bbpressok, I think your best bet is to start a fresh topic called something like “conversion from phpbb issues” and repeat the text of your first post.
I would then hope that Stephen Edgar who is the conversion expert will pick this up.
He’ll probably not spot this post as it now is quite long
In reply to: Freshness bbpressok, though I suspect you have already done so, can you run ALL of the forum repair tools – although only one at a time !
The come back and let us know if that fixed or not