MyBB Community Forums

Full Version: completely remove dates from quotes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When you reply on post, there is something like this:

[quote='poster name' pid='694708' dateline='1306223133']

How to remove pid and dateline from source code and make it simple, like in other forum engines? All I want is just:

[quote='poster name']
No... that topic about css and how quote displays in thread.

My question is about reply form.

When I press reply button, all I want to see is only
[quote='poster name']quoted message[/quote]
Oh I see.

I don't think you can, as the pid and dateline is there to recognize what post your actually quoting. I may be mistaken, but that's what it looks like.
bump...
If you want to remove the date from quoting, then here is how;

Open ./inc/functions_posting.php and find; (around last lines of the file)
	return "[quote='{$quoted_post['username']}' pid='{$quoted_post['pid']}' dateline='{$quoted_post['dateline']}']\n{$quoted_post['message']}\n[/quote]\n\n";

and Change it into;
	return "[quote='{$quoted_post['username']}' pid='{$quoted_post['pid']}']\n{$quoted_post['message']}\n[/quote]\n\n";

This'll remove the dateline from your quoted post Wink
Yaldaram, thank you, just what I was looking for.

Also, how do I add a space underneath the quote box, because the reply text is directly underneath the quote box. I assume I would need to add <br><br> somewhere but I'm not sure where, thanks. Smile
Add \n\n at the end of the code just before "; , like this;

return "[quote='{$quoted_post['username']}' pid='{$quoted_post['pid']}']\n{$quoted_post['message']}\n[/quote]\n\n\n\n";