how can i make instead of edited by tsakalos when i edit posts to have something like edited by the moderators team no matter which moderator has done the edit ?
Heloo there
In
Admin CP> Templates > Modify / Delete > Expand > Postbit tempaltes > postbit_editedby
replace the code by this
<p align="right"><span class="smalltext">$post[editnote] the moderation Team.</span></p>
regards
owshhhhhhh

!! hehe i didn't thought of the other edites

!!
sorry
can u be more specific ? make it more clear
I don't have a test board set up at the moment, so I can't give you very specific instructions, but I'll try. If you have any specific questions, just ask.
First create a new template called "postbit_editedby_mod" containing the HTML that zaher1988 posted. Then modify the makepostbit() function in "inc/functions_post.php".
Find... (around line 622 in the latest release)
eval("\$post['editedmsg'] = \"".$templates->get("postbit_editedby")."\";");
Replace with... the code that I posted earlier.
heloo there
i'm just to draw some attention !! umm i think WDZ is using the old php code

but i have tried it , and the new code is like
in inc/functions_post.php
find this code
if($post['edituid'] != "" && $post['edittime'] != "" && $post['editusername'] != "")
{
$post['editdate'] = mydate($mybb->settings['dateformat'], $post['edittime']);
$post['edittime'] = mydate($mybb->settings['timeformat'], $post['edittime']);
$post['editnote'] = sprintf($lang->postbit_edited, $post['editdate'], $post['edittime']);
eval("\$post['editedmsg'] = \"".$templates->get("postbit_editedby")."\";");
}
this is the code he's talking about
however i followed his steps, but it show the normal user name instead
regards
The code I posted was copied directly from functions_post.php in mybb_1_01.zip, so it's not "old." Also, it's the only thing you should replace. Just that one line.
zaher1988 Wrote:if($post['edituid'] != $post['editusername']) {
Huh? Sorry, but that doesn't make any sense to me.
edituid is a User ID number
editusername is a User Name
Obviously they're never going to be equal. If I'm wrong about this, then please explain why...