Search Results for 'test'
-
AuthorSearch Results
-
February 1, 2018 at 12:41 am #189801
In reply to: Forum page cached for new users?
418design
ParticipantJust realised what might be causing some confusion but the problem still seems to exist.
I am using a plugin to hide the forums so they are private. Thats why when your not logged in you see a bbpress message that I have modified to say you need to login (Think it said there are no forums here by default).
I have now made some of the forums available to the public in the hope that might work but I just tested. Went to the site, loaded the forum, logged in, went back to the forum and I have to refresh the page/cache before I can see the form to post a new topic.
Its not just my local cache either, someone else had the same problem.
Feel like I am missing something stupid! Gravity forms is powering my registration process if that makes any difference?
January 31, 2018 at 9:59 pm #189798Topic: Is there a way for forum users to flag abusive posts?
in forum Pluginsjamesp4578
ParticipantIs there a way for forum users to flag abusive posts (like a Twitter-style ‘Report tweet’ function)?
I tried the plugin “Safe Report Comments” and a later fork, but they didn’t work.
(I’m on the latest WP/bbPress.)
January 31, 2018 at 7:24 pm #189797In reply to: Unable to Delete, Edit or Close *Some* Topics
jemar707
ParticipantYes, that forced it to close. I can’t see manually doing that for many more. 40 or so, yeah no biggie. But as I move forward, that just can’t seem like any fun.
I tested to see if I could do anything with the topic now – and sure enough, it’s stuck closed. Almost seems like it is locked for editing.
January 30, 2018 at 6:32 pm #189760In reply to: EASY – Multiple Users one IP
Robin W
Moderatoryes, I frequently have multiple users on different browsers on my one PC when I am testing
January 29, 2018 at 12:00 pm #189731Robin 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 twentyfifteen, and see if this fixes.
Then come back
January 28, 2018 at 7:39 am #189727In reply to: Noidex metatag to groups of pages
Pascal Casier
ModeratorHi @process_of_illumination ,
I see you have found the functions that you need.Try to avoid adding 5 functions if you can do it in 1, so at least change it to:
add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_favorites() ) { wp_no_robots(); } if ( bbp_is_topic_tag() ) { wp_no_robots(); } if ( bbp_is_single_user_replies() ) { wp_no_robots(); } if ( bbp_is_single_user_profile() ) { wp_no_robots(); } if ( bbp_is_single_user_topics() ) { wp_no_robots(); } }
Of course the shortest way would be:
add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_favorites() || bbp_is_topic_tag() || bbp_is_single_user_replies() || bbp_is_single_user_profile() || bbp_is_single_user_topics() ) { wp_no_robots(); } }
PS image removed.
January 26, 2018 at 1:32 pm #189712strike3
ParticipantHi Robin,
Sorry for the late reply. I had a health issue that set me back a few weeks. I did some testing on a vanilla WordPress install this morning, and it looks like this issue affects standard BBPress as well. Here’s what I did:1.) Set up a local WordPress installation. Added Buddypress, BBPress and WP Mail Logging as the only plugins (latest versions on everything).
2.) Created several users and a forum. Logged in with each user account and subscribed it to the forum.
3.) Went to Settings->Discussion from the WP Dashboard and set it to hold a comment in the moderation queue if it has one or more hyperlinks
4.) Created a new topic that had no hyperlinks (i.e., did not go to moderation). WP Mail Logging showed that a new topic notification was sent and all subscribed users were BCC’d on the email.
5.) Created a new topic with a hyperlink. The topic went to moderation.
6.) Approved/published the topic with an admin account. No new topic notification email was sent.Another issue is that new topics that are added directly from the Dashboard (i.e., by going to Dashboard->Topics->New Topics) also did not generate a new topic notification. The moderation approvals have to be done from the backend/Dashboard, so maybe these two issue are related?
Thanks again for your help with this! The moderation plugin author finally did get back to me and said they’ve added the issue to their backlog, but now I’m wondering if this is something that should be fixed in standard BBPress?
If necessary, the site owner I’m working said they might be willing to pay directly to get this issue fixed. However, their company is a small non-profit, so they probably won’t have a lot of extra funds for this sort of thing.
Matt
January 25, 2018 at 11:53 am #189701In reply to: Noidex metatag to groups of pages
Process of Illumination
ParticipantHi,
I think I understood a little how it works and came out with this:
add_action( 'wp_head', 'casiepa5_add_noindex' ); function casiepa5_add_noindex() { if ( bbp_is_favorites() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa4_add_noindex' ); function casiepa4_add_noindex() { if ( bbp_is_single_user_replies() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa3_add_noindex' ); function casiepa3_add_noindex() { if ( bbp_is_single_user_profile() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa2_add_noindex' ); function casiepa2_add_noindex() { if ( bbp_is_single_user_topics() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_topic_tag() ) { wp_no_robots(); } }
I tested it and it seems ok.
Do you think it is the correct procedure?
Thanks,
the Process
PS: could you please remove the picture with the link to my test site? Thanks π
January 23, 2018 at 1:15 pm #189662Robin W
Moderatorok, let’s see if this works
This just adds an action on any post save and if it is a forum and has no post parent, we add your default one
AGAIN THIS IS UNTESTED !!
add_action( 'save_post', 'add_forum_id' ); function add_forum_id( $post_id ) { //get post type and post parent id $post_type = get_post_type($post_id) ; $post_parent = wp_get_post_parent_id ($post_id) ; //if it's a forum and has no post parent (allows for normal topic creation, and other posts type creation etc.) if ($post_type == bbp_get_forum_post_type() && (empty ($post_parent))) { // Update topic (post) 1234 forum (post) 321 $my_post = array( 'ID' => $post_id, 'post_parent' => 31086, ); // Update the post into the database wp_update_post( $my_post ); } }
January 23, 2018 at 12:52 pm #189659Robin W
ModeratorForums and Topics are totally separate custom post types, correct?
Yes.
I am reticent to start delving into this plugin – there are hundreds of thousand of plugins in wordpress and I only go into those that are specifically bbpress and then only a few of those – it can take a day easily to look at and understand a plugins code π
There is a hook in topic creation that you could use
The following code is untested, but you could put this in your functions file. You must be able to edit that file outside of wordpress (ie NOT using dashboard>appearance>editor) in case it errors so you can amend it.
add_action( 'bbp_new_topic_pre_extras', 'new_topic_id', 10, 1 ); function new_topic_id ($forum_id=0) { if (empty ($forum_id)) $forum_id = 31086 ; return $forum_id ; }
This will put any topic that doesn’t have a forum into that forum.
January 22, 2018 at 9:24 pm #189635In reply to: bbPress Post Via Mail
Stephen Edgar
KeymasterThis plugin supports posting to bbPress by email https://github.com/rmccue/falcon
It’s out of date and needs some testing and reporting what does and doesn’t work
If anyone could help with the I could help get any code changes required added π
January 22, 2018 at 5:19 pm #189627In reply to: Noidex metatag to groups of pages
Pascal Casier
ModeratorI just added this on my test site:
add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_single_user_profile() ) { wp_no_robots(); } }
And I when I go to the profile of a user (in my case /forums/users/user1/), I now correctly find:
<meta name='robots' content='noindex,follow' />
Could you have a check on your side?
January 22, 2018 at 1:17 pm #189625In reply to: Settings is missing in BBpress
Robin W
Moderatorand the one that doesn’t will have something different about it.
either delete the identical site and start again with it, or carry out the tests above, which will help narrow where the error could lie.
January 22, 2018 at 12:42 pm #189621In reply to: Settings is missing in BBpress
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 twentyfifteen, and see if this fixes.
Then come back
January 22, 2018 at 2:40 am #189609In reply to: BBpress: Registration mails fail
suraj1977
ParticipantHi,
It seems I could not link properly to the images.
Let I describe the issue.
I have checked SMTP and WordPress email address.
Although both are GMAIL addresses, the WP SMTP plugin accepts it.
That’s why, I guess, I could send the test mail from the contact form.
I confirmed, these test emails from contact form are coming via the domain which I have created for SMTP plugin.
After registration of dummy account, I receive the message stating verification mail send.
However, no such registration/activation mail gets received for dummy account.
After registration I receive message stating verification mail send.
The dummy account gets listed on the WordPress backend user list.
The check email plugin sends the test mail to the Gmail address in general settings of the WordPress.
However, it fails to send the test mail to another Gmail address.
Kindly suggest.
Thanks in advance,Suraj
January 22, 2018 at 2:22 am #189608In reply to: BBpress: Registration mails fail
suraj1977
Participanttest reply..
It seems I could not post here as I could not see my replies posted.Suraj
January 21, 2018 at 6:04 pm #189604In reply to: New user registration error – suspected bot
Robin W
Moderatornever seen that before, and like you all I can find on a google is reference to Mojo Marketplace
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 twentyfifteen, and see if this fixes.
Then come back
January 21, 2018 at 5:20 pm #189602Topic: New user registration error – suspected bot
in forum Troubleshootingpiha.dave
ParticipantI have just created a forum for my site but when testing new registrations receive an error: “suspected bot”.
I’ve enabled “anyone can register” and I’ve also searched online but the only answer I can find is to disable Mojo Marketplace plugin. I currently don’t have this installed.
I’ve also tried disabling every plugin and trying again but receive the same error.
January 21, 2018 at 5:05 am #189577In reply to: BBpress: Registration mails fail
Robin W
ModeratorIt wasn’t until I started googling this that I notice it is a recurring issue with bbpress sites using smtp, and hasn’t got a definitive answer.
As far as I can see two things seem to help.
1. amending the from address
2. not sending bulk emailsthis plugin seems to address these two issues
Can you try it and report back
also there is a code snippet that lets you change the from address that smtp may well need -I don’t think it is needed as the plugin does this I hope (I haven’t tested the plugin), but quoted just in case π
However, something causes that in the forum post notifications the βFromβ is set back to the default <noreply@domain.com>, although it is set to different/custom address by the WP Mail SMTP plugin. My web hosting service blocks the PHP mails sent from unknown addresses, so thatβs the reason why the e-mails are not delivered.
/*BBPress email fix*/ add_filter( 'wp_mail_from_name', 'email_sent_from_name' ); function email_sent_from_name( $name ) { return 'SITE NAME'; } add_filter( 'wp_mail_from', 'email_sent_from' ); function email_sent_from( $email ) { return 'email@example.com'; }
January 20, 2018 at 12:54 pm #189548Robin W
ModeratorI’ve now set up a quick test site for 2.65c5 to validate
I can confirm that
<?php echo do_shortcode("[bbp-forum-index]"); ?>
doesn’t work but the shortcode on a page on it’s own does.
However your issue with profiles is a theme/bbpress one, it all works on my test site.
Can you try adding this to your themes css
#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results, #bbpress-forums ul.bbp-topics { overflow: visible !important; }
that seemed to fix it for your site, but I haven’t checked that it doesn’t create issues elsewhere !
January 20, 2018 at 8:33 am #189546In reply to: Vanilla Forums Importer needs this
Stephen Edgar
KeymasterApologies for the late reply, there hasn’t been many requests to update the Vanilla importer, what I’ve done with most importers is when asked I’ll update it to the latest, in this case I’d checkout what the latest 2.x version is and add any updates as needed, for the most part there is usually not many changes as major database changes typically only occur in “major” releases, so if Vanilla 3.x is out, there would be a high change some SQL changes would be in that release.
Grab the latest bbPress RC-5 zip from the downloads page https://bbpress.org/download
The “Specified key was too long” error you mentioned has been fixed in this release along with loads of importer improvements.
January 19, 2018 at 7:31 pm #189542TechHaus
ParticipantGood call! And guess what, it works if I use the shortcode on a page via the wordpress backend.
January 19, 2018 at 6:07 pm #189541Robin W
ModeratorSorry, but I support live versions, so I’m reluctant to load RC code to my test site, so I’ll keep asking you to do stuff if that’s ok !
Can you create a page and put the shortcode in there – I want to test if that makes a difference over using code to call it.
January 19, 2018 at 4:04 pm #189532TechHaus
ParticipantYes, correct! OMG, i recorded this…
I just hit save there with the shortcode on 2.5.14
At 20:05 if the video doesn’t load at the right time. Thanks again! You made me remember that I actually documented this so I don’t have to fire up a new wordpress instance to retest. I recorded every thing I’ve done so far on this bbpress installation.
January 19, 2018 at 3:58 pm #189531TechHaus
ParticipantTest reply:
I’m getting
ERROR: Your reply cannot be created at this time.
to this thread.
-
AuthorSearch Results