View Full Version : New Posting Features - Doublepost Prevention
forexforum
08-05-2011, 10:14 AM
Hi there,
Can someone help me?
I am having trouble creating a post/thread via vbulletin mobile android app that I bought as a suite. I noticed the plugin is causing the problem.
Can you help to teach me how to add the code below?
if (!VB_API)
{
insert plugin code here
}
But how to insert and where?
Paul M
08-05-2011, 10:29 AM
What problem exactly does it cause ?
bosanci28
08-07-2011, 04:00 AM
llooks like is not working in 4.1.5
Paul M
08-07-2011, 10:03 AM
llooks like is not working in 4.1.5
It works just fine in 4.1.5 :)
bosanci28
08-07-2011, 04:10 PM
hmmm,i try to edit those setting in /admin/options...
but i still can make the same new tread or if i just add a same reply to a tread.
i will put up a screen of my settings,can you give me a advice what will be better how to set them?
thanks friend
Paul M
08-07-2011, 05:58 PM
Those settings are fine.
Sworm
08-07-2011, 06:44 PM
There's some knowed not compatibility with Stoebi "Hide Links For Guests (https://vborg.vbsupport.ru/showthread.php?t=123415)" ?
bosanci28
08-07-2011, 09:07 PM
Those settings are fine.
well,dont know,is just not working for me.
i have sent a pm,to you.
thanks,
chriske
08-07-2011, 10:38 PM
First off all thanks for this mod.
How can i translate the phrase:
---------- Post added at 01:34 ---------- Previous post was at 01:34 ----------
Also i noticed the posts don't get merged when i add attachments to the posts.
Paul M
08-07-2011, 11:08 PM
How can i translate the phrase:
---------- Post added at 01:34 ---------- Previous post was at 01:34 ----------
Edit the phrases, they all begin with pdp_spacer
Also i noticed the posts don't get merged when i add attachments to the posts.
That is by design.
is there any old version that can work with vb 4.1.2 ?
too bad the current version can't run in my forum
Paul M
08-11-2011, 09:54 AM
Someone attached the old version on the previous page.
Someone attached the old version on the previous page.
it worked! Thanks a bunch. Marked as installed ;)
Deirdre
08-21-2011, 02:37 AM
It's not working anymore for me either. 4.1.5 level patch 1
SacredChaos
09-07-2011, 05:19 AM
Does this work with 4.1.5?
Paul M
09-07-2011, 10:00 AM
Yes.
SacredChaos
09-08-2011, 06:49 AM
Awesome. Installed and working great.
War Machine
09-11-2011, 03:47 PM
After installation mod, my forum IS BLANKED!!! I don't see my topics...HELP MEEEEE!!!
VB Ver. 4.1.5 Patch 1
In my log error i read this!
[11-Sep-2011 19:59:36] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/laquint4/public_html/board/clientscript/ckeditor/ckeditor_php5.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/laquint4/public_html/board/vb/ckeditor.php on line 13
If I read my forum as guest, i read all post, but if i login, all my topic are blank, i don't see anything!!! Help me please!!!
Paul M
09-11-2011, 09:31 PM
That error has nothing to do with this, you seems to be missing ckeditor files. I suggest you re-upload all your files.
War Machine
09-13-2011, 11:07 PM
Ok, i have copied clientscript folder again and now it works, but, a user today, have add another post in her topic, and it have created a new post!
In options tab, i've set minutes to 4000 (for 3 days about), but it work in some cases. Why?
CountRock
09-24-2011, 03:11 AM
Works great with 4.1.6~
TheSSDReview
10-03-2011, 11:42 PM
Is there a version that works with 4.1.1?
Paul M
10-04-2011, 09:49 AM
Check post #248.
TheSSDReview
10-05-2011, 02:32 AM
Installed!
imranbaig
10-13-2011, 12:48 AM
4.1.5 Internal Server Error, Upgrading the Forum to 4.1.7 to see if it works.
vanquish.securi
10-13-2011, 02:29 AM
Works great on vB 4.1.7 default template. Much needed. Marked install, nominated, 5 star.
DragonMasterNYC
10-14-2011, 01:44 PM
I have one small suggestion, could we get an option to always merge the post if we don't want to deal with the time limit. I've had a few instances that the system doesn't merge post even though I've set the time to 99999999... Any help to solve this problem is much appreciated.
Thanks ahead of time
Dragon
Paul M
10-14-2011, 02:37 PM
Thats probably because one of them had attachments, not the time limit.
Paul M
10-16-2011, 12:22 PM
Version number updated to be consisteant with other updates.
Note this is only available for 4.1.4 onwards due to the editor update and autosave.
Crotan
10-16-2011, 06:53 PM
Version number updated to be consisteant with other updates.
Note this is only available for 4.1.4 onwards due to the editor update and autosave.
Was this update in name only?
Paul M
10-16-2011, 07:04 PM
Yes.
misericorde
10-16-2011, 08:14 PM
Thank you Paul
Installed
Nice !!!
Scyther
10-19-2011, 09:45 AM
Marked Installed.
Nice Mod.
clutchthese
10-19-2011, 12:19 PM
Great mod! installed!
Gripi
10-22-2011, 10:54 AM
is it possible to make this code to allow double post if the double post is the 2nd post in the thread? only for 2nd post.
because lots of people in my forum reserved the 2nd post to use in the future due to the limitation of total character in a post.
thanks
Paul M
10-22-2011, 11:49 AM
Im sure it would be possible, but Im not sure how off the top of my head.
Gripi
10-22-2011, 01:33 PM
could someone tell me what is the code like this:
if this post is second post in the thread, abort
or if this post under the 1st post in the thread, abort.
i will put that command inside the plugin manager, and above before the process run.
Gripi
11-06-2011, 01:44 PM
hm.. no one could help?
a code like this, but i really2 no idea how to make it works, already tried couple times:
if ($post[postcount] == 1)
{
a code to abort the process;
}
but i'm sure code like this in the plugin that cancel the process:
if ($vbulletin->options['pdp_ipcheck'])
{
if (IPADDRESS != $doublepost['ipaddress'])
{
$process = false;
}
}
please help..
Paul M
11-06-2011, 06:40 PM
Try this ;
if ($dp_threadinfo['replycount'] == 0)
{
$process = false;
}
Gripi
11-07-2011, 07:04 AM
works like magic..
thank you very2 much :)
spillage
11-15-2011, 11:22 PM
This is a recent install for my site... the idea is great.
I've been keeping an eye out to see how it performs.
I have it applied to all forums, and only to exclude staff.
The window is set to 5 minutes.
Yesterday there was a double post at 2mins that got by.
Today it caught a double post, but the time-stamp is off by 5hrs.
Any ideas as to why?
Thanks,
https://vborg.vbsupport.ru/external/2011/11/31.jpg
S3Ponline
11-21-2011, 06:27 AM
I’m not sure why it’s doing this but when I was testing it out, it kept double posting.
I would post “Test”
and it would have TWO instances of “test”
I have VBSEO so I’m wondering if that’s conflicting.
Here is an interesting thing, this won't merge posts made by someone using the Tapatalk app for mobile devices.
Any ideas as to why this may be happening?
Paul M
11-23-2011, 09:17 PM
Not a clue. I dont know anything about Tapatalk.
yjeanrenaud
12-20-2011, 05:05 AM
Me too got that issue with tapatalk. I guess it has something to do how that posts to the forums.
it seems not to invoke the hook
Luca_ITA
12-23-2011, 08:15 PM
work fine on vb4.19, thx!
+
italian translate
Froberg
01-11-2012, 12:56 PM
Paul, you Sir, are awesome-sauce distilled in to even more awesome concentrate!
Thank you so much!
Arnowt
01-21-2012, 03:59 PM
Thank you very much for the work
Raz0r.
01-24-2012, 11:33 AM
Thank you so much for this Paul. Working perfectly fine on 4.1.10 aswell i see(atleast for me) :)
Legende
01-24-2012, 11:52 AM
For me it's not working anymore on 4.1.10?
thenamesgould
01-25-2012, 10:20 AM
No, doesn't work for me in 4.1.10 either. I wonder if a reinstall would help ...
Paul M
01-25-2012, 11:24 AM
This works fine on 4.1.10
thenamesgould
01-26-2012, 09:46 AM
Actually it does usually work ... it must have just been a one off that it didn't. How weird ...
spillage
01-28-2012, 12:41 PM
Ref: https://vborg.vbsupport.ru/showpost.php?p=2268358&postcount=291
This issue still exists, and hasn't been acknowledged or commented on.
Here's today's example (1/28/12)... the second post was 2min after the first (caught by my 5min window), but compare the timestamps.
https://vborg.vbsupport.ru/external/2012/01/14.jpg
Noerenberg
02-04-2012, 04:12 PM
I?m not sure why it?s doing this but when I was testing it out, it kept double posting.
I would post ?Test?
and it would have TWO instances of ?test?
I have VBSEO so I?m wondering if that?s conflicting.
I have the same problem.
And when i reloed the site, everything is ok. But for the first time it will make confuse the user
New Joe
02-28-2012, 03:20 PM
I have the same problem.
And when i reloed the site, everything is ok. But for the first time it will make confuse the user
Same problem as me
New Joe
02-29-2012, 02:57 PM
I?m not sure why it?s doing this but when I was testing it out, it kept double posting.
I would post ?Test?
and it would have TWO instances of ?test?
I have VBSEO so I?m wondering if that?s conflicting.Same as me, I have had to un-install it as it would keep doing this.
Shame there's no fix for this
too_cool_3
02-29-2012, 08:59 PM
Tested and works fine for me on 4.1.10. However, I don't have vBSEO
HHelp1
02-29-2012, 09:46 PM
Any SS please?
Paul M
03-01-2012, 04:08 PM
What is SS ?
anderow
03-01-2012, 08:31 PM
Same problem for me 4.1.8
I am running VBSEO
WHen testing.
First post 'test'
second post, 'test2'
starts a second post with
test
test2
in it.
Third post
'test3'
leaves the duplicate posts above and creates a new one with
'test'
'test2'
'test3'
so I now have seperate posts with
'test'
and
'test'
'test2'
and
'test'
'test2'
test3
instead of appending with the timestamps to just the first post, it is leaving the initial post and duplicating a new post with updated content
Has anyone managed to fix this duplication issue? Im using standard settings that come with this mod out of the box.
Brilliant mod, just need to get it working on my site ;/
HHelp1
03-01-2012, 08:47 PM
What is SS ?
Screen Shot lolz
Nirjonadda
03-09-2012, 01:57 AM
Installed...working perfectly on 4.1.10 !!!
njoker555
03-10-2012, 04:49 PM
Seems to work great on 4.1.11 - nice job!
This mod don´t work if you have vbseo installed?
Please let me know, i have vbulletin 4.1.11 running...
And thanks! If works, is a very very nice Mod and i will nominate It´s really good!!!!
Paul M
03-16-2012, 02:31 PM
I do not have vbseo running on any vB4 forum, so I realy couldnt tell you for certain.
There is no reason it shouldnt, but VBSEO can affect a lot of things depending on what features you have turned on.
Paul! Works great with vbseo too! Thanks for the quick response anyways!
art5041
03-23-2012, 09:57 PM
awesome Thanks !
Alan_SP
03-24-2012, 07:15 PM
Paul, could you make version 4.1.0 available, I'm still on vB4.1.2? Please...
Paul M
03-25-2012, 02:00 PM
Im afraid I dont have a copy lying about.
I removed a lot of old stuff last year, the only copy I *may* have is stored 'offsite'.
Alan_SP
03-25-2012, 06:04 PM
If anyone else still has a copy of v.4.1.0, please, could you attach it.
Thanks in advance.
Paul M
03-25-2012, 09:23 PM
Actually, now you mention it, I recall someone already did.
https://vborg.vbsupport.ru/showthread.php?p=2219052#post2219052
Alan_SP
03-27-2012, 09:40 PM
Thanks Paul, and of course, thanks to Sunka. For some reason I couldn't like Sunka's post and I need to like more posts of others before I could like yours.
Maybe you could add it in first post, for others who may need older versions?
Paul M
03-28-2012, 10:43 PM
Yeah, that would save me hunting for it again. Added.
Alan_SP
03-29-2012, 05:55 PM
Sorry, I don't see it added.
Did you maybe overwrite newest version?
EDIT: Now I see it, at the top of first post, as link to post. Sorry, I expected to find it with attached files. Ignore this post...
Raz0r.
04-08-2012, 06:44 PM
I installed this at once i got my forum up running, but after v4.1.7 it stopped working for me. Now anyone can double post and my moderators have to deal with it. Currently running v4.1.11, any incompatibilities i should now off?
Paul M
04-09-2012, 12:21 PM
Nope, it works fine on 4.1.11.
Crotan
05-23-2012, 03:40 AM
About time they implemented this in vBulletin, looking forward to 4.2
Mr_Running
05-23-2012, 04:37 PM
Thanks Paul and vBulletin
Now that is now part of the 4.2.0 software.
Well Done Paul. :)
Uninstalled ;)
michal72
05-24-2012, 03:50 AM
there is a small bug for comments on articles. first comment is merged with the first post which inform about article but shouldn't. the same for 4.2
it seems there is no timestamp spacer in 4.2
regards
wtfaatp
05-24-2012, 03:51 AM
My question is - with the mod included with Vb - does it do the same basic functions?
I'm dling 4.2 now and about to upload it to test site but any outside help would be great!
Gn_Snake
05-24-2012, 07:35 AM
Hello Paul,
i have installed VB4.2.0 , had i uninstall this plugin?
Boofo
05-24-2012, 07:41 AM
Yes.
alhidaya
05-24-2012, 11:35 AM
It's not very cool to have put this hack in the latest version 4.2.0 of vbulletin result resource
Boofo
05-24-2012, 11:53 AM
Why? you can disable it.
This sets the time limit used by the double post feature. If the posts are outside this limit they will not be merged. Setting this to zero disables the feature.
Boofo
05-24-2012, 12:20 PM
Paul, what's a good setting for the time limit on this?
Skyrider
05-24-2012, 02:31 PM
Wait, yes? This plugin is being automatically disabled when you upgrade from a 4.1 to 4.2 vB installation. I removed this plugin, seeing it's already within the core of vB.
Paul M
05-24-2012, 04:45 PM
it seems there is no timestamp spacer in 4.2
Thats correct.
there is a small bug for comments on articles. first comment is merged with the first post which inform about article but shouldn't. the same for 4.2
Bugs in pre 4.2 versions will not be fixed now. For 4.2 itself you will need to log that in Jira.
My question is - with the mod included with Vb - does it do the same basic functions?
I think 4.2 has everything except the timestamp. I may release a mini mod for that at some point.
Also, 4.2 will merge posts with attachments, which was never added to this.
Hello Paul,
i have installed VB4.2.0 , had i uninstall this plugin?
Yes, you can uninstall it.
Paul, what's a good setting for the time limit on this?
Thats entirely up to the site admin. I think I use 2 hours on CF.
Its set to 24 hours here (and on vb.com I believe). I would not use anything greater than 24 hours.
It's not very cool to have put this hack in the latest version 4.2.0 of vbulletin result resource
I disagree, but either way, such comments are completely irrelevant to this thread.
Boofo
05-24-2012, 05:01 PM
Thanks for the response. I had set it at 60 but I think 2 hours is better.
why in vbul 4.2 has very simple menu?
I think, the option menu this adds on much better than default 4.2 :).
Timac LEO
06-01-2012, 12:57 AM
Update Doublepost Prevention for vbb 4.2 ?
TheSupportForum
06-01-2012, 01:03 AM
Update Doublepost Prevention for vbb 4.2 ?
Doublepost Prevention is already part of 4.2.0
please read :
https://vborg.vbsupport.ru/showthread.php?p=2332064#post2332064
Mr_Running
06-01-2012, 01:16 AM
I think 4.2 has everything except the timestamp. I may release a mini mod for that at some point.
Yes, Please. :D
krystikel
06-20-2012, 01:02 AM
I've got 4.1.12 and am holding off moving to 4.2 for a bit so this is perfect. Installed and tested = Love!
yjeanrenaud
06-20-2012, 09:40 AM
works like a charm, but not with tapatalk posts :-(
Naijasite
08-19-2012, 02:37 AM
All my Rss feed are posting duplicate Thread, can this stop rss duplicate Thread?
Please reply
yjeanrenaud
08-19-2012, 07:59 AM
most likely depends on your feeds. make sure they always supply unique QUIDs
ostap
10-17-2012, 07:27 AM
4.1.12 works !!!
Reed_HCT
10-19-2012, 02:13 PM
Uninstalled due to upgrade to 4.2.0
Skyrider
11-14-2012, 07:43 AM
Uninstalled due to upgrade to 4.2.0
Re-installed. This plugin prevents duplicate posts through Tapatalk & ForumRunner as they can bypass it with the default doublepost merger within vB.
yjeanrenaud
11-14-2012, 08:55 AM
cool! tapatalk could also bypass this mod, great if that works now
Skyrider
11-14-2012, 09:17 AM
cool! tapatalk could also bypass this mod, great if that works now
Nope, with this plugin installed you can no longer post double (or more) posts with tapatalk/forumrunner
Alan_SP
11-17-2012, 10:13 PM
There's one bug with DBTech's Advanced User Tagging (v3.0.5, maybe all in v3 series) and this mod.
Anyway, it is noticeable if you use Paul's mod double post prevention. I described bug here: http://www.dragonbyte-tech.com/f51/strange-bug-mentions-paul-ms-double-post-prevention-mod-9721/
Solution is to as follows:
Find Prevent DoublePost plug-in for newpost_complete hook (all plug ins have same name, but hook location is different).
In plugin you need to find this code:
$spacer = '.'"]'."\n\n".$spacer."\n\n".'';
And it needs to be changed into this:
$spacer = "\n".'.'"]'."\n\n".$spacer."\n\n".''."\n";
It adds line break at the beginning and at the end. Actually, for this bug it is only necessary to have only in the end line break, but I added it to both places, so people could easier remove color tags from the rest of the post.
Now it works fine.
If you use both of this mods, you certainly would like to apply this change. And, it makes easier for users to quote double posts from other's if they want to delete unnecessary content of their posts (it puts information about double posts in new lines, not the same as users text).
Paul M
11-18-2012, 07:09 PM
Its not really a bug, but it is something I noticed a long while ago (when quoting), which is why I actually changed it when I added this to the 4.2.0 core.
If you want to match what vB4.2.0 does, change it to this ;
$spacer = "\n\n" . ' . '"]' . $spacer . '' . "\n\n";
Alan_SP
11-19-2012, 06:33 AM
Thanks Paul. One new line is enough for me, but I'm sure that some would use as it is in vB4.2. :up:
When I said bug, I meant that this didn't worked for DBTech AUT. Strange thing is, it worked with older version of AUT and your mod without any need to change it.
EDIT: By playing a bit with spacer, this is what I find the most satisfying for me:
$spacer = "\n\n".'.'"]'.$spacer.''."\n\n";
It makes spacer all in a one line and separated from posts' content. I think this is the most easiest for users to delete from their quotes. Mentioning works too. :D
Skyrider
11-19-2012, 12:53 PM
Hey Paul. Is there any specific reason why Tapatalk and Forumrunner ignores and bypasses the double post prevention feature build in the core of vB while your plugin (this one) works fine in preventing double posts made through tapatalk/forumrunner?
Paul M
11-20-2012, 08:02 PM
Since I have no clue how Tapatalk and Forumrunner work, I dont know.
muimui
05-08-2013, 02:01 PM
This product is not compatible with version 4.2.1 of vBulletin. (Compatible starting with 4.1.4 / Incompatible with 4.1.99 and greater)
djbaxter
05-08-2013, 02:24 PM
This product is not compatible with version 4.2.1 of vBulletin. (Compatible starting with 4.1.4 / Incompatible with 4.1.99 and greater)
That's correct. It's because the feature is already built in to versions 4.2.0 and 4.2.1 so there's no need for an add-on.
PartiBoi
05-31-2013, 02:26 PM
Ok I installed this but now instead of 1 double post I get two sets!! its double posting the double post!
http://tinypic.com/r/f5dtgj/5
iZefi10
07-31-2013, 02:13 PM
Fabulous plugin, thank you :)
muimui
08-13-2013, 05:10 PM
its work for vb4.2?
yjeanrenaud
08-13-2013, 05:21 PM
yes, it does
Paul M
08-13-2013, 10:03 PM
As the main post clearly states :)
This modification is not required for vBulletin 4.2.x Onwards.
mikez006
08-16-2013, 08:26 PM
The new 4.2.x DoublePost pervention works, however it still bumps threads to the top of the forum. Is there some way to prevent this from happening?
muimui
08-17-2013, 05:13 PM
please updated for 4.2 version :)
Paul M
08-17-2013, 08:00 PM
please updated for 4.2 version :)
See post #365, three posts above. ;)
Paul M
08-17-2013, 08:02 PM
The new 4.2.x DoublePost pervention works, however it still bumps threads to the top of the forum. Is there some way to prevent this from happening?
Set the "Timestamp Update" option to No.
Kyo-dono
09-06-2013, 09:36 AM
As the main post clearly states :)
Why not? Is in 4.2.1 a in-built setting for this? I can't find it.
ozzy47
09-06-2013, 09:58 AM
The settings can be found here.
ACP --> Settings --> Options --> Message Posting Doublepost Options
David Copeland
01-22-2014, 12:49 AM
The settings can be found here.
ACP --> Settings --> Options --> Message Posting Doublepost Options
I am running Ver 4.2.2 and this does not stop the double posts. Do I need to install your mod first, or will the mod not work on Ver 4.2.2 ?
David
Paul M
01-22-2014, 12:59 PM
You dont need it for 4.2.2, the functionality is built in.
Im not sure what would happen if you installed this as well, but it would probably still work.
ozzy47
01-22-2014, 04:00 PM
I think you are confusing this mod or the double post with something else. The purpose of double post prevention is to stop a member from making a post, then posting again a few hours later to bump the thread.
I believe what you have going on is the exact same post being posted twice. If that is the case, it is either a mod causing it, or your server in I'm some need of serious help. Seems like it is slow to respond to a post request.
Legende
02-03-2014, 03:33 PM
Hi
I have the problem that when i use the quick reply field then it gets doubled as answer? If i reply in extended normal form then it works as intended.
Regards
David Copeland
02-24-2014, 08:03 PM
The only way we were able to stop the double posting was to disable the QUICK REPLY . Since then, we have not had double posting.
David
tuRiver
10-04-2016, 09:18 AM
Does anybody have the double post problem also? On latest vb 4,x?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.