Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Edited by bug
#1
I've changed the configuration in the ACP, in order to hide the "edited by" message, but this still appears! Is there a way to fix that? (I couldn't find a duplicate thread)

Look at this:
http://www.frozendale.com/forum/showthread.php?tid=649&pid=20332#pid20332
Questo messaggio è stato modificato: Oggi 09:52 PM da Sirul Daehl.

and the others in the thread.
[Image: attachment.php?aid=8499]
#2
Obviously it still appears for messages you've edited a couple of days ago.
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
#3
darkteller Wrote:I've changed the configuration in the ACP, in order to hide the "edited by" message, but this still appears! Is there a way to fix that? (I couldn't find a duplicate thread)

Look at this:
http://www.frozendale.com/forum/showthread.php?tid=649&pid=20332#pid20332
Questo messaggio è stato modificato: Oggi 09:52 PM da Sirul Daehl.

and the others in the thread.

Can you confirm that the edits you make now do not show the message?

You can remove the existing "edited by" lines by running this SQL code:
Code:
UPDATE mybb_posts SET edituid=0,edittime=0
(Remember to replace any instance of mybb_ with your forum's database table prefix, if different)
Dennis Tsang
http://dennistt.net
#4
DennisTT Wrote:Can you confirm that the edits you make now do not show the message?
Of course it's the first thing i checked (look at the date of the edits, it's 20 min ago)

Quote:You can remove the existing "edited by" lines by running this SQL code:
Code:
UPDATE mybb_posts SET edituid=0,edittime=0
(Remember to replace any instance of mybb_ with your forum's database table prefix, if different)

I'd classify this as a limitation.
That worked. This means there's a bug in the reset, doesn't it?

zaher1988 Wrote:How did you try to hide it?
In the post settings i set hide from forum members and normal users.
[Image: attachment.php?aid=8499]
#5
Ok so just to clarify, if you make an edit now, there is no "edited by". Correct or incorrect?

I don't know what I was thinking when I posted my previous message. I found another way which might fix the problem.
Dennis Tsang
http://dennistt.net
#6
Correct. No problems now.
[Image: attachment.php?aid=8499]
#7
Ok thanks.

I've got another solution (but it won't matter for you since all the edited by data has been deleted):
in functions_post.php, find:
PHP Code:
        if($post['edituid'] != "" && $post['edittime'] != "" && $post['editusername'] != ""
Replace with:
PHP Code:
        if($post['edituid'] != "" && $post['edittime'] != "" && $post['editusername'] != "" && $mybb->settings['showeditedby'] != "no" && $mybb->settings['showeditedbyadmin'] != "no"

So if both "Show edited by" settings are set to "no" then none of the existing edited by messages will show.
Dennis Tsang
http://dennistt.net
#8
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.
Dennis Tsang
http://dennistt.net
#9
Thank you Wink
[Image: attachment.php?aid=8499]
#10
DennisTT Wrote:
PHP Code:
        if($post['edituid'] != "" && $post['edittime'] != "" && $post['editusername'] != "" && $mybb->settings['showeditedby'] != "no" && $mybb->settings['showeditedbyadmin'] != "no"

Thanks a lot DennisTT..that code solved my own problem too.

Best regards
maatty


Forum Jump:


Users browsing this thread: 1 Guest(s)