"Edit Reason" => How I Can Display That For Everyone ??? »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - "Edit Reason" => How I Can Display That For Everyone ???



Ghostsearcher [ Thu 07 Jan, 2010 09:28 ]
Post subject: "Edit Reason" => How I Can Display That For Everyone ???
Hi guys!

It's me again. ^^

I got the phpbb 3.0.6 with Black-Pearl.

You all know, if you edit as admin anyones post, you can write a reason for it, why you have edited it.
And anyone as User can see that you as admin has edited.
So this was for understood what i want to explain further. ^^

Now i want this "edit reason" displayed for EVERY registered User, who can edit his postings.

I know there's a mod for phpbb2. But not for phpbb 3.0.x!

I have searched the Internet for hours, have tried some codes here and a few snippets there but nothing works!!!

Do you know something about this?
~~~
What i've found already?
The "posting_body.html" has the followed row:
Code: [Hide] [Select]
<!-- IF S_EDIT_REASON -->
<tr>
<td class="row1" valign="top"><b class="genmed">{L_EDIT_REASON}:</b></td>
<td class="row2"><input class="post" type="text" name="edit_reason" size="50" value="{EDIT_REASON}" /></td>
</tr>
<!-- ENDIF -->

If i delete the entire rows with "if and endif", every registered user can see the "edit reason" row in the posting body. Hope you can understand what i mean!
BUT it's only the row. I can type in there a little bit but if i sended the posting i can only see that the posting was edited BUT no reason is displayed.
So i guess there's a little bit more to edit somewhere in the forums php/html.
But i don't know where and i don't know what.

Please, can you help me further?

Best Greetings, Testi ^.^


Joshua203 [ Thu 07 Jan, 2010 14:41 ]
Post subject: Re: "Edit Reason" => How I Can Display That For Everyone ???
hi again Test

i can hardly concentrate and probably should not even be behind the pc atm, but i think i get what you want and you might just be looking at the wrong file, posting body is the file the author sees when he/she writes the message, i think you should take a look at viewtopic_body.html

Edit: ...or maybe look at permissions settings in acp but i must admit i could not find this setting either


Ghostsearcher [ Sat 09 Jan, 2010 00:13 ]
Post subject: Re: "Edit Reason" => How I Can Display That For Everyone ???
Meanwhile i solved the problem.
To show the edit reason for everyone it's very simple.
Just open up the "posting.php" in the phpbb3 root and search 3 times for:
Code: [Hide] [Select]
$mode == 'edit' && $auth->acl_get('m_edit', $forum_id)

Now mark the string with:
Code: [Hide] [Select]
&& $auth->acl_get('m_edit', $forum_id)

...and delete it.
Done!
As i say that comes up 3 times. Then save it, clear cache and the edit reason show up for everyone.

Another people says that works without problems.

But I (of course ) got a strange problem now.
As you know, as admin you can "RE"-Edit and you can delete the edit-reason.
You know what i mean?

If i do this now as regular/registered User i can not re-edit/delete the reason AND delete it. (i mean, yes i can re-edit and i can "change" the reason, but it has NO effects if i delete the reason)

I wonder about this because other people says that works without problem by them.
But they got the regular style.
So maybe i have to edit something in Black Pearl OR i have to live with this problem, because any mod in my forum possible prevented it to delete the reason?

I don't know. Maybe you got a solution for it?

Greetings, testi


Joshua203 [ Mon 11 Jan, 2010 08:30 ]
Post subject: Re: "Edit Reason" => How I Can Display That For Everyone ???
this may be a silly remark but if a normal user has no deletion permissions on posts in acp would he/she be able to delete the edit reason? ...just a thought


Ghostsearcher [ Mon 11 Jan, 2010 08:55 ]
Post subject: Re: "Edit Reason" => How I Can Display That For Everyone ???
However i try it doesn't work. It's crazy.


Joshua203 [ Fri 15 Jan, 2010 14:46 ]
Post subject: Re: "Edit Reason" => How I Can Display That For Everyone ???
well i ve had a quick play as an admin but there's quite a few things that confuse me right away

- first of all i think an edited message should always mention that it has been edited, even if no reason was given and especially if this is set to yes in acp
at this moment it does not, it will only show after a user gave a reason (even if "acp>>general tab>>post settings>>Display last edited time information" is set to yes!)


-after giving a reason it s possible to delete the reason text but not the fact it was edited (wich is how it should have worked in the first place in my opinion even if a reason was never given)

the above worked for me the same on both default styles and B_Pearl even when not using your modification to show to all users!

also a little strange: the edit reason or even only the fact it was edited does not show up in the posts preview!

Edit: Icy based it works a little different but it will not let you delete either i think (in fact it will not even let you edit the reason as far as i can see)

Last but certainly not least edit:
If i view the edited posts as unregistered guest (on my own phpbb install) i can only say ...why did you need to modify this? (all is allready visible to everyone if set to yes in acp after a reason is given)


rav098 [ Fri 26 Feb, 2010 09:27 ]
Post subject: Re: "Edit Reason" => How I Can Display That For Everyone ???
its not working


Joshua203 [ Fri 26 Feb, 2010 09:40 ]
Post subject: Re: "Edit Reason" => How I Can Display That For Everyone ???
that's a great detailed description of your problem rav098




Powered by Icy Phoenix