Log in

View Full Version : Prevent Doubleposting


Pages : 1 [2]

j_86
05-09-2005, 05:36 PM
I heard this does something bad to the search engine in vBulletin - something about psots not being indexed properly? Is this correct?

Xenon
05-10-2005, 06:06 PM
nope, that's an incorrect information you have.

The search engine problem on vb.org lately have a totally other reason.

mkdevo
05-19-2005, 10:40 AM
installed and love it. thank you.

one question - would it be possible to exclude certain usergroups from following the auto-merge rule (so certain usergroups can make multiple posts in a row)?

thanks again!

Acers
05-20-2005, 04:36 PM
super hack.. and thanks marco for that time tip ;)

Xenon
05-23-2005, 03:44 PM
would it be possible to exclude certain usergroups from following the auto-merge rule

yep, just add the to the condition
if ($type != 'thread' AND $threadinfo['lastpost'] > TIMENOW - $dp_settings['timespan'] AND $threadinfo['lastposter'] == $post['postusername'])

that part:
AND !in_array($bbuserinfo['usergroupid'], array(1,2,3))

prawn
05-29-2005, 01:43 AM
nope, i assume you made a mistake during the install process.

i did not get a similar report yet.

somehow the file version was at 3.0.1.. fixed that. just wanted to let you know. thanks for the hack. :squareeyed:

mholtum
05-30-2005, 02:42 AM
/me installs!

G0F0RBR0KE
05-31-2005, 08:11 PM
:surprised: i'm not a good installer. I can't install this. Anyone wanna help me out just contact me on MSN at alexanderjm316@hotmail.com or AIM me at evilakuma2006

MajorFm.com
06-15-2005, 03:31 PM
Will this work on 3.0.3?

Xenon
06-15-2005, 03:35 PM
yes!

MajorFm.com
06-15-2005, 03:38 PM
perfect... thanks xenon!

GSX-Racing
06-15-2005, 10:17 PM
Will it work on 3.0.7?

mkdevo
06-16-2005, 10:25 AM
Will it work on 3.0.7?

yes!

Xenon
06-16-2005, 05:08 PM
best example is vb.org ;)

biggazillakilla
06-16-2005, 10:29 PM
Wow, that's great, fast, and easy. Thanks! install

Lee
07-11-2005, 02:43 PM
Wow, that's great, fast, and easy. Thanks! install
What change do I need to make to prevent the first post as being quoted in the merged post?

Xenon
07-11-2005, 03:51 PM
erm?

my hacks doesn't autoquote the first post.

Ninth Dimension
07-15-2005, 07:17 PM
Working great, thank you..

/me clicks install

commTRU
07-18-2005, 06:49 PM
Excellent hack, thanks very much :)

o0Hubba0o
07-19-2005, 03:45 AM
Excellent hack, thanks very much :)
Yep, love it!

csidlernet
07-20-2005, 09:02 AM
thanks man.

prawn
07-20-2005, 03:35 PM
Any plans for 3.5 Xenon? :speechless:

Xenon
07-20-2005, 08:07 PM
yep :)

as said we need it for vb.org as well :)

Snake
08-03-2005, 09:31 AM
Could you upgrade it to 3.5 RC1 please??

Cash4Cookies
08-04-2005, 03:41 PM
Great hack, is there any way you could make it effect all threads in JUST one forum? Also be able to block the person from posting a second time at all. So if the person EVER replied to the thread, they could NOT post again. I need it so on certain forums you can only reply to every thread one time. That's not really the point to this hack, but since its similar I think you could easily make that. If you could I would be VERY greatful. If thats worded all wrong its because ive been up like 30 hours messing with this lovely forum, lol. Thanks man.

Yorixz
08-04-2005, 04:46 PM
Sweet mod, thanks a lot!

Snake
08-12-2005, 03:18 PM
Xenon, are you planning to upgrade this hack for 3.5?

Vizionz
08-17-2005, 06:12 AM
i hope so cause this is very usefull

Wordplay
08-19-2005, 10:44 AM
anybody getting this out for 3.5?

Andreas
08-19-2005, 11:13 PM
Do you guys also read sometimes (instead of just posting)?
https://vborg.vbsupport.ru/showpost.php?p=739106&postcount=275

Wordplay
08-20-2005, 01:31 AM
yep
as said we need it for vb.org as well
what is that supposed to tell me? need what? kirby you cant imagine what it's like to get some help in here. i search the forums before asking any questions, it took me long enough to find this thread here. as i believed it was used on this board when it was in 3.5 beta version and not 3.0.x. plus everytime i ask a hacker (4 pms that all remained on replied too) on this board something about one of their hacks they dont even answer.

i'm just trying to make the best of my board.

Andreas
08-20-2005, 07:44 PM
20. Jul 2005, 18:35, prawn: "Any plans for 3.5 Xenon?"
20. Jul 2005, 23:07, Xenon: "yep :) as said we need it for vb.org as well :)"
03. Aug 2005, 12:31, Snake: "Could you upgrade it to 3.5 RC1 please??"
12. Aug 2005, 18:18, Snake: "Xenon, are you planning to upgrade this hack for 3.5?"
Yesterday, 13:44, worldplay: "anybody getting this out for 3.5?"

Got it now?
That's why I asked if ppl also read ...

Boofo
08-20-2005, 07:56 PM
So, Xenon, are you planning on ... nevermind. ;)

Snake
08-21-2005, 07:45 AM
Oh jesus, he ain't even bothered to look at this thread and reply back to our questions. <_<

Wordplay
08-21-2005, 09:33 AM
thanks kirby!

Staircase
08-27-2005, 02:13 AM
Anyway to allow a certain usergroup double post? =\

Xenon
08-30-2005, 10:52 PM
you can always manipulate the if condition when a post is considered as a doublepost, just add a $bbuserinfo[userigroupid] != bla ;)

beansbaxter
09-03-2005, 03:38 PM
installed on 3.0.7 and worked perfect, super easy to install too.

thanks!!

Datenpapst
09-15-2005, 12:48 PM
How do I get this Notice under the post like the Edited-Notice?

Last edited by Datenpapst : Today at 14:39. Reason: Automerged Doublepost

Doc Great
09-15-2005, 03:05 PM
This is was i really really needed! Thanks a lot :)

Edit: @papst look here (https://vborg.vbsupport.ru/showpost.php?p=459685&postcount=24) and the following post :)

Datenpapst
09-16-2005, 07:28 AM
doc, can you upload your file, with the modification, so it says at the bottom, am ende, the sentence? I am loosing the overview... :o :(

Doc Great
09-16-2005, 08:09 AM
Simply search SET pagetext = '" . addslashes($doublepost['pagetext'] . "\n\n" . $post['message']) . "', and replace it with SET pagetext = '" . addslashes($doublepost['pagetext'] . "\n\nautomatisch Zusammengefasster Doppelpost\n\n" . $post['message']) . "',

Friendly greets,
Sven

Datenpapst
09-16-2005, 11:56 AM
Simply search SET pagetext = '" . addslashes($doublepost['pagetext'] . "\n\n" . $post['message']) . "', and replace it with SET pagetext = '" . addslashes($doublepost['pagetext'] . "\n\nautomatisch Zusammengefasster Doppelpost\n\n" . $post['message']) . "',

Friendly greets,
Sven

hmm, but its not like I wanted it. :(
It wanted this text as an edit notice, so that if you doubblepost it says:
Last edited by Datenpapst : Today at 14:39. Reason: Automerged Doublepost
as an edit notice.

Xenon
09-16-2005, 01:03 PM
a look at that code would help:

// ########### Xenon's prevent doublepost hack #########
$dp_settings = array(
'dobump' => true, // change this to false if you don't want doubleposts changing post's dateline
'timespan' => 3600, // how many seconds after the last post the new post is defined as doublepost
'spacer' => "\n\n", // What should be between the old post and the new one (default: two empty lines)
'addeditedby' => false, // Should a edited by author be added when a post is merged
);

;)

Datenpapst
09-16-2005, 01:29 PM
Hmmm Ok :o
Danke :D thx gracia, usw..

Xenon
09-16-2005, 01:31 PM
hehe, i love the languagemix in here ;)

np

Snake
10-07-2005, 08:17 PM
Not yet.

Xenon
10-07-2005, 09:04 PM
excluding those usergroups in the condition would be the easiest way.

it's not a real bug in the hack, as if i would disable merging with moderated post the hack would not work as designed anymore

GamerJunk.net
10-28-2005, 02:10 AM
Has this been updated for vb 3.5?

Xenon
10-28-2005, 09:32 AM
yep!

Snake
10-28-2005, 11:06 AM
Yes but is not compatible with AJAX. <_<

VBUsers
10-31-2005, 11:54 PM
yep!


so when will it be available for 350? estimate??

Xenon
11-01-2005, 11:13 AM
it is already.....

take a look at my profile, it's just including two little bugs right now

intox
12-04-2005, 05:49 PM
How do i put a message like AUTO MERGED , or something like that in between so n00bs can understand. i read the who thread the given suggestions are not as per "Hack Version: 1.6" . It wil b nice if some1 can help me out. :ermm:

manutdvn
12-17-2005, 08:54 AM
Thanks. Clicked install

Ncturnal
08-19-2006, 03:36 PM
One of my moderators just brought this to my attention. Is it possible to have the query which updates a post in the case of a doublepost to also update the post dateline so that users are aware there is new content?

Exactly. The hack is a great idea, but if the aforementioned function does not work, it becomes a big hinderance. I have a specific example on this forum.


I posted a code request.
A coder provided a response.
I replied with "Thanks, I'll give it a try."
I had a problem with the code and responded, but it simply editted the previous post.


As far as I know, no thread update was sent as if there was a new post, and the thread was not bumped. It seems the timeframe here is set really long as well, because responding today did the same thing. The hack is definitely a great idea and much needed but those need to be fixed.

Also, the function needs to be disabled as soon as someone posts after you so as to not have your response post in the previous post to their question (I'm not sure if this is even the case, but just thought it should be mentioned).

Thanks!

matrlx
12-16-2007, 09:59 AM
Can you guys show me what code to alter in version 3.6.7 ? As I can't find anything even simliar in the functions_newpost.php

Best Regards!

Greenskull
02-07-2008, 01:58 AM
Can you guys show me what code to alter in version 3.6.7 ? As I can't find anything even simliar in the functions_newpost.php

Best Regards!

agreed. Need some help here!

troybtj
09-18-2008, 06:45 PM
I installed the product version 1.0 of this: https://vborg.vbsupport.ru/showthread.php?t=96602

From same author in 3.7.3.1 and it is working great. Just extra info (not to mention surprising!) I needed to do VERY MINIMAL tweaks after installing the product linked above (older version of this hack) to have it fully working in 3.7.3 PL1

I might guess it should work for 3.6.x as well, but what needs tweaking might be different. You probably need a good idea of PHP to see where it isn't working quite right though. I didn't make a note of what changed.