Search Results for '"wordpress"'
-
Search Results
-
Hi all
After a lot of digging i´ve found that the only way to translate the Topic Status dropdown strings is via the “bbpress/includes/topics/functions.php”, around line 1963, we have:function bbp_get_topic_statuses() { return apply_filters( 'bbp_get_topic_statuses', array( bbp_get_public_status_id() => _x( 'Aberto', 'Open the topic', 'bbpress' ), bbp_get_closed_status_id() => _x( 'Fechado', 'Close the topic', 'bbpress' ), bbp_get_spam_status_id() => _x( 'Spam', 'Spam the topic', 'bbpress' ), bbp_get_trash_status_id() => _x( 'lixeira', 'Trash the topic', 'bbpress' ), bbp_get_pending_status_id() => _x( 'Pendente', 'Mark topic as pending', 'bbpress' ),i´ve also downloaded the last development version of pt_BR.po from https://translate.wordpress.org/projects/bbpress/dev but despite of strings being there they don´t get translated.
Opening the po with a text editor i´ve noticed the absense of the “X-Poedit-KeywordsList: ” which i guess should be something like that:"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"For now i´ll try to add the keywordlist by hand at the top of my pt_BR file. Hope that fixes te issues specially with the _x:1,2c keyword
What could be wrong with the glotpress generator?
ThanksI have searched and put code together and tested. Now whenever a new post is created in WordPress a new topic is created in a specific sub-forum on my bbPress. This is working great. It brings over the tags and everything.
The one problem I have is that the publish_post action fires every time a post is set to published. So if a post gets set back to draft or pending review, and then published again, another forum topic is created. There are problaby 2097324907629306 ways this can be solved. I am only coming up with some pretty stupid ones I think, so I was hoping someone might have a good idea here.
Here is the code for your functions.php:
function post_published_create_topic( $ID, $post ) { $author = $post->post_author; $name = get_the_author_meta( 'display_name', $author ); $title = $post->post_title; $permalink = get_permalink( $ID ); $excerpt = $post->post_excerpt; $subject = sprintf( '%s: %s', $name, $title ); $message = sprintf ('[b]%s[/b]' . "\n" . 'By %s' . "\n\n" . '[i]%s[/i]' . "\n\n" . 'View: %s' . "\n\n", $title, $name, $excerpt, $permalink ); $tags = wp_get_post_tags( $ID, array( 'fields' => 'names' ) ); $new_post = array( 'post_title' => $subject, 'post_content' => $message, 'post_parent' => 691, 'post_status' => 'publish', 'post_type' => 'topic' ); $topic_meta = array( 'forum_id' => $new_post['post_parent'] ); $topic_id = bbp_insert_topic($new_post, $topic_meta); $term_taxonomy_ids = wp_set_object_terms( $topic_id, $tags, 'topic-tag' ); } add_action( 'publish_post', 'post_published_create_topic', 10, 2 );Take that code and put it in your themes functions.php (hopefully you are using a child theme.) The 691 is my sub-forums ID, replace that with the right ID for yours. The format of the post and its content is done on the line that starts “$message = sprintf”.
Now I just need to get it to stop creating a new post every time the same post is published. So far my ideas have been something like matching up the topics title with a string comparison, but that seems a bit heavy. There should be a simpler way and I am just not seeing it right now.
Please help: “After installing bbpress on intranet, wordpress dashboard or entire back end disappers” I did the manual install. I place the file in the plugins folder and when I press activate, the entire screen goes blank. Please help..
Hi Am not sure where my other 2 posts went, have posted twice with code, maybe that is the problem the code. My problem is that the replies to topics appear empty.
Am using wordpress 4.2, bbpress latest version as just updated to see if that might be the problem
ANY help wold be greatly apreciated
forum:
http://photohunters.org/forum/members-blog/
reply:
http://photohunters.org/topic/shutter-speed-cheat-sheet/#post-666Thank you Melanie
Topic: bbPress 2.5.8
bbPress 2.5.8 is out. It prevents 2 potential security related issues, and is a strongly suggested update for all bbPress 2.x installations:
* Improved ajax actions
* Improved user query parsingCheck the 2.5 milestone for a comprehensive changelog of fixes.
Installed bbpress through wordpress and everything is going great except for two problems.
1. Users are set to be able to edit their posts/replies, and the Edit button does show up, however when they click on Edit it simply goes to 404. Admins also cannot edit via the Edit button without 404.
2. User profiles are not showing up. Upon clicking on an avatar or manually typing in the profile url (with my username) it returns 404. (I also need to figure out how to put an ‘Edit Profile’ button somewhere, but that won’t matter if I can’t fix these other two issues)
What I’ve already done:
-Switched to a default theme, didn’t change anything, switched back to Gameplanet theme
-Disabled all plugins except bbpress, problem persisted
-Changed permalink type to something else and then back again, problem persistedI would greatly appreciate any help that could be offered as I really need this working by next week. If it’s something that involves an in-depth look I’d even be willing to pay someone to help, although I fear it’s probably a simple problem that I’m just overlooking.
Contact email – emooreofficial@gmail.com
Forums – http://wcg.website/wp/index.php/wcg-forumsTopic: Topic subscription email
I am receiving emails from all topics and replies to the forum.
The issue is that I am receiving those to an email address that is no longer and I get them as bouncebacks instead of proper emails.I cannot find out where the setting to that subscription is. Can someone help me find this?
1) The email is sent to an email address that is not associated to any user in the database.
2) The emails have the “You are receiving this email because you subscribed to a forum topic.” footer.
3) I am getting those emails for all and any content posted to the forum.
4) The emails are sent to an address that is different from the one in “general settings” of the wordpress page settings.Our forum is open to members only, utilizing private forums and private topics. Something happened and my Participant users can no longer open private topics. Setting aside the “something happened”, how can I verify that my users all have the read_private_topics and read_private_replies capability? If they do not, how can I give them all that capability? We have about 3,000 users, so it cannot be done one at a time.
If they do have read_private_topics and read_private_replies capability, what could be another cause for them being able to see the private categories and forums, but not see the list of topics or see the topics directly?
Thanks,
MikeWordPress 4.2.2
bbPress 2.5.7-5693Topic: change bbpress default theme
Hi guys,
In the passed I created a website with bbpress.
The default bbpress theme was horrible bad readable.
So I found a way to change the theme so it would match my wordpress theme.
After update the theme got reset to the default bbpress theme again.Now I have created a new wordpress website.
I stumble at the same problem again.Is there something simple how I can change the bbpress theme (user friendly)
I have been reading forums and this is really giving me an headache, all solution are based on editing files, creating child theme ccs files etc etc, all complicated stuff.There must be something user friendly to change the default bbpress theme right?
Is does not have to match my wordpress theme, if I can just select something different that would be great.Friendly regards,
Pascal