Tagged: x
-
AuthorPosts
-
January 26, 2017 at 9:29 am #1346427
Schw_edeParticipantHello,
i have the issue that the anchor links not working properly with x and bbpress. I tested it with the twentysixteen theme and its working there like expected.
What i have noticed is: It is only not working with topics more than one page, so the link is not constructed right.
How it generates the link
https://eagle-six.com/gruppen/administration/forum/topic/agenda-aktuell/#post-1115How it should be
https://eagle-six.com/gruppen/administration/forum/topic/agenda-aktuell/page2/#post-1115Thanks
January 26, 2017 at 10:46 am #1346547
RupokMemberHi there,
Thanks for writing in! Would you clarify what you are using as button link? If you have placed just #post-1115 then it should work regardless the page. Let us know where is the button.
Cheers!
January 26, 2017 at 12:18 pm #1346632
Schw_edeParticipantI just use the normal Submit button from bbpress (See Screenshot). Even if it should work without the page number, it does not.
Thanks
January 26, 2017 at 3:29 pm #1346848
NicoModeratorHi There,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
January 26, 2017 at 5:16 pm #1346939
Schw_edeParticipantThis reply has been marked as private.January 27, 2017 at 12:16 am #1347338
RadModeratorHi there,
Would you mind providing a video recording? There is nothing on your provided URLs. But it maybe related to permalinks, and X theme doesn’t have any feature that alters permalinks (except portfolio slug).
Thanks.
January 27, 2017 at 2:20 am #1347421
Schw_edeParticipantThis reply has been marked as private.January 27, 2017 at 2:05 pm #1348163
RadModeratorHi there,
I see it now, it doesn’t reload on the same page after saving. Would you mind providing your FTP login credentials as well? And how do I get to that test page? I’m only getting an empty page with this text “Wie schade! Es wurden keine Themen gefunden!”
And your provided login credentials has no full capability as admin, I’m getting this “Du bist leider nicht berechtigt, Beiträge dieses Inhaltstyps zu bearbeiten.” when navigating in admni forum section.
Thanks.
January 28, 2017 at 1:20 am #1348646
Schw_edeParticipantThis reply has been marked as private.January 28, 2017 at 1:22 am #1348647
Schw_edeParticipantAlso i’ve changed the default language to english for the meantime. Hope that helps a bit
January 28, 2017 at 5:39 pm #1349080
RadModeratorHi there,
Still weird, can I switch it to another theme? And please backup your site first, switching plugins on and off, and even the theme could reset some setting.
This is the actual code from X theme’s reply form
<div id="new-reply-<?php bbp_topic_id(); ?>" class="bbp-reply-form x-bbp-general-form"> <form id="new-post" name="new-post" method="post" action="<?php the_permalink(); ?>"> <?php do_action( 'bbp_theme_before_reply_form' ); ?>The action is where it will be submitted and load the page. The the_permalink() is WordPress function and not from the theme.
I changed and forced it to submit it like this
<div id="new-reply-<?php bbp_topic_id(); ?>" class="bbp-reply-form x-bbp-general-form"> <form id="new-post" name="new-post" method="post" action="https://eagle-six.com/gruppen/administration/forum/topic/agenda-aktuell/page/3/"> <?php do_action( 'bbp_theme_before_reply_form' ); ?>But still the same, what I noticed is the data is correctly submitted/posted to https://eagle-six.com/gruppen/administration/forum/topic/agenda-aktuell/page/3/, but it redirects it to https://eagle-six.com/gruppen/administration/forum/topic/agenda-aktuell/. Which means, redirect happens after successful submission and X theme has no redirect.
I’d like to do further testing by testing the clean version of your site (no plugins), but you should backup your site first.
Thanks!
January 28, 2017 at 6:05 pm #1349092
Schw_edeParticipantok, I’ve secured everything. You should be good to go 🙂
Hope you will find something.Thanks, really appreciate your help
January 29, 2017 at 5:48 pm #1349971
RadModeratorHi there,
Found it, it’s due to some filters. I went ahead and added this code to your child theme’s functions.php
add_action('init', 'remove_some_filters', 999999); function remove_some_filters () { remove_filter( 'bbp_get_topic_reply_count', 'x_bbpress_filter_topic_reply_count' ); remove_filter( 'bbp_get_topic_reply_count_int', 'x_bbpress_filter_topic_reply_count' ); remove_filter( 'bbp_get_forum_reply_count', 'x_bbpress_filter_forum_reply_count' ); remove_filter( 'bbp_get_forum_reply_count_int', 'x_bbpress_filter_forum_reply_count' ); }I’ll forward this as a bug, but I’m not sure why these filters are affecting the redirect. They are just HTML outputs.
Cheers!
January 31, 2017 at 6:09 am #1352150
Schw_edeParticipantsry for the late reply.
Everything is working now how it should.
THANK YOU SO MUCH!! you guys are awesome 🙂January 31, 2017 at 8:45 am #1352275
RahulModeratorYou’re most welcome and thanks for your kind words!
Let us know if we can help with anything else.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1346427 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
