![]() |
Doublepost Prevention
As of 24 Nov 2017 this modification has been withdrawn.
This is an updated version of the popular modification, previously released by Xenon. It is released with his kind permission. Basically, if member posts in a thread where they were the previous last poster, then if the conditions are met, their new post will be auto-merged into the previous post instead of creating a new "double" post. A number of options are provided ; Time Limit - if more than xxx minutes have passed since the last post, no merge is done. Timestamp Spacer - if enabled, a timestamped spacer is added between the old post text and the new post text. Post Timestamp Update - if enabled the newly merged post will have its post time updated to the new time, otherwise it retains the time of the original post. Spacer Colour - allows you to set the colour of the spacer between merged posts. Usergroup exceptions - Allows you to exempt certain usergroups from the doublepost merges. Forum exceptions - Allows you to exempt certain forums form the doublepost merges. All settings are located in vBulletin Options > Doublepost Prevention. To install just unzip the XML and import into vB using the ACP Product Manager. History: v3.8.001 : First Release for vB 3.8. v3.8.002 : Phrased the post separater. v3.8.003 : Added JS Template - removing need to edit quick reply javascript file. v3.8.004 : Updated spacer options. v3.8.005 : Updated timestamp spacer to fix issue with large merge times. |
awesome thanks
|
Thanks, when you use quick reply, it doesn't work with ajax, it places another post underneath but all off center until you refresh.
|
Great.
For all who have the compressed javascript files: Just copy the content of vbulletin_quick_reply.js into http://elfz.laacz.lv/beautify/ Beautify it, change the file and upload it. EDIT: This does not work, cause content of the uncompressed javascript file is differen!!! |
Tagged. Is it possible not to effect on thread openers. I mean, If I am the tread opener, then it wont effect me. I really need that badly. :( Or is it there already?
|
Quote:
You MUST do the javascript edit tho. Quote:
|
be nice to see something like this for attachments, but have it if any member post an attachment with the same name it will not let them post it.
|
Thanks a lot Paul but what about attached the file that you say it is need to edit ?
i can not edit !! or i mean i do not know how to !! |
I searched in the javascript, but no such code to replace with.
|
thanks Paul... looks like the harrasments to release this version finally gave a result.. LOL!
|
Quote:
Quote:
Quote:
Quote:
|
Find the following code ; in the txt.file not found....
|
Quote:
|
The code is there (in vbulletin_quick_reply.js)
I just looked for it again ; Code:
function qr_do_ajax_post(ajax) |
Awesome Paul, good job mate !
Later edit: What the hell, i can't find any of those phrases in the js file... A bit Later edit: I'm using 3.8.1 |
Quote:
|
Are you sure you have the correct file (vbulletin_quick_reply.js, 3.8 version, uncompressed).
There is no way that can be missing ;) |
Dude, i just downloaded 3.8.1 from the vBulletin Member's Area, and the code is not there.
vBulletin gets downloaded with uncompressed js's by default, right? |
Quote:
*click* install |
Quote:
But i added it, and it worked :) |
Looks like i was wrong... vBulletin comes with compressed javascripts.
You got to manually select the "Package - Uncompressed JavaScript". Sorry for the trouble Paul... geez i feel dumb... |
I think i found the problem. The 3.8.0 quick reply has the code. I donwloaded that one, and it wasnt hard to find that code.
But when i download 3.8.1 and do the same thing, the code isn't there, i think there has been a code change in that script. |
I have 3.8.1 and no saw this code but open vbulletin_quick_reply.js with Word and I saw this code and change..!!!But if i do quick reply saw two posts in thread but if doing refresh doing one..!!!Why...?Can doing one with auto refresh...?
|
Just to be quite clear - the javascript file has not changed in ANY version of 3.8.x
Please READ the big red note, its there for a reason. :) Quote:
|
HI Paul,
This is a great mod and works well on my current board. The old one is working on my 3.8, np. With that said, I'd like to ask a hypothetical question: If I install yours (and remove my old one), AND and in the future upgrade my forum, will the javascript file that needs the EDIT, be overwritten? |
Awesome! :)
|
Quote:
|
Quote:
Quote:
vBulletin 3.8.1 And anyway why is the Fileedit needed? Xenon?s did not need any Fileedit. This seems to be too much work after every vBulletin Update for this Mod. Never seen a Mod which is using the uncompressed Files before. Will use Xenon?s till there is a Update without any Fileedit needed. :( |
TBH, I give up. It works fine (as seen on this site, and my forum).
Im already sick of repeating that the code is there. FYI, the file edit is to make ajax merge work properly, I really dont care if you havent seen one that edits JS files before. This does, simple as that. This is the only update you will see so you will have a long wait for any other. |
Thanks Paul ! Thanks Xenon !
|
Thanks, Paul. [s]The only issue I see with the current version of this add-on is that the edits to vbulletin_quick_reply.js are going to need to be redone with each upgrade. I don't suppose there's any way around that, is there?[/s]
Never mind - clarified above. So if one decides not to bother with that edit, it will still work correctly but not update via Ajax (i.e., you'll have to refresh the page to see the automerge)... is that correct? |
Works fine, very nice mod.
However, is it normal for it to create a new post when using quick reply? Edit: I think it's okay, it makes a second post when using quick reply but when I reload the thread it's only the one post. |
works perfect thanks Paul
|
Quote:
Quote:
|
Quote:
|
Quote:
But could someone enlighten me, why the code is different in the compressed one? |
Got it fully working now, excellent mod and much appreciated. I like many of your mods, Paul M.
|
Quote:
First I was happy to see new version is available, then disappointed by installation step where you need to edit vB file. Thanks to both, Paul and Xenon. |
Hmmm... You should move this:
Code:
---------- Post added at Something like: Code:
Post added at {1}, previous post was {2}. |
Quote:
|
All times are GMT. The time now is 05:28 PM. |
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:
|