Quote:
Originally Posted by Alex_
I edited it now 8 times without success...
I tested the can_moderate condition (filled in some debug output in the showtread plugin) - this is working - I also printed out the history post as plain text on the page - this is also working.
So I guess it's a problem with this line
$post['pagetext'] = $post_temp['message'];
It seems that $post[pagetext] is not the place where my vB reads the post? Or it does overwrite it or something like that...
---
Edit:
Ok in post[pagetext] is the text of the post - I can read it out, it matches... but when I change it within the plugin the post itself doesn't change - so it seems to me that the forum takes the post text not from this var - but from where?
|
Maybe showthread.php was modified in 3.5.3.
If you set $post['pagetext'] to some string, then that would indicate if $post['pagetext'] is being used. It would only modify the post that you are viewing page history for.