The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Prevent Doubleposting Details »» | |||||||||||||||||||||||||
When a User posts into a thread where he already has the lastpost, no new post will be added. The lastpost of him will be edited and the new text is put after his first message.
This will be done until the old post is older than 24 hours (you can change this timespan yourself) Nothing more to say about that, it's the quite same as my vb3.0 version. This Mod should run with 3.6 as well ** Please make sure you ENABLE this product after you install it - it is disabled by default. ** For vb 3.8 there are two alternative updates ; https://vborg.vbsupport.ru/showthread.php?t=203705 https://vborg.vbsupport.ru/showthread.php?t=204177 Show Your Support
|
Благодарность от: | ||
inphoenix |
Comments |
#222
|
||||
|
||||
Very nice hack! I have used Paul M's fix, but the time only changes on the post itself. So in "new post" searches it doesn't show up and the wrong time is still displayed on the "lastpostby" bit in the forumdisplays.
Anyone know how to change that so the automerged post will turn up as a new post in searches? Thank you. |
#223
|
|||
|
|||
This is a great modification, but is there any way to disable it for certain forums, as some forums require double posting rapidly.
i dont know if anything has been posted in this thread about that, so if it has im sorry. any help would be very much appreciated. |
#224
|
||||
|
||||
I used the code based off someone's plugin posted a few pages back. I removed the time checking so it would always merge their last post, however it would update all the times so it acted as if it was a new post in the thread.
In the postdata_presave I added the following with all the other set's: PHP Code:
PHP Code:
The reason the forum & thread do not get updated is because an "edit" creates the $this->condition and thus the other two queries will not run automatically. Hope this helps. |
#225
|
|||
|
|||
I have modified the code as follows:
Code:
$post['message'] = $doublepost['pagetext'] . $dp_settings['spacer'] . " $vbulletin->userinfo[username] added " . intval((TIMENOW - $doublepost[dateline]) / 60) . " minute(s) " . intval((TIMENOW - $doublepost[dateline]) % 60). " seconds later...\n\n" . $post['message']; |
#226
|
|||
|
|||
PaulM ur fix not workin when upgraded to 3.5.3
Quote:
|
#227
|
|||
|
|||
Quote:
I seem to recall that you're not developing this as a plugin, but just in case... |
#228
|
|||
|
|||
you go to the vbulletin options and you can add linebreaks or whatever you want to do.
|
#229
|
|||
|
|||
any suggestion ?
Quote:
|
#230
|
|||
|
|||
I got this to work on my 3.5.3 board (TweakGuides Forums) by using the original code, modifying as provided by Paul M, and also adding one new feature I think is very useful. This code works with AJAX (e.g. Quick Reply) without any problems, it automatically refreshes the page:
PHP Code:
I also added an Additional Comment: heading in the Spacer, so that each automerged reply looks like this: Additional Comment: Second post text merged into first post Additional Comment: Third post text merged into first post That way it becomes obvious what's been merged, both to the user and the reader. Also helps prompt the user to use the Edit button to add additional comments next time rather than just post multiple times in a row. As I said, this now works perfectly on my board, and having tested it with both standard replies, quick replies using full AJAX features enabled, there are no errors or glitches. Many thanks to Xenon and Paul M for this great mod, very useful and prevents a lot of conflicts and work for mods who get tired of having to merge multiple posts by individuals. |
#231
|
|||
|
|||
Nice! but it works same as Andreas's Product
but PaulM's method don't need refreshing |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|