![]() |
Combining sequential posts
Greetings fellow vbulletineers.
My question is: How does one go about preventing a user from posting several messages one after the other without setting a delay. In particular I'm interested in whether it is possible to combine posts that are posted by the same user one after the other. Scenario: User posts a message, he makes another post right after that one. Have the forum combine the two messages posted in rapid succession by the same user into a single post. Hopefuly I made myself clear :) I've seen it done before on vbulletin platform but I'm not sure if it's the included option, a separate module or they coded it in themselves. Your insight is welcome and appretiated! 4.1.7 |
This site does something similar, but I don't think there's a mod for it and I don't know exactly how it was done. But I took a quick look at function build_new_post() in includes/functions_newpost.php. I think you could modify that code to check the last visible post for the thread, and if it's by the same user and within a certain time period, modify that post instead of adding a new post. There's already code to check for posting a duplicate so I imagine you could modify that code instead of adding an extra query.
|
All times are GMT. The time now is 09:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|