Search Results for 'code'
-
AuthorSearch Results
-
July 30, 2014 at 6:55 am #149920
In reply to: moderating bbpress
Stephen Edgar
KeymasterSee https://codex.bbpress.org/moderation-and-blacklisting/
And if you are looking for either registration or topic/reply captch check out the plugins available as there are a few that do registration and at least one for captcha topics/replies:
July 30, 2014 at 6:51 am #149918Stephen Edgar
KeymasterMuch of what happens when the ‘moderation’ is triggered from comment moderation has not been added to bbPress until the code I’ve added recently.
If your comfortable with PHP you could take a look at what I have thus far in the following tickets:
This first one handles post of what is coming for moderation:
https://bbpress.trac.wordpress.org/ticket/2645This second one is for the template to notify the user that there topic/reply is pending moderation, I haven’t started on this due to needing to implement everything in the above #2645 first, now that I got most of the code finished for that yesterday I plan on looking at this in the next few days.
https://bbpress.trac.wordpress.org/ticket/2589
Keep an eye on those tickets and that should give some hints of what is happening.
July 30, 2014 at 6:44 am #149917In reply to: Forum slug troubleshooting
Stephen Edgar
KeymasterYou cannot have both the ‘forum root’ and ‘forum slug’ the same as you have seen in that you get a ‘slug conflict’ warning, I’d suggest you leave the ‘forum root’ slug as
travel-forumsbut change yourforum slugback toforum.To check the ‘trash’ visit your ‘posts’, ‘pages’, and ‘forums’ sections in WordPress and you should see if you have any posts, pages, or forums in the ‘trash’ (or bin if your using English UK WordPress language packs).
Have a look at those and let me know how it goes.
July 30, 2014 at 6:38 am #149915In reply to: Forum subscriptions
Stephen Edgar
KeymasterEmails previous to bbPress 2.5.4 were sent out out to each recipient email individually (one email per user), since bbPress 2.5.4 we now only send a single email with all the recipients as BCC (Blind Carbon Copy) and all emails are sent using as you state a default email address of
noreply@domain.tld.bbPress also works fine to send emails with many of the WordPress mail plugins and should work as we are using WordPress’
wpmailfunction to send them.July 30, 2014 at 6:16 am #149910Stephen Edgar
KeymasterSee https://codex.bbpress.org/moderation-and-blacklisting/
The above document outlines the different behaviours between adding the ‘bad word’ to the ‘blacklist’ or ‘comment moderation’ sections and what the users see, in the next release of bbPress there will be a notice if the ‘bad word’ was added in ‘comment moderation’ and the user will know that there submission is pending moderation, the blacklist behaviour will not be changing.
July 30, 2014 at 6:12 am #149909In reply to: Import forums from localhost
Stephen Edgar
KeymasterOpen up your punBB
config.phpfile, it should be located in the root folder of your punBB install and should contain something similar to this:$db_host = 'localhost'; $db_name = 'import_punbb'; $db_username = 'root'; $db_password = 'root'; $db_prefix = 'punbb_';That table prefix
punbb_is what I suspect is incorrect.July 30, 2014 at 6:10 am #149908In reply to: Import from phpBB comes back empty
Stephen Edgar
KeymasterI see you do not have a database table prefix in your settings?
Check your phpBB database tables, most likely they have a prefix of
phpbb_Here is a snip from my phpBB database, as you can see the database is named
ntwb_phpbbv3and all my tables have a prefix ofphpbb_, check what your database prefix is and try adding that to your settings.
July 30, 2014 at 5:46 am #149904In reply to: My impressions so far
Stephen Edgar
KeymasterThat ‘warning system’ will remain plugin territory for a while even though I have a specific use case that this is important for it, it will still remain that way for a while, just because the functionality CAN be performed does not explicitly mean that it should be included with bbPress core.
As I mentioned above ‘Featured Plugins’ will most likely evolve to become a more refined list and the power and flexibility of bbPress allows us to do this without forcing/giving every user the ‘kitchen sink’ just because we can.
“bbPress is forum software, made the WordPress way.” and just like WordPress’ philosophy we are making “Decisions, Not Options”. And for example this decision extends to user profile custom fields, if you want these for post authors in WordPress, you look to a custom function or plugin, bbPress is the same, a custom function or a plugin.
bbPress utilizes WordPress Template Hierarchy to allow sites, theme authors and plugin developers to make amazing forum sites powered by bbPress and simply creating a set of pages that work with all the themes out there is not a one size fits all, some themes use tables, some divs, some unordered lists, responsive, non responsive, the combinations are endless and as said we try our best to ensure template compatability but removing the flexability just to limit designers and developers to no longer have these options available to them is something I doubt we will change for quite a while. We would like to include an additional set of default templates in bbPress, but that’s another project we just have not got to yet, bbPress already fully supports numerous templates though currently it only ships with one set.
I come from a phpBB background and have spend many weeks in ‘other’ forums databases whilst supporting the ~25 importers included with bbPress, the current way the WordPress database schema is structured is partially a limitation on what options we have available to us and still keep bbPress light and compact without adding new tables to the database.
July 30, 2014 at 5:33 am #149903In reply to: bbPress Codex
Jimi Wikman
Participant@robin-w I will happily assist with graphic design, UX and frontend code when time permits. Not sure what you need though, but I could start with making some design suggestion for BBPress itself and something about the documentation to make it more accessible?
I also have some suggestions for the website itself if that would be of interest, but I need to understand more about the BG’s you have first and also familiarize myself better with both the websites structure and the WordPress “way” before I want to attempt that. No need to make a flashy design if it does not improve anything or goes against the standard process. Worse yet if it does not focus on your business goals and make a mess of things π
@netweb I look forward to your arrival on Github. I think it’s a nice move πI am all for communication between developers, in fact I would say its a requirement for managing a development project like this with developers all over the world. I would not use IRC though, I would use something like HipChat (especially integrated in Jira and confluence so I get SVN information, ticket escalation and new documentation notices among other things). HipChat is free and it’s extendable with WordPress, Twitter, Github and more.
July 30, 2014 at 5:18 am #149901In reply to: bbPress Codex
Stephen Edgar
KeymasterSpeaking of IRC #bbPress on Freenode π Details here: https://codex.bbpress.org/participate-and-contribute/, that said I see where you are coming from though I am one who thinks this is a good thing, being able to ‘chat’ with developers is a very good thing, everything is logged for openness and transparency and everything is backed by tickets and tracing in Trac.
Onto participation, bbPress will has a presence on GitHub https://github.com/bbpress and very shortly we will have our code base synchronized there and how we utilize GitHub for participation will be no doubt an evolving thing, first we’ll get the code sync’d and then look to see how that goes and go from there.
July 30, 2014 at 4:36 am #149898In reply to: bbPress Codex
Jimi Wikman
ParticipantOf what I have seen BBPress is a tight ship when it comes to code quality and extensibility, so I have no doubt that the code is outstanding in every way. That is also one of the reasons I think it’s a shame not more people are using BBPress.
I understand the reasons behind using Trac and trust me I have been in the same situation many times π I do think it’s important not to accept a standard because its a standard, especially not one that could be improved upon. I know that it’s difficult to push for a change in WordPress, but if the tools don’t improve the workflow and encourage participation, then it should be replaced in my opinion.
Still, it’s not my call but I know some very skilled people that are discouraged from helping out with WordPress because of the lacking tools and the feeling of being back on early 2000 when they see meetings taking place on IRC π
July 30, 2014 at 4:24 am #149897In reply to: My impressions so far
Jimi Wikman
Participant@netweb I appreciate the long list of answers and I like what you post π
For the warning system you can see it in action on IPB and it’s basically a system that allow for moderators to issue a warning for bad behavior. This can be accompanied by a temporary ban, forced into moderation or an outright permanent ban.

User warning system allows custom sanctions
When troublesome users make themselves a nuicance, IP.Board provides a range of tools to help staff deal with the situation. The user warning system enables sanctions to be issued, ranging from a simple message sent to the user, right up to an outright permanent ban. Other options include a temporary suspension, or putting the user in the moderation queue, requiring all of their topics & posts to be approved by staff before they’re shown.
—
Is it really so difficult to make it so BBPress create pages for all areas of the forum? Rather than using a template each area have its own page and can take advantage of all the features of a page? That way it would never be a problem to setup pages to be full width, what sidebars to add on the forum index or inside a forum, or even a thread?
I am not familiar with the code, but if such a thing could be done, then that problem would no longer exist?
—
Custom fields should not be something you ask the users to go inet functions.php to fix, that is way to complicated for the majority of the users π—
Post and topic indicators, have you talked to other forum developers like IPB and VBulletin about how they have solved this? I mean IPB have forums with tens of million topics and tens of thousands of users that are all working well even with this turned on?
July 30, 2014 at 4:20 am #149895In reply to: bbPress Codex
Stephen Edgar
KeymasterBreadcrumbs are now implemented in the docs, both breadcrumbs and in page navigation, this will be added to all the docs as each is updated π
e.g. https://codex.bbpress.org/participate-and-contribute/
From a technical perspective bbPress is highly admired and often receives kudo’s for the actual code documentation so we are part way there. π
I haven’t used many systems but Trac did indeed take a while to wrap my head around.
One of the benefits of being a ‘sister project’ of WordPress is we follow and adhere to many of the same principles as WordPress in both code and the tools we use so much of what is listed in the WordPress Core handbook is identical to bbPress so resources such as there handbook are also relevant to bbPress, we just need to link and/or copy/paste this content for our own purposes.
https://make.wordpress.org/core/handbook/July 30, 2014 at 3:40 am #149893In reply to: My impressions so far
Stephen Edgar
KeymasterThere’s some nice feedback up there, thanks π
.WYSIWYG for input field. I know there is a plugin for it, but it should be in core and you should have the option to turn on and off in admin.
With the new TinyMCE added in WordPress 3.9 and further improvements coming in WordPress 4.0 I am keeping an eye on this and due to several incompatibilities we had when we previously had this as a bbPress option there is a bit of work to be done here to not make it a crappy experience if we do add it back as a bbPress option.
.Organisation for forums. Forum grouping has been a standard since 1999.
Yes π
.Topic and forum indicators for new topics. Finding new topics should be at a glance.
There are a couple of plugins that do this, you can see the list here https://codex.bbpress.org/feature-plugins-tracking/. One of the issues with this feature is for larger sites is WordPress’ database performance and is one of the reasons we haven’t gone down this road yet, once a plugin can do this without crippling larger sites we would definately take a closer look.
.Moderation should be available for all forums individually and on a board basis.
This will be in bbPress 2.6 https://bbpress.trac.wordpress.org/ticket/459
.Permission masks per usergroup to control who can read, reply and post in different forums.
Once the previous ‘Forum Moderation’ is shipped as part of bbPress 2.6 we can look to extend that functionality further to encompass this.
.Content approval for new posts and to take individual posts offline for review.
This is also coming in bbPress 2.6, see https://bbpress.trac.wordpress.org/ticket/2645
.Warning system for handling member mayhem.
Not sure what this would entail, I get what your saying, I suppose the current way to do things is block/ban the user though you are suggesting there should be a way to handle/have some way/form of communicating with said user. (See private messages below)
.Report center where moderators and admins can handle reported threads/posts/members.
This is mostly also handled as part of https://bbpress.trac.wordpress.org/ticket/2645
.Private messages should not require Buddypress. It should be in BBPress.
I’m not 100% sold on this idea that bbPress should include this, with that said though, as per above a way to ‘communicate’ in some form either with the moderators (or in this use case other users) I have an idea for this, how exactly it would implemented I’m not sure of just yet but the idea is there, just need to get some time to give it a try and see what happens π
.Custom Profile Fields should not requires Buddypressβ¦
Custom profile fields do not require BuddyPress, bbPress 100% fully supports custom profile fields as part of WordPress ‘Custom Profile Fields’.
https://codex.wordpress.org/Plugin_API/Filter_Reference/user_contactmethods
https://gist.github.com/ntwb/c70caf5a0aa9d3062a6d.Notifications should not require Buddypressβ¦
I think I am with you here…
.Buttons to take actions at the top of the thread and post is also standard since 2003.
The following ticket covers half of this, firstly for accessibility issue, most likely this will extend to include links.
.Out of the box functionality so there is no need to create additional pages like bbpress.php to actually make things look the way you are.
This is near impossible, with the ~2,000+ themes in WordPress’ theme repo we cannot support this many themes yet alone when we start counting the number of commercial themes available. We do our best to have template compatibility with as many themes as we can and think we work ‘out of the box’ on more themes than we don’t.
July 30, 2014 at 2:58 am #149890In reply to: My impressions so far
Robin W
ModeratorJimi,
Nice to have you aboard, and I hope that you’ll help in improving bbpress. More UX help is welcome.
I think bbpress users split into two groups.
1. The users that just want a simple forum as part of their web.
Those that visit the support forum usually only need a couple of changes. this is the vast majority of bbPress users
Biggest issues for these are
getting it working with their theme – usually because the theme has a highly complex page.php, and these users are not code savvy, and many don’t know FTP
registration and logging on – really a wordpress issue, but it’s the first time they come across needing to do this, as before they were the only user
Adding simple features – since each one varies these can only ever be bespoke, and again since these people are not code savvy you need to show them child themes and functions files first2. Users who typically want bbpress to look like someone else’s feature rich forum
They want all the features, look and functionality of another bb, but on wordpress. Some then complain on the forum that they don’t like the software, and why doesn’t it look exactly like xx, which is much better, much easier and has better documentation. Which kinda grates, and surely it would be better to complain to xx’s forum as to why they don’t make a version of their fantastic software to work on wordpress, rather than complain that bbpress’s software doesn’t look like theirs. This to me is a bit like complaining to Ford that their cars don’t look like Nissan.
The issue here is that bbpress is just a plugin, written by some guys to do forumy stuff. Like all software it could be better, the docs can always be better, but the philosophy of the somewhere is to keep it light.
So I s’pose the challenge is to help improve it so that it can work for both camps. So I really do hope you stay and add expertise, maybe go into the codex and improve the documentation – anyone can, but most don’t !
July 30, 2014 at 2:54 am #149887In reply to: bbPress Codex
Stephen Edgar
KeymasterI agree with and echo Robin’s sentiments above.
The plan is to update, including breaking up many of the current docs to separate sections based more along the lines of a “Table of Contents” similar to how BuddyPress have done in recent months.
You can see BuddyPress’ planned “Table of Contents” linked from https://codex.buddypress.org/ on Google Docs here.
So the plan will be for bbPress to go down a similar road as BuddyPress and WordPress with their upcoming handbooks (e.g. plugins, themes).
Again this is all a time thing and as always, contributions are always most welcome π
July 30, 2014 at 2:29 am #149885In reply to: bbPress Codex
Robin W
ModeratorI sense that there are more developers than UX people around here, am I right?
I suspect you are. There are probably less than a dozen ‘helpers’ who come on here to help others, and probably only 1/2 dozen regulars. I am not a bbPress developer, but have written several plugins for it, and enjoy the challenge of answering others’ Q’s.
Most bbpress users want it as a tool, so only visit the site when they have an issue or want it to do something. Once fixed they are happy and don’t revisit, and are highly unlikely to contribute to improving documentation.
The codex is a community project, and anyone can go in and help improve it. Amongst many others I have tried to make it more UX (user experience – I had to look it up !), but I have limited time, and lots of other commitments.
If you could outline a more useful structure I’d be all for it.
July 30, 2014 at 2:07 am #149884In reply to: Customizing "Reply To Topic" Area
Robkk
ModeratorAny luck finding out how this reply feature is accomplished?
@marximusmg i havent really dug into it ive been busybut heres is the show lead topic function , throw that code into your child themes functions.php
im sure all you got to do is add the call for the reply form code somewhere right at the bottom in the lead topic template.
I also would love to know how to (also seen on High Existence) implement the βreplyβ option on the top right of each post within the topic, which when clicked accordions out the reply form directly beneath that post.
they use threaded replies, so if you go to bbpress forum settings then click threaded replies you should get that.
July 29, 2014 at 9:07 pm #149880In reply to: Full Width Forum Help
Jimi Wikman
ParticipantIt’s because you still have the sidebar column in the code.
You can try to chase it down or just hide it with CSS. @aussiestar14 you can fix your forum by doing this:add a class to .content-wrap and set the width to 100% (I think if you do it directly on .content-wrap it will mess upp other pages?). Then create a class named .bbpress #sidebar-subsidiary and set display:none in it.
That way you hide the sidebar column and make the content stretch 100%
Hope that helps.
July 29, 2014 at 7:14 pm #149875In reply to: Show enhanced info in user's profile
Robkk
Moderatori know this is possible there is some function to display usermeta
webpage: there is a website field in contact details in bbpress profile , that i think it gets that from wordpress profile information and just displays it frontend.
about me: there is Biographical Info under About Yourself so its possible to call it using a display usermeta function i think.
send me an email: you can make a link with php inside of it so it would end up with mailto:(user-email), i dont know for sure if thats a safe way to do it though.
and you just put all that code and display on the frontend where the forum role and user stats are.
July 29, 2014 at 5:01 pm #149871Topic: Breadcrumb Issues
in forum Troubleshootingcbesett
ParticipantI’ve searched and seen others with similar problems but I’m still not sure why this happens or how to remedy.
1. I created a new page and added the Forum list shortcode. This works fine.
2. When you click into a forum it adds the “forums” as part of the breadcrumb. This links back to /forums.
3. When i go into settings and try to put the slug of my page from #1 that page no longer works.
4. if instead i create a page called “Forums” and put the shortcode in — that does not work.
5. yes, it’s fine if you just don’t click on the breadcrumb but that isn’t goodJuly 29, 2014 at 1:54 pm #149866In reply to: Full Width Forum Help
watstyl08
ParticipantI just used this code, to no avail. It causes an error on the site – check it out.
<?php get_header(); // Loads the header.php template. ?> <?php if ( is_bbpress() ) { ?> <header class="entry-header"> <h1 class="entry-title"><?php single_post_title(); ?></h1> <?php echo apply_atomic_shortcode( 'entry_byline', '<div class="entry-byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'spine2' ) . '</div>' ); ?> </header><!-- .entry-header --> <?php while( have_posts() ): the_post(); ?> <?php the_content(); ?> <?php endwhile; ?> <footer class="entry-footer"> <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms before="Posted in " taxonomy="category"] [entry-terms before="| Tagged "]', 'spine2' ) . '</div>' ); ?> </footer><!-- .entry-footer --> <?php } else { ?> <div id="content" class="hfeed"> <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?> <?php get_template_part( 'loop' ); // Loads the loop.php template. ?> <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?> </div><!-- #content --> <?php get_footer(); // Loads the footer.php template. ?>July 29, 2014 at 1:50 pm #149865In reply to: Full Width Forum Help
Robin W
ModeratorWhat I meant was change it, and then I can use some tools to inspect it and try to help give uyou the code to resolve. Unless I can see ‘full-width’ not being ‘full-width’ I can’t help !
July 29, 2014 at 1:47 pm #149864In reply to: user profile link giving a 404 error
Robin W
Moderatorok, did you filter to that code, or just replace it in the core?
July 29, 2014 at 1:46 pm #149863In reply to: Topic ID instead of slugs?
Robin W
ModeratorThanks for posting the result π I’ve note the code location in case this comes up again !
-
AuthorSearch Results
