Current time: 04-24-2014, 05:49 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Edited by bug
03-10-2007, 09:01 PM
Post: #1
[F] Edited by bug
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/showthre...2#pid20332
Questo messaggio è stato modificato: Oggi 09:52 PM da Sirul Daehl.

and the others in the thread.

[Image: attachment.php?aid=8499]
Visit this user's website Find all posts by this user
03-10-2007, 09:07 PM (This post was last modified: 03-10-2007 09:08 PM by destroyer.)
Post: #2
RE: Edited by bug
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.
Visit this user's website Find all posts by this user
03-10-2007, 09:11 PM (This post was last modified: 03-10-2007 09:17 PM by Dennis Tsang.)
Post: #3
RE: Edited by bug
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/showthre...2#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
Find all posts by this user
03-10-2007, 09:15 PM (This post was last modified: 03-10-2007 09:16 PM by darkteller.)
Post: #4
RE: Edited by bug
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]
Visit this user's website Find all posts by this user
03-10-2007, 09:18 PM
Post: #5
RE: Edited by bug
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
Find all posts by this user
03-10-2007, 09:19 PM
Post: #6
RE: Edited by bug
Correct. No problems now.

[Image: attachment.php?aid=8499]
Visit this user's website Find all posts by this user
03-10-2007, 09:35 PM
Post: #7
RE: Edited by bug
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
Find all posts by this user
03-10-2007, 09:35 PM
Post: #8
RE: [F] Edited by bug
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
Find all posts by this user
03-10-2007, 09:38 PM
Post: #9
RE: [F] Edited by bug
Thank you Wink

[Image: attachment.php?aid=8499]
Visit this user's website Find all posts by this user
04-27-2007, 03:51 PM
Post: #10
RE: Edited by bug
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

Facebooky
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication