The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Doublepost Prevention Details »» | |||||||||||||||||||||||||
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. Show Your Support
|
2 благодарности(ей) от: | ||
s2lo7 |
Comments |
#252
|
|||
|
|||
I'm sorry. This mod was uninstalled.
|
#253
|
||||
|
||||
Even so, its still pretty cool and will save me a massive headache as one of my users spreads one post over two or three and merging them was getting tedious (I only found it by seeing it in use on here by the way) incidentally, there's no problems on 3.8.4 in case anyone is wondering..
|
#254
|
|||
|
|||
I don't blame you. If that happened to my forum, I'd be sorry this mod was uninstalled too.
|
#255
|
||||
|
||||
Im sure it was. I dont suppose you care to mention why ?
(Since you never bothered to post the error you mentioned, Im not expecting an answer) |
#256
|
|||
|
|||
Quote:
|
#257
|
|||
|
|||
Quote:
If the actual (first) post was say on August 15 at 15.00 and the new post is August 20 at 13.00 the phrase now shows: ......Post added at 13:00 ......... Previous post was at 15:00 ............ What we would like is: .......... Post added at 13:00 .......... Previous post was on August 15 at 15:00 .... |
#258
|
|||
|
|||
Quote:
|
#259
|
||||
|
||||
Quote:
|
#260
|
||||
|
||||
There is nothing I can tell you unless you post the actual database error. However, this mod does not make any database changes.
|
#261
|
|||
|
|||
Quote:
However the date is only shown if you choose not to Update the timestamp of a doublepost. Problem then is, the new post will not show up at the list of unread posts. We want to update the timestap of a doublepost and see the date of the previous post in the phrase. In the meanwhile I dugg into it myself and found a solution. I modified 'Prevent DoublePost 2 newpost_complete' , the code for pdp_spacer1. this : Code:
if ($vbulletin->options['pdp_spacer'] == 1) { $pdptime = TIMENOW; $prevtime = $doublepost['dateline']; if ($vbulletin->options['pdp_bumpthread']) { $spacer = construct_phrase($vbphrase['pdp_spacer1'], vbdate($vbulletin->options['timeformat'],$pdptime), vbdate($vbulletin->options['timeformat'],$prevtime), vbdate('d',$pdptime) != vbdate('d',$prevtime) ? vbdate($vbulletin->options['dateformat'],$pdptime)." " : "", vbdate('d',$pdptime) != vbdate('d',$prevtime) ? vbdate($vbulletin->options['dateformat'],$prevtime)." " : "" ); } Code:
if ($vbulletin->options['pdp_spacer'] == 1) { $pdptime = TIMENOW; $prevtime = $doublepost['dateline']; if ($vbulletin->options['pdp_bumpthread']) { $spacer = construct_phrase($vbphrase['pdp_spacer1'], vbdate($vbulletin->options['timeformat'],$pdptime), vbdate($vbulletin->options['timeformat'],$prevtime), vbdate($vbulletin->options['dateformat'],$pdptime), vbdate($vbulletin->options['dateformat'],$prevtime), vbdate('d',$pdptime) != vbdate('d',$prevtime) ? vbdate($vbulletin->options['dateformat'],$pdptime)." " : "", vbdate('d',$pdptime) != vbdate('d',$prevtime) ? vbdate($vbulletin->options['dateformat'],$prevtime)." " : "" ); } ---------- Post added 5 september 2009at 23:37 ---------- Previous post was 2 oktober 2008at 02:48 ---------- Additional you have to add two spaces after {3} and {4} in the phrase Code:
---------- Post added {3} at {1} ---------- Previous post was {4} at {2} ---------- Hope this helps, maybe it can be added to the plugin? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|