Forum Replies Created
-
To edit the templates make sure to copy the files from the bbPress plugin into your child theme in a folder called bbpress.
In
content-single-forum.php
remove this to remove the forum subscription link.<?php bbp_forum_subscription_link(); ?>
In
user-subscriptions.php
, remove all of this.<h2 class="entry-title"><?php esc_html_e( 'Subscribed Forums', 'bbpress' ); ?></h2> <div class="bbp-user-section"> <?php if ( bbp_get_user_forum_subscriptions() ) : ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php else : ?> <p><?php bbp_is_user_home() ? esc_html_e( 'You are not currently subscribed to any forums.', 'bbpress' ) : esc_html_e( 'This user is not currently subscribed to any forums.', 'bbpress' ); ?></p> <?php endif; ?> </div>
In reply to: Redirect from page to profile url (menu link)Should be also possible to make new menu items via functions to one of the menus created in backend design -> menu, right?
Maybe? maybe do something similar to what Baw login/logout menu uses, but I haven’t dived deep into this yet.
The way your code looks is a little odd, you might have to construct it similar to what I posted above.
This is what I made while messing with it, there could be a different class that your theme uses for sub-menu’s though.
add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' ); function my_nav_menu_profile_link($menu) { if (!is_user_logged_in() && $args->menu->slug == 'mobile_menu') return $menu; else $current_user = wp_get_current_user(); $user = $current_user->user_login ; $class = 'sub-menu'; $profilelink = ' <li><a href="/forums/users/' . $user . '/">Your Profile</a> <ul class=' . $class . '> <li><a href="/forums/users/' . $user . '/replies">Replies</a></li> <li><a href="/forums/users/' . $user . '/topics">Topics</a></li> <li><a href="/forums/users/' . $user . '/subscriptions">Subscriptions</a></li> <li><a href="/forums/users/' . $user . '/edit">Edit Profile</a></li> </ul> </li> '; $menu = $menu . $profilelink; return $menu; }
In reply to: bbCode toolbar with markItUp! editorThere is a toolbar plugin which is quite old. Just so you know if you plan to fix it up, you might as well structure it out better, because with all of its inline javascript it will add about 3 seconds load time to your site.
There is also a way to hook up other toolbars that could be just for bbcode into bbpress also.
In reply to: bbCode toolbar with markItUp! editorThis topic was way back in bbPress v1, so nothing is good for this current version.
There is a way to use shortcodes (bbcode) as long as they are whitelisted for users in the quicktags toolbar but this would require some editing of some javascript.
You can also use the TinyMCE toolbar, adding bbcode to this would be more difficult then editing the quicktags toolbar.
In reply to: Importing from WBB4Could be the importer code.
Is there anything else you can spot that is different between WBB3 and WBB4?
In reply to: Why Should One Add bbPress to BuddyPress?BuddyPress use to have bbPress in it as a module before, and there are some tutuorials on the web saying BuddyPress as a forum solution because of this. The way how it is now bbPress is just forums and BuddyPress has features like Facebook/twitter without a forum module in it anymore.
They just installed that way and I believe it changed my permalinks from custom post to subject. I literally cannot find a huge group of posts now.
But what exactly changed? What were your permalinks before and afte? Make sure to show a full url example. You of course do not have to put your actual site link, use something like example.com
In reply to: Forum to sit inside WordPress pagesYou modify the template bbPress is inheriting from your theme. Use what the file and go to the page with the forum index shortcode to see which template has the banner in it, then go to other bbPress forum pages to see what template bbPress is inheriting by default.
A step by step is pretty difficult since all themes are different.
If you really want the banner, use what ever template that is coming from.
The first issue I’ve got is when you click ‘Forum One’, it shows the message, ‘This forum contains 1 topic, and was last updated by…” but doesn’t actually show the topic.
Try some troubleshooting, try a default theme to see if the issue is present, you should also try leaving only bbPress active to see if could be a plugin issue.
I think you can hide the forum subscription link if you want? It might be better to remove the code in the template. You might also have to remove the Subscribed Forums in your subscriptions section of your profile.
alright if it is out of those plugins I will probably just get one and that is the direct quotes, plugin. Take some features from the vip support forum plugin, and maybe just fork the new topics plugin into a seperate new plugin with the code improvements and post that on wordpress.org.
In reply to: Split: Can’t Create Topic in ForumsHere I made a topic for you, just for this issue.
Take a picture of the error message you receive when you cannot create a topic.
I will try to see if I can duplicate the issue on my local development area of the latest alpha, to see what I come up with..
Dont want to talk about design and style. It would ruin all from my title.
But yes, bbPress is ugly as hell when installed and takes lot of time to design. Better to keep written notes what you do and how, to be able to use it next time.email me then, I actually do want to talk about design.
Dont know what to say about buddyPress serving as “Jetpack”. I like to install buddyPress along with bbPress and think they do better with design. Guess it is up to them, will they be standalone WP plugin or serve as filling gaps for bbPress.
Really just design? Only design I can think of is the companion stylesheets? Other than that it has a plain layout look like bbPress. Not the groups, @mention autosuggest, members page, attachments api, more advanced profile fields, ability to change/crop avatar?
Back to your question. Cannot point exactly what is hard for begginers and users. It is all small bits and parts making it difficult. Even to me is hard and takes lot of time to have one bbPress forum ready for live server.
Guess it is huge amount of time spent searching on Google and forums howto. I made those mistakes on my first 2-3 instalaltions and noticed it is impossible to continue this way. Now I have searchable and filterable database with bbPress, buddyPress snippets. Just for bbPress circa 150 of them and some tutorials. But not many people will do this. When they spend half day searching on Google how to solve something they will simply go to phpbb, SMF forum and it is one user less.It is easy to get a bbPress forum set up. It will definitely get hard to make bbPress work like other forum solutions? It would be pretty difficult to make something like phpbb turn into something like discourse for example.
Most of this time lost is fixing and tweaking third party plugins, using their adapted code in functions.php, etc.
What plugins? Tell me what plugins to adopt if you need to fix them? Email me this too.
In matter of fact price of one bbPress installation and customization goes easy to level of one very advanced web shop. Only know it is not sustainable and should not be this way.
Dont want to talk about money, just took it as example of how many hours and days bbPress takes to be finished and looks professional.
Yeah this would probably be level of skill vs cost for time to do it. It is easy for me and I might say I have a moderate level of skill. This is just my opinion though.
In reply to: How to add a “New Topic” Button and Page?That way of doing might be custom development for now. Might be built later because it is heavily requested.
In reply to: Topics accessible to certain users onlyhe replies should be hidden
-if logged out
-if logged in but not subscribed to the specific topic.could be easy for just logged out, might need show lead topic for replies (maybe).
In reply to: Change meta/page title for user pagesok will test it out/ see if I can translate it.
Because I see potentioal and how WordPress self can make bbPress powerfull. Or buddyPress, I install it all the time together.
I know a lot of users who ask for more features like other forum solutions are like this because they all do see potential.
But, one thing is very specific for bbPress. I would not dare to touch it as average User, who installs and setup phpbb or SMF forum without big problems. It is extremely hard for beginners
In what ways is it difficult? Is it anything about user experience, or from just going from one to another?? Any ideas to improve it for beginners?
At least take those 10-12 plugins from Github and put them in WP repository. Dont ask developer, it is GPL. Developer had 2-3 years or more to decide to do it byself, and he did not wanted it.
Problem there is notification about updates.
Just one example, lost many hours to see why Live preview stoped to word and by chance checked on Github versions. If it was in WP repository I would be notificated directly there is an update for it.There is some plugins on Github but that doesn’t mean everybody should use them. Some plugins on github were made from developers from jobs they did for people(might contain specific db table names for a specific site), are just some custom plugins they use on their site(might contain several referances to a site), custom projects for themselves(just playing with stuff/learning development). There is a difference between building a plugin for yourself, and building a plugin for everybody to use. When you begin to build one for everybody to use, you definitely take into consideration some plugin conflicts that might happen(I think GD bbPress attachments and bbp live preview comes to mind). There are some plugins on there that actually should be considered to be on WordPress.org, so I will keep that in mind.
Just to not be missunderstood. I personally dont have any problem whatsoever with this list above. Implemented with help of code tweaking and those plugins all of this. And much, much more. All except proper Polls. For this I cannot find a solution.
The polka polls plugin is the best plugin for polls for bbPress. It does require use of shortcodes, I do not think you have to whitelist the shortcode or anything, I think it just works. I guess it could get inspired from some ideas of the bbPress polls plugin for v1 that _ck_ made.
I am not telling about design, despite this too is hard for Users beginners to tweak.
Please say any issues you might have on this, I have ideas for users to make design for theme compatibility easier.
Github should never be primary source of plugins. Additional OK, but only and one never.
I know there is a plugin that makes updates from Github possible, but demands some lines added by author in plugin self.It isn’t, any plugins listed on the featured plugins list are really just plugins that might have functionality similar to what might be suggested to core. Github was never really a plugin repository for WordPress, mostly development. Some of the information why some plugins might not be in what I already said above. Plus some plugins were pretty neat not to leave in.
Something like Jetpack for bbPress would be a killer, perfect. But I do understand when you say there are not many developers of bbPress. Wish just you start discussion about it and report back to us how it went. Jetpack probably started with few developers, and with years come to number of 46. It doesnt have to start great, developers are attracted later to all good staff by itself.
Do you know what all those names behind Jetpack say to me ? Not in the first hand anything about code quality, but about security. I know it will flow huge amount of years before this plugin is abandoned. And with all new WP versions they adapt code before new version get out.If we are talking about Jetpack as a plugin full of features, then BuddyPress could be something like that. There is also another plugin but it is paid (has minimized free version) that has several other features like bbcode, attachments, quotes. Creating another plugin like that I will keep in mind.
In reply to: Please Help – Forum order ProblemI don’t think you need to just start over like that.
Can you post a link to your site? did you try the order function for regular WordPress pages to see if it is functional?
In reply to: Please Help – Forum order Problemcan you order your other site pages okay??
try some troubleshooting first
You can try but really I don’t think there is an alternative.
In reply to: Please Help – Forum order ProblemThere should be a clear cache button at the top of the WordPress toolbar. I suspect it to be just page cache so just clear that.
In reply to: Say hi to RobkkI gets all the love haha
In reply to: Logout Link Redirects to TopicWhat happens if you logout from the WordPress toolbar, which has nothing to do with bbPress?? If you come across the same issue something is just redirecting you.
You might have to do some troubleshooting
<?php bbp_logout_link(); ?>
pretty much useswp_logout_url{}
in WordPress.https://codex.wordpress.org/Function_Reference/wp_logout_url
In reply to: Topics accessible to certain users onlywhen “hidden” the whole forum containing non subscribed topics is hidden which also takes the possibility to subscribe to a topic at all.
hidden forums are only accessible to Admins and Mods.
when “private” it removes the reply form if a user is not subscribed (for admins, too).
replies of a topic are still viewable.I will update my gist file to show the reply form to Admins/Mods so they do not have to subscribe.
The replies to a topic being viewable I am not really getting? In what circumstance do you want the replies to be hidden??
In reply to: Modal login pluginYeah you do not have to use the plugin in that codex page, its not like it is recommended or anything it is just a user submitted guide. That codex page will likely show an example using CSS or a lightbox when I am done with it. But yeah there are tons of plugins that add a modal popup login.
In this reply to a topic, I list a bunch of alternatives.
In reply to: Redirect from page to profile url (menu link)now for the mobile navigation I need to get all profile pages into the main menu, too.
This might be custom development.
followed this which also uses the add filter above, but did not get it to work: https://bbpress.org/forums/topic/user-porfile-page/
Does it just not show up?? I am starting to think you have some fancy slideout mobile menu and you want the profile link to show up there?
1. links don’t work. on profile page no nicename is used. and the created menu links give a 404page as the username is not inserted.
Does the login widget with profile links not work?? or does the actual links on the profile not work?
2. cannot set the location of profile page as submenu item.
This might be a little tough. I think you have to construct a small menu, but it may not work well with your header menu for example. And also if you decide to put just a sub item under something you constructed in the menu section in the backend of WordPress.