Search Results for 'code'
-
AuthorSearch Results
-
September 3, 2015 at 8:41 pm #166263
In reply to: Member counter
Robkk
ModeratorThe user ID is created automatically. There might be something that might help you out like Reveal IDs plugin that will show the ID of each registered user on your site. I cannot find anything that will help you find the 1000th user easily yet. I might find a plugin/code snippet later today that might help.
September 3, 2015 at 7:18 pm #166259In reply to: Moderation words
Robkk
Moderatorthe patch might not be created right. I don’t think you create the patch from the plugin version but maybe the latest alpha version or the latest version you can download from the trunk using SVN.
You can download/download using SVN using the url from here.
Are you sure how you inserted the filter will not cause any issues?
I am specifically talking about how
$blacklist =both of these.$blacklist = trim( get_option( 'moderation_keys' ) ); $blacklist = apply_filters('bbp_moderation_keys', $blacklist);Here are a bunch of helpful guides that I am just going to drop here.
September 3, 2015 at 6:44 pm #166255Robkk
ModeratorTry some troubleshooting to see if it is a plugin or theme issue.
Also know that the visual editor was not activated by default because it started having issues. So it might be better to just use the quicktags toolbar.
Please explain on the formatting issue.
September 3, 2015 at 1:43 pm #166249yorcht
ParticipantHello, the shortcode [bbp-forum-form] force to choose a parent forum. No Parent option is not working. Either we allow the final user (not me) to accedd WP admin… or have to change forum structore. Any way to avoid this?
Thanks in advance!
JorgeSeptember 3, 2015 at 11:25 am #166247In reply to: How can I display search results differently?
1kan5
ParticipantThanks you Robert.S
Where do i have to put this code ?
September 2, 2015 at 9:15 pm #166237In reply to: How can I display search results differently?
Robert.S
ParticipantThanks so much Robkk.
I’ll take a look at those files, and see if any plugins might do the trick.
I am using some custom code I found *somewhere* (!! maybe here haha??) to include Forum results in general WordPress Search results, which works well enough, but of course this is from a site-search, not the BBPress search function.
Here it is in case anyone else stumbles across this thread and wants to extend WordPress searches to include Forum results (without adding a plugin):
/** * Include bbPress 'topic' custom post type in WordPress' search results */ function ntwb_bbp_topic_cpt_search( $topic_search ) { $topic_search['exclude_from_search'] = false; return $topic_search; } add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' ); /** * Include bbPress 'forum' custom post type in WordPress' search results */ function ntwb_bbp_forum_cpt_search( $forum_search ) { $forum_search['exclude_from_search'] = false; return $forum_search; } add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' ); /** * Include bbPress 'reply' custom post type in WordPress' search results */ function ntwb_bbp_reply_cpt_search( $reply_search ) { $reply_search['exclude_from_search'] = false; return $reply_search; } add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );September 2, 2015 at 6:33 pm #166230In reply to: My Ideas and Suggestions for BBPress
Robkk
Moderator1. Well yeah the cache staying not removing is the issue, it could be a bug in WordPress itself since that caches the oembeds. What peice of code did you use to fix this?
12. I couldn’t duplicate the issue on latest Firefox on W10 using the html5 blank theme.
Yeah I know, I bookmarked most of the suggestions for features for the bbPress plugin on this site, but if you are experiencing some kind of issue, then why not help out too.
What I got from you that could possibly make the bbPress plugin are.
option to turn off feeds.
add topic auto-suggestion (might be better for the forum search though)
Integrate some plugins like report content (maybe external links)
Export and import settings
View counter
Custom notices
Specific forum permissions
Avatar systemMost of the SEO things could be best to have in a separate plugin, or should be left to the theme and how it is set up.
The forum requests and feedback is for this type of thing. If you think some codex article should be available, features should be in bbPress, this site bbpress.org should have some style fixes, etc. this forum is where you post all that in. If you need to create a new topic with a list of suggestions in a list from yourself, you can do that.
The way the menu items show up has always been like that since bbPress v1 standalone. It could be easier for users to see all the post types in one section, this might need another opinion though. I think it is fine either way though. It will be annoying to change all the codex articles if we do change that though haha.
September 2, 2015 at 6:31 pm #166229In reply to: bbPress and Yootheme
Robkk
ModeratorAlright I am going to just test out this theme later today to see all the issues it presents and try to resolve them.
Try this on a local development server or just a test site in general o the site you are trying to import from. Cloning the whole site might be the best way to import from one WordPress site to another WordPress site.
September 2, 2015 at 5:53 pm #166226In reply to: Changing breadcrumbs from "topics" to "forums"
1kan5
ParticipantHello
i have the same problem, i don’t understand what you do, please help me.
where is the functions file ?
what is the code that you modify ?
September 2, 2015 at 1:48 pm #166216project_subdomain
ParticipantThanks again, that’s it!
This is how it works finally for several topics with different divs and a custom action hook:/*Different divs for all topics of specific forums*/ function add_different_div() { $topic_id = bbp_get_topic_forum_id(); if (( $topic_id == 123) or ( $topic_id == 456)){ ?> <div> this is some custom div text </div> <?php } elseif ( $topic_id == 789){?> <div> this is some OTHER custom div text </div> <?php }} add_action( 'different_div', 'add_different_div' );Custom action hook to add in the template file where the div shall be displayed:
<?php do_action( 'different_div' ); ?>September 2, 2015 at 11:50 am #166210Topic: Remove comma’s from forum index
in forum InstallationAtlantius
ParticipantHello, i want to remove the commans separating the forums in the index. I searched and found old solutions that do not work. I read on the codex to change the
‘separator’ => ‘, ‘, to ‘separator’ => ”,
in the template.php files from includes but it does not remove the colon.
Can you help me with this please?
September 2, 2015 at 10:28 am #166207In reply to: BBpress Forum Search not Working with theme
Schuitema
ParticipantHi Rob
Sorry but I am really at a loss here.
The What The File plugin directed me to the index.php, I copied this to my child theme and pasted the suddested code in there, this changed my layout dramatically when viwing the forum and search results, but did noting to help with the problem, still not getting forum results in the bbpress search.
I also tried adding the code suggested in the thread, to add forum to the wp search, and installed both plugin fixes, but still wordpress ignores the forum in it’s searches.
The issue is that my forum is useless without a decent search function.
Please help.
September 2, 2015 at 7:27 am #166203Topic: [Plugin: BBCode Deluxe] A Fork of “bbpress2 BBCode”
in forum PluginsDevynCJohnson
ParticipantBBCode Deluxe (https://wordpress.org/plugins/bbcode-deluxe/) adds BBCode markup (and other shortcodes) to WordPress and BBPress. This plugin is a fork of the unmaintained (but well loved and used) “bbPress2 BBCode” plugin by Anton Channing (https://wordpress.org/plugins/bbpress-bbcode/).
This plugin includes code from the below listed developers and their plugins. More BBCodes/shortcodes will be added (such as the rest of the BBCodes from “Video and Audio BBCodes”).
- Copyright (C) 2013 Anton Channing (“Video and Audio BBCodes” and “bbPress2 BBCode”)
- Copyright (C) 2010 b0ingBall (b0ingBall BBCode plugin)
- Copyright (C) 2008 Viper007Bond (the original BBCode plugin)
The BBCodes are (or try to be) HTML5-compliant.
September 2, 2015 at 7:09 am #166200In reply to: Moving topics doesn’t update the forum-page
Denna Gherlyn
ParticipantThe
<!-- Generated in 0.959 seconds. (121 q) -->comment comes from BuddyPress. And BuddyPress doesn’t affect the movement of topics (tryed on a fresh installation).(I’m currently installing every plugin one by one that are active on our forum on a fresh installation, but nothing found yet.)
September 2, 2015 at 5:39 am #166196Shmoo
ParticipantIt’s not a solution to the problem but just a work around.
What does this mean?
I think this has something to do with it, and it’s probably part of some Gulp testing-thing they are using or so.Property sv:eol-style set to native Property svn:auto-props set to *.css = svn:eol-style=native *.js = svn:eol-style=native *.php = svn:eol-style=native *.txt = svn:eol-style=native *.scss = svn:eol-style=native *.gif = svn:mime-type=image/gif *.jpg = svn:mime-type=image/jpeg *.png = svn:mime-type=image/png Property svn:global-ignores set to .DS_Store .gitignore Property svn:ignore set to .htaccess build node_modules npm-debug.log phpunit.xmlSeptember 2, 2015 at 2:49 am #166192In reply to: Moderation words
Stefano Lissa
ParticipantOk, where could I send a patch? Should I create an SVN patch or just give a description on where to add the code?
Thank you, Stefano.
September 2, 2015 at 2:34 am #166191In reply to: picture or thumbnail
Robkk
ModeratorYou can use oembed for embedding imgur links automatically.
You can use the
imgquicktag button in the toolbar if the url of the image is from a different source.GD bbPress Attachments plugin can handle uploading images to your site directly.
If you use BuddyPress also, you can use the BuddyPress Forum Editor plugin for image uploads that way also.
September 2, 2015 at 2:03 am #166189In reply to: Moderation words
Stefano Lissa
ParticipantLooking at the code it seems there is no way to hook into that option in a easy way. One should hook into get_options for the moderation_key option but find a way to determine he is in the bbpress contect and not in the comment moderation context. If needed I can write the patch to bbpress for that, it’s one line of code!
Stefano.
September 2, 2015 at 12:36 am #166183In reply to: Moving topics doesn’t update the forum-page
Robkk
ModeratorI see this comment in your source code and this usually is inserted from some caching plugins/software?
<!-- Generated in 0.959 seconds. (121 q) -->If you had some caching plugins activated awhile ago, activate it again and clear the cache and see if this helps any.
IF you have server cache, you might need to check on that. Same thing if you are using something like cloudflare.
September 2, 2015 at 12:25 am #166181In reply to: When I deactivate bbPress, I cannot log in
Robkk
ModeratorHow can’t you login?
What is stopping you exactly from logging in?
Do you see an error messages in the login form?
Is it redirects or 404s?
Did you try some troubleshooting to see if it was another plugin conflict? It could also be a security or a spam plugin that could cause this type of issue.
September 2, 2015 at 12:20 am #166178In reply to: attributes for forums not correctly working
Robkk
ModeratorDid you try any troubleshooting?
Maybe clear any cache collected on your cpu and make sure your forum role is in fact the keymaster role.
September 2, 2015 at 12:14 am #166177In reply to: Default Forum Index – How to edit?
Robkk
ModeratorThere might be some code snippet you can find, or a plugin like the Display Posts Shortcode plugin that might help you here.
function rkk_show_specific_cat() { echo do_shortcode("[post_in_cat_shortcode]"); } add_action('bbp_template_after_forums_index','rkk_show_specific_cat');September 2, 2015 at 12:11 am #166176In reply to: Profile pictures are TINY
Robkk
ModeratorAdd this custom CSS anywhere you can put custom css like your child themes style.css file or a custom css plugin.
#bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums .widget_display_replies img.avatar { float: none; margin-bottom: 0; vertical-align: middle; border: 1px solid #ddd; }You can use this function (and add it where you can put php code snippets, like your child themes functions.php file or in a plugin like functionality) in this topic to increase those 14px avatars to say 24px.
September 1, 2015 at 11:38 pm #166169webplayer
ParticipantI figured out to put the file in the directory and then to ssh to the directory and run this command:
patch < 2690.01.patchBut when I did that I got this back:
patching file activity.php Hunk #1 FAILED at 275. 1 out of 1 hunk FAILED -- saving rejects to file activity.php.rejDoes that mean the patch is outdated?
September 1, 2015 at 10:13 pm #166163In reply to: invision importer is not working
AilyRoot
Participantconversion is completed but username’s password is not converted but DOC says it will be converted https://codex.bbpress.org/getting-started/importing-data/import-forums/invision/
any idea why is this?
we are going to bbpress from ipb 3.4.7
-
AuthorSearch Results