Search Results for 'test'
-
AuthorSearch Results
-
February 24, 2015 at 3:52 pm #158855
In reply to: Assign moderator to be forum owner
Robkk
ModeratorPer forum moderation is noted for a future release of bbPress, i think they are going to test it out on wordpress.org first.
February 24, 2015 at 1:47 pm #158850Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
Then come back
February 24, 2015 at 5:16 am #158829In reply to: Restrict Acces to Forum Topics
iop789
ParticipantFebruary 23, 2015 at 4:27 pm #158801In reply to: Create a forum of type link
Robkk
Moderatoralright so basically it does what this plugin does
https://wordpress.org/plugins/page-links-to/
your forum title will show like any normal forum but if you click it , it will link to whatever you want.
works pretty good when i tested it out, it wont show in the status drop-down though it will show in another meta-box somewhere below the post content.
February 23, 2015 at 2:23 pm #158797In reply to: Post submission hooks
Robkk
Moderatori tested it out on your site and see its working better
its not really a honeypot field though
how a honeypot field is supposed to be is invisible to the users on your site and is not required for input for the user.
its a hidden input field that if it has any type of dummy information from spam-bots injected , it should stop the next action that the spammer is trying to do.
the way your code is arranged its close to these two plugins
https://wordpress.org/plugins/growmap-anti-spambot-plugin/ ( probably no bbpress compatibility)
https://github.com/studiohyperset/bpress-no-captcha-recaptcha ( still in development)you might want to go to the bbpress nocatpcha plugin (when its done being developed) if you think it works better for what you need.
since you/robin found half the code im going to try to make a honeypot using these two plugins for the other half
wordpress.org/plugins/registration-honeypot/
wordpress.org/plugins/zero-spam/ (i dont know about bbpress compatibility yet)also @s1r0n what do you mean by custom meta tags, like explain exactly how you want it so i can see if a normal seo plugin cant do this already.
February 23, 2015 at 9:16 am #158792In reply to: Post submission hooks
s1r0n
ParticipantAh you’ll have to do that again. the code above has a line commented out that shouldn’t be. sorry for the hassle
add_action('bbp_theme_after_topic_form_content','lp_add_honeypot'); add_action('bbp_theme_after_reply_form_content','lp_add_honeypot'); function lp_add_honeypot() { if (is_user_logged_in()) return; ?> <p> <label for="lp_post_honey_pot">I am a robot (yes/no)</label><br /> <input type="text" value="" tabindex="103" size="40" name="lp_post_honey_pot" id="lp_post_honey_pot" /> </p> <?php } //https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-includes/post.php#L0 add_filter('wp_insert_post_empty_content', 'lp_check_honeypot', 10, 2); function lp_check_honeypot($is_empty, $postarr) { if (is_user_logged_in()) return false; if ($postarr['post_type'] == 'topic' || $postarr['post_type'] == 'reply') {//only do this for bbspress if ($postarr['bbp_post_as_submitted']['POST_lp_post_honey_pot'] == 'no') { return false; //treat this post as good } return true; } return false; }I only need this to work for users who are not logged in, guests, so i’ve added a couple of lines to turn this off when users are logged in. if you want to test even registered users just leave those lines in.
When I have a bit of time I’ll look into bbpress errors and find a way to set an appropriate error message.
Have fun and let us know if you use it and it works for you or not
February 21, 2015 at 3:46 am #158705In reply to: WP 4.1.1 Forum not logging in
Robin W
Moderatorwould definitely be worth you changing that back as a test and seeing if that fixes.
February 20, 2015 at 7:26 pm #158693In reply to: Multiple create topic forms
Robin W
Moderatorwhy not just have one form, referenced by a button at the top.
function bsp_create_new_topica () { $text='Create New Topic' ; if ( bbp_current_user_can_access_create_topic_form() && !bbp_is_forum_category() ) echo '<div style="text-align: center;"> <a href ="#topic">'.$text.'</div>' ; } function bsp_create_new_topicb () { echo '<a name="topic"></a>' ; } add_action ( 'bbp_template_before_single_forum', 'bsp_create_new_topica' ) ; add_action( 'bbp_theme_before_topic_form', 'bsp_create_new_topicb' ) ;(not tested as its cut down code from one of my plugins)
adds a link which lets you add a link to the top of the page which sends you to the bottom, which you can easily make a button.
add to your functions file https://codex.bbpress.org/functions-files-and-child-themes-explained/
or take the guts into the template you’re amending.
You could probably send it to a collapsing div at the bottom if you tinker
That way you only have one form
February 20, 2015 at 7:10 pm #158691In reply to: WP 4.1.1 Forum not logging in
Robin W
Moderatorok, it’s working fine on my test site with bbpress and twentyten.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
Then come back
February 20, 2015 at 6:37 pm #158688In reply to: Show latest reply author name
Robin W
Moderatorok, I’ve just finished coding a ‘latest activity’ widget that should do what you want.
I’ve added it to my bbp-style-pack
https://wordpress.org/plugins/bbp-style-pack/
which you can load to the site and just use (there’s lots of other stuff in there), or if you’re code savvy, you can fork it form includes/widgets.php into your functions file
Hope you enjoy it !
February 20, 2015 at 9:23 am #158676In reply to: Forum Setup
Alice Kaye
ParticipantThank you @Robkk! This is exactly what I was looking for. Love the styling pack too, that will definitely help get this going the way I want. Installed your loop-forum.php and it looks fantastic.
Only question I have is, how do I modify it to say ‘Latest Post’ rather than ‘Freshness’. Though I’m not sure you can help me with that. Going to do some digging and see if I can find an answer.
February 20, 2015 at 5:52 am #158668In reply to: Buddypress group forum not working.
monaafifi
ParticipantHello regarding you issue, I have downloaded a newer theme ALizee, and it kind of solved all the issues you addressed, the “create group” icon now appears also the latest topics posted appears.
Also by accident I have “un ticked” the below:
– Automatically add new top-level pages to this menu
– Primary Menu
– Social
in the menu setting and it worked well.If you still can’t view forum, you can create new page call it forums and in the html “txt” write [bbp-forum-index] and it will appear
February 19, 2015 at 1:24 pm #158648Topic: Topics and Posts not counted correctly
in forum Troubleshootingvan24
ParticipantHi everyone
Most of our forum counts on the homepage are OK, but the first forum is displaying 8,343 Topics and 8,343 Posts. It should be more like 8,343 Topics and 40,000 Posts. I have tried using the repair function to recount the topics and posts, but it hasn’t helped.
I also tried deactivating all plugins except bbpress and switching to the 2014 theme. But the posts are still being counted incorrectly.
We’re using all the latest versions of WP, BBP etc.
Does anyone have any other suggestions that I can try? Thanks!
February 18, 2015 at 7:04 pm #158622In reply to: Show latest reply author name
Rivaldo08
ParticipantYes and no.
That widget shows every reply, so if topic 1 is really active, it shows the last five persons who wrote in that topic – i just want to know who wrote the latest reply in one topic
Topic 1 – last reply by XXX
Topic 2 – last reply by ZZZ
Topic 3 – last reply by XYZSo what I want is like a merger between the two widgets. I want to show the latest topics (based on the latest replies) and the author of the latest reply.
February 18, 2015 at 5:34 pm #158617In reply to: Show latest reply author name
Robin W
Moderatorsorry, have now just looked at this again
Isn’t this just the ‘latest replies’ widget that you need to use, or how does your request differ?
February 18, 2015 at 1:17 pm #158606In reply to: Sidebar Widgets Not Showing =(
Robkk
Moderatorgive me your theme name
I have tried using all of the bolded .php page options as well as copying the single.php into the bbpress plug in php page.
to me this sounds like your not doing it right
follow this guide
and this too
https://codex.bbpress.org/theme-compatibility/
it could also be a theme or plugin issue.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
February 18, 2015 at 1:06 pm #158605In reply to: editor like bbpress.org forum
Robkk
Moderatorthe bbpress.org editor is what bbpress has by default you can activate the editor in settings>forums.
other than that you can see what is causing these weird issues .
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
February 17, 2015 at 8:30 pm #158575In reply to: "bbPress ready theme" means what?
Robin W
Moderatorsorry no definition of ‘bbPress ready themes’ it simply means that the author has written ‘bbPress ready themes’ on his blurb.
Usually means that the theme has been tested with bbpress and recognises it in the theme page files.
Many themes work well with bbpress, some are too ‘clever’ and don’t play well.
February 17, 2015 at 8:22 pm #158572In reply to: How to add search bar and Breadcrumbs for Forum?
Robin W
Moderatoryou should have breadcrumbs and searchbar by default
for searchbar look in
dashboard<settings>forums>forum features and make sure that ‘search’ is ticked.
Your theme can prevent breadcrumbs from showing, as can other plugins
Themes
As a test switch to a default theme such as twentytwelve, and see if this fixes.
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
February 17, 2015 at 8:12 pm #158569In reply to: Limit the number of posts
Robin W
ModeratorI understood up until
after which point the oldest posts get replaced by the newest?
I expect you can limit a forum to only show the latest 50 topics, come back if that is what you want
February 17, 2015 at 8:06 pm #158567In reply to: "Replies Created" shows pages as well
Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
Then come back
February 17, 2015 at 6:18 pm #158561Topic: Show latest reply author name
in forum TroubleshootingRivaldo08
ParticipantHello!
Sorry if this question has been asked before, but I couldn’t find the solution anywhere.
I got a little problem. I’ve got a widget, that shows the five latest topics with replies – but it shows the topic author rather than the author of the latest reply. How do I get it to show the author of the latest comment?
February 17, 2015 at 2:54 pm #158547mw360
ParticipantForgot to add: Using 4.1 and the latest version of everything
February 17, 2015 at 4:39 am #158533In reply to: Nav Menu disappears upon installation of bbPress
Robin W
ModeratorThe tests I suggested are to find the error, I am not expecting you to stay without them.
If you follow the tests, then if the forums work with just bbpress as the only plugin and your theme, then bbpress is conflicting with another plugin, hence you add back until you find which one, THEN you come back and let us know.
If even the above doesn’t work, then bbpress you change to a default theme such as tewntyten. If that works the issue is with your theme, so we go down that route.
If none works then bbpress has not installed properly.
February 16, 2015 at 8:30 am #158516In reply to: Topic posts can't be seen
Robin W
Moderatorok, I can your issue
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
Then come back
-
AuthorSearch Results