Forum Replies Created
-
In reply to: Hide Forums / forums page from public BBPress
great – glad you are fixed
In reply to: Replies not showing with CSVthat’s like saying that because you manage to install the car engine, the car must start.
I repeat it is highly likely that the issue is with the meta data, but it is beyond free help
In reply to: Replies not showing with CSVthat was from 6 years ago, was someone trying to help another user out, and it looks like it no longer works.
In reply to: Replies not showing with CSVno I can’t – you would need code to create the ability to upload a csv file into bbpress – and that is beyond free help
In reply to: Replies not showing with CSVok, so you haven’t imported the meta data.
each topic and reply has both post data and post meta data, without both it will not work.
In reply to: Replies not showing with CSVnot unless you can describe how the csv file was created, and how you uploaded it to the site
In reply to: Hide Forums / forums page from public BBPressso are the forums set as private ?
In reply to: Replies not showing with CSVsorry, I don’t know what you were uploading from where and how
In reply to: Thema Counter not Workinggreat – glad you are fixed
In reply to: Nested replies in embedded topicgreat – glad you are fixed !
In reply to: redirect user edit profile to custom pagenewer versions of php no longer like that code – use this
add_filter( 'bbp_get_user_edit_profile_url', 'rew_redirect'); function rew_redirect () { $url = 'https://www.facebook.com/' ; return $url ; }In reply to: Replies not showing with CSVdon’t like the look of the trashed ending of the url, but this is a site specific issue, and not sure what we can do to fix.
In reply to: Thema Counter not Workingstart with
dashboard>tools>forums>repair forums and run one at a time.
If that doesn’t fix, or it starts happening again then
once activated go to
dashboard>settings>bbp style pack>big fixes
and tick the fix last active time
In reply to: Nested replies in embedded topictry adding
once activated go to
dashboard>settings>bbp style pack>bug fixes and tick the threaded replies box
let me know if this works
In reply to: Replies not showing with CSVok, go into
dashboard>replies>edit reply and go into a reply that is not showing, and juts click save.
Then see if it shows
then come back
In reply to: Replies not showing with CSVtry
dashboard>settings>permalinks and just click save – this resets them
come back if that doesn’t work
In reply to: One Off Identities or Posting As Multiple UsersI did some thinking around this last night.
Basically bbpress looks for an author ID in the posts table.
Now there’s a hook in the topic/reply handlers (topic for topics, reply for replies, so they mirror) after a topic/reply is created.
do_action( ‘bbp_new_reply_post_extras’, $reply_id );
so if each of your characters has a WordPress user ID, then you could just hook to this, and change the post author to the worpress user ID.
so say
add_action ('bbp_new_reply_post_extras' , 'your function') ; function your_function ($reply_id) { $id = [either use the $_POST if still available and maybe have the value as the WordPress user ID , or get_post_meta for d20_character in the reply_id and do a look up to translate value to WordPress user ID] $my_post = array( 'ID' =>$reply_id, 'post_author' => $id, ); // Update the post into the database wp_update_post( $my_post ); }that way each topic/reply has a real author that happens to be your character chosen in the topic/reply form.
that would save a ton of coding in the output, and risk of missing one and exposing the real user.In reply to: One Off Identities or Posting As Multiple Usersgreat – do come back of you need odd bits of help, and yes please a solution if you get there is always great to have
it may be that your mail client is chopping emails with multiple recipients
try this
In reply to: One Off Identities or Posting As Multiple Usersyou would start by looking at the topic and reply forms in the templates
\bbpress\templates\default\bbpress\form-topic.php
which you can amend and copy to your child theme putting them in a bbpress folder
these link to the new topic or reply handlers in
\bbpress\includes\topics\functions.php line 96
and an equivalent in\bbpress\includes\replies\functions.php
these are called by filters eg
add_action( ‘bbp_post_request’, ‘bbp_new_topic_handler’, 10 );
so you could rewrite the new topic handler and call it from a new version of the above action, this could catch the $_POST from your dropdown, and add say an extra meta field, and allocating all topics/replies to a single user_id to prevent needing individual users.
You can then amend the other templates or use filters to show the drop-down from the meta in the content field.
In reply to: JOB OFFERUK, so EU at the moment !!
contact me at wilsonrobine@btinternet.com
In reply to: Freshnessno, that only fires on new topic/reply creation
In reply to: One Off Identities or Posting As Multiple Usersnothing exists as far as I know. Like everything it could be coded, but beyond free help.
In reply to: Freshnessok, so have you run the repair forums, and did that correct?
In reply to: Display hidden forums in front end to publicok that’s the best I can do.
you then need to change hidden forums to public forums but use groups to prevent acess, and set forum visibility, then they will see that they exist, but not be able to access.