Forum Replies Created
-
In reply to: Replies not showing with CSV
don’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.
so have you tried the above?
In reply to: Display hidden forums in front end to publicyou’ll need to look at the help section to see how to set it up
In reply to: Display hidden forums in front end to publicnot what I planned, and I know why, but of it works for you then great !!
ok, this may or may nogt work
can you download this file
and then open it and paste the contents into code snippets ion the php/code section
then let me know if it does anything (at all!!)
ok, let me play with some code and come back
Lars,
I cannot remember if you are technical or not – let me know, if you are I can point you to a solution, but if not, then it may take me a while to work it all out.
In reply to: Usernames🙂
In reply to: Rename heading?great – glad you ate fixed !
In reply to: Usernamesif you go into your profile, you have options as to what to show your name as
🙂