Version: 1.6, by Xenon
Developer Last Online: Oct 2023
Version: 3.0.6
Rating:
Released: 01-07-2004
Last Update: 02-05-2005
Installs: 288
Code Changes
No support by the author.
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, attachments will be added to the old post as well.
This will be done until the old post is older than 1 hour (you can change this timespan yourself)
by changing $do_bump in the script, you can define wether the post's time will be altered or not.
Enjoy, and don't forget to click install
Notice: If you have installed the Proxy ip to real ip conversion or Proxy Detector v3.1 Hack, then you should probably take a look at this post.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I installed the mod and didn't notice any code excluding administrators and moderators from the restriction. How can I prevent it from blocking admins & moderators?
After upgrade to 3.0.5/3.0.6 i have the same thing here.
Before, admins (i don't know if mods or supermods too) were not affected by the anti-doublepost.
And now... works for admins too.
Anything wrong?
Obviously, i applied the hack again after upgrade.
@FASherman: well, here on vb.org there are often some more features in my hacks than in the released version, as i don't release every single change immediatelly
but i have uploaded the newest version now, which adds the editlog text
i am going to install this mod but i want the option in the admincp to disable it. i know ill have to put it in <if condition> tags and then an <else> at the end but im not sure exactly how.
so i would need an if and else for the top two codes, and this one ^^ needs just and if..correct? so what would the codes be and what would the code i need to add for an ON and OFF radio button in the admin cp be?
it's not needed to post the hack instructions, everyone know them from the file
and actually it's not hard to do.
first of all you have to enable debug mode of your vb.
then got to acp options and you see you can add new settings to the settinggroups
add one to the message posting options yesno as option code
for example:
varname: preventdoubleposts
title Preventing Doubleposting
optioncode yesno
default 1
vbulletin default no
then just change that line:
PHP Code:
if ($type != 'thread' AND $threadinfo['lastpost'] > TIMENOW - $dp_settings['timespan'] AND $threadinfo['lastposter'] == $post['postusername'])
into
PHP Code:
if ($vboptions['preventdoubleposts'] AND $type != 'thread' AND $threadinfo['lastpost'] > TIMENOW - $dp_settings['timespan'] AND $threadinfo['lastposter'] == $post['postusername'])