Forum Replies Created
-
In reply to: edit on the Front-end doesn't work anymore
The problem of those problems is when you don’t want to set a standard permalink, I want to set my own permalinks and then I get those problems… there must be a better way to get it to work, isn’t it? So the programmer of this script have to look forward for a solution for those problems. I’m not a programmer, i know a little bit that’s it. I look forward to an update of this script. 🙂 Congratulations to the programmer, it’s a nice script!
In reply to: edit on the Front-end doesn't work anymoreAfter a long search I found a solution for my problem…
instead of:
$uri = bbp_get_reply_edit_url( $r['id'] );
set:
$uri = $_SERVER['REQUEST_URI'].( '/../../../give-reaction/' . $r['id'] . '?edit=1' );
on line: 1923In reply to: edit on the Front-end doesn't work anymoreAnd if i set it to:
$uri = ( '?edit=1' );
then I get the topic to change and not the reply….In reply to: edit on the Front-end doesn't work anymoreIt works for the topics but not for the replies, I don’t know why it doesn’t work…
I have tested with
1)
$uri = ( '/?edit=1' );
in the topic: http://www.mysite.com/?edit=1
it isn’t correct
it go to the home of the site, that’s it.2)
$uri = bbp_get_reply_edit_url( $r['id'] ) . '?edit=1';
in the topic: http://www.mysite.com/map/map/1827/edit/?edit=1
and it isn’t correct eather…
it says: The page you requested could not be found.In reply to: edit on the Front-end doesn't work anymoredamned… this is not a solution for wp-content/plugins/bbpress/includes/replies/template.php …
In reply to: edit on the Front-end doesn't work anymoreSo you have to edit 2 files:
1) wp-content/plugins/bbpress/includes/topics/template.php
2) wp-content/plugins/bbpress/includes/replies/template.phpnormally it should work, i have tested and it’s working fine for me… maybe the newer version should be adapted with these new functions?
In reply to: edit on the Front-end doesn't work anymoreDo the same thing for:
edit function: bbp-reply-edit-link
in the file: wp-content/plugins/bbpress/includes/replies/template.phpon line 1922
// Get uri // $uri = bbp_get_reply_edit_url( $r['id'] ); $uri = ( '?edit=1' );
In reply to: edit on the Front-end doesn't work anymore// Get uri // $uri = bbp_get_topic_edit_url( $r['id'] ); $uri = ( '?edit=1' );
In reply to: edit on the Front-end doesn't work anymoreI have found a solution for this problem:
edit function: bbp_get_topic_edit_url
in the file: wp-content/plugins/bbpress/includes/topics/template.phpsearch for: // Get uri (normal on line: 2507)
set $uri = bbp_get_topic_edit_url( $r[‘id’] );
as text like this: // $uri = bbp_get_topic_edit_url( $r[‘id’] );
then put this after: $uri = ( ‘?edit=1’ );so you get this:
// Get uri
// $uri = bbp_get_topic_edit_url( $r[‘id’] );
$uri = ( ‘?edit=1’ );save the php file and upload and overwrite the file on your site.
In reply to: edit on the Front-end doesn't work anymorewhen I set it manuel this: ‘?edit=1’ after the url, then it works… but it’s not a solution…
In reply to: edit on the Front-end doesn't work anymoreIs there any solution for this problem? Is it a bug?
In reply to: edit on the Front-end doesn't work anymoreI have tested the permalinks, I set it to “standard”, then the problem is solved and the url shows: “http://www…../?topic=ah-les-belles-bacchantes-versie2&edit=1”. When I set the permalinks again to “/%postname%/%category%/” the problem is back, it show the follow url: “http://www…./…/…/edit/”.
In reply to: edit on the Front-end doesn't work anymorethe permalinks on my website are: /%postname%/%category%/