vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Prevent Doubleposting (https://vborg.vbsupport.ru/showthread.php?t=96602)

Paul M 06-01-2006 09:12 AM

Looking at it, I would guess it stops replies being merged if you reply to two different posts (for threaded mode). Unfortunately - that just gives everyone a quick way to bypass it.

Boofo 06-01-2006 10:06 AM

No sense in even installing it if you do that then.

Kirk Y 06-01-2006 04:26 PM

So doesn't anyone have the file edits version of this? Or are they just unwilling to post it?

Hornstar 06-02-2006 05:38 AM

Hopefully this can still be updated, As sometimes it works, and sometimes it dont. (problem most likely mentioned above)

Pathor 06-08-2006 09:16 PM

Doesn?t work with 3.6. :(

Boofo 06-08-2006 09:37 PM

Quote:

Originally Posted by Pathor
Doesn?t work with 3.6. :(

Well, what doesn't work in it? An error or something might give us a little better idea on what to do to fix it.

Pathor 06-08-2006 10:14 PM

After I click on the submit-button, an error occurs (see screenshot).

Attachment 49111

If I refresh the page after the error, the doublepost exist.

EDIT: And sorry for my bad english. :D

Boofo 06-08-2006 10:33 PM

Quote:

Originally Posted by Pathor
After I click on the submit-button, an error occurs (see screenshot).

Attachment 49111

If I refresh the page after the error, the doublepost exist.

EDIT: And sorry for my bad english. :D

Looks like you have an extra piece of code in there somewhere. Are you using the plug-in and have you added anything to the settings for it?

Pathor 06-08-2006 10:52 PM

Quote:

Originally Posted by Boofo
[...]have you added anything to the settings for it?

Nope. Just downloadet here.

Fresh install on my local testboard (php 5.0.5, mysql 5.0.15).
No other plugins or modifications installed and no template edits.

Rickie3 06-09-2006 06:20 AM

please help I installed this when it was first released,i'm sure it was template edits,my members are going crook at the automerge,so i want to unistall the original and use the plugin

Pathor 06-09-2006 06:12 PM

Xenon is gone. :( I hope anybody else can fix it.
Maybe a new Hook?

Quote:

Originally Posted by Kier
While there have not been extensive changes to the underlying architecture of vBulletin 3.6 from 3.5, it is possible that certain hooks may have changed.


Smiry Kin's 06-10-2006 07:05 PM

can some one please tell me what to use? lol theres just so many codes/files..

i want one that auto freshes ajax. n maybe displays time that it was added!

Wordplay 06-29-2006 05:41 AM

i've got it worst, on 3.6 beta 3. when i double post, i get a database error, but the double-post is still made. has anybody got it to work on 3.6 yet?

VBUsers 06-29-2006 07:34 AM

can a coder take this over and make it for 3.6 beta 3? its a must have for so many admins.

Keyser S?ze 06-29-2006 08:30 AM

this is a really nice hack, ill tell ya what i would like if someone could make this for me to put in the expert part, i want it so it does not count for s. mods and admins, also i have it set so it prevents it for the first 72 hours without bumping, i would like it to be after 72 hours and until say forever ;p it prevents it but also bumps the thread

think anyone could do that for me? thanks

Yorixz 06-30-2006 09:44 AM

Quote:

Originally Posted by Boofo
Well, what doesn't work in it? An error or something might give us a little better idea on what to do to fix it.

Code:

Database error in vBulletin 3.6.0 Beta 3:

Invalid SQL:

              SELECT post.*
              FROM vb3_post AS post
              LEFT JOIN vb3_deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
              WHERE threadid = 47971
                      AND dateline > 1151567543
                      AND visible = 1 AND deletionlog.primaryid IS NULL
                      AND postid <> 409299
              ORDER BY dateline DESC
              LIMIT 1;

MySQL Error  : Column 'dateline' in where clause is ambiguous

I'm getting that error quite often, didn't manage to reproduce it but I suppose theres something wrong in the query it's using.

Keyser S?ze 06-30-2006 01:56 PM

something else i would like to add is in the add part, make it give someone a warning with inferno warning system for the double post, if done in the first say 72 hours

Stoebi 06-30-2006 03:20 PM

Hi

Plugin 'Main Doublepost Prevent Engine' - Hook newpost_complete


Search for:
Code:

AND dateline > " . (TIMENOW - $vbulletin->options['xen_dp_timespan'] * 60) . "
Change to:
Code:

AND post.dateline > " . (TIMENOW - $vbulletin->options['xen_dp_timespan'] * 60) . "

Reason:
With vBulletin v3.6.x the row dateline exists in the tables post and deletionlog (ambiguous).



Regards, Stoebi

Quote:

Originally Posted by Yorixz
Code:

Database error in vBulletin 3.6.0 Beta 3:

Invalid SQL:

              SELECT post.*
              FROM vb3_post AS post
              LEFT JOIN vb3_deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
              WHERE threadid = 47971
                      AND dateline > 1151567543
                      AND visible = 1 AND deletionlog.primaryid IS NULL
                      AND postid <> 409299
              ORDER BY dateline DESC
              LIMIT 1;

MySQL Error  : Column 'dateline' in where clause is ambiguous

I'm getting that error quite often, didn't manage to reproduce it but I suppose theres something wrong in the query it's using.


Wifey 07-01-2006 11:56 PM

Is there a code to exclude a certain forum from this in the additional options box? Also, what would the code be to exclude moderators from this?

Thanks!

Wordplay 07-03-2006 09:44 PM

Stoebi thanks for updating that, but it created a new error for letters such as ü ä ö dont show up now when people quickedit their threads in translates them to ü codes. like ü becomes ü but not when posting a new thread, or a comment, or submitting advanced editings only when submitting quick edits.

keymistress 07-04-2006 04:24 AM

is it possible to add a refresh page after the automerge because right now, the user sees both posts in seperate posts with "Edited by... Re: Automerge" unless they refresh the page...

Keyser S?ze 07-06-2006 02:13 AM

if that refresh page is made pls have a redirect message, also is anyone going to fix the additional options that have been requested that would be real nice

Wordplay 07-08-2006 02:53 AM

Quote:

Originally Posted by Wordplay
Stoebi thanks for updating that, but it created a new error for letters such as ? ? ? dont show up now when people quickedit their threads in translates them to ? codes. like ? becomes " % u 0 0 F C " but not when posting a new thread, or a comment, or submitting advanced editings only when submitting quick edits.

anybody?

Robin Larsson 07-10-2006 12:20 PM

It doesn't work properly for me.

If i first make a post with:

"test1test1test1" and then make a quickreply to that, with.

"test2test2test2" the post will be:

"test1test1test1
test2test2test2
test2test2test2"

It's being two replies, not one.

Any way to fix this?

Neo_obs 07-11-2006 12:45 AM

try refreshing?

Keyser S?ze 07-15-2006 09:57 PM

has anyone else noticed if the first and second post have an attachment it does not auto correct it, is it possible?

Shinichi_bien 07-30-2006 06:30 AM

it doesnt work well w ajax, when i post a new reply(first time) ajax doesnt work

o0Hubba0o 08-03-2006 11:45 PM

Anyone have this working for 3.6? I got an error, didn't get a screenshot or read it though lol, too lazy right now.

Stoebi 08-03-2006 11:51 PM

Quote:

Originally Posted by o0Hubba0o
Anyone have this working for 3.6? I got an error, didn't get a screenshot or read it though lol, too lazy right now.

https://vborg.vbsupport.ru/showpost....&postcount=538

o0Hubba0o 08-03-2006 11:58 PM

Quote:

Originally Posted by Stoebi

heh thx, missed that one.

Hornstar 08-06-2006 05:01 AM

Quote:

Originally Posted by Stoebi
Hi

Plugin 'Main Doublepost Prevent Engine' - Hook newpost_complete


Search for:
Code:

AND dateline > " . (TIMENOW - $vbulletin->options['xen_dp_timespan'] * 60) . "
Change to:
Code:

AND post.dateline > " . (TIMENOW - $vbulletin->options['xen_dp_timespan'] * 60) . "

Reason:
With vBulletin v3.6.x the row dateline exists in the tables post and deletionlog (ambiguous).



Regards, Stoebi

Awesome, was wondering why I was getting database errors after the upgrade.

Thanks

Paul M 08-06-2006 03:07 PM

What is your question exactly ?

redlabour 08-07-2006 12:24 PM

Any update for 3.6 ?

bashy 08-13-2006 06:32 PM

here ya go https://vborg.vbsupport.ru/showpost....&postcount=549

Kaleem 08-15-2006 07:05 PM

Thank u installed for v3.6 woking fine :)

Ben Wilkins 08-16-2006 09:38 AM

Hey, this doesnt work for me, when i create a double post, it will just make a new post and not edit the post above.

phonexpo 08-16-2006 10:01 AM

*Clicks Install*

:)

phonexpo 08-16-2006 10:16 AM

Ok I have some problems;

1. When I use quick reply I get an error "The following errors occurred when this message was submitted" and a okay link shows up that links to the thread.
2. When I use the normal reply button I get a batabase error;

Code:


Database error in vBulletin 3.6.0:
Invalid SQL:
  SELECT post.*
  FROM post AS post
  LEFT JOIN deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
  WHERE threadid = 1891
  AND dateline > 1155640094
  AND visible = 1 AND deletionlog.primaryid IS NULL
  AND postid <> 12160
  ORDER BY dateline DESC
  LIMIT 1;
MySQL Error  : Column 'dateline' in where clause is ambiguous
Error Number : 1052
Date        : Wednesday, August 16th 2006 @ 12:08:14 PM
Script      : http://phonexpo.ie/newreply.php?do=postreply&t=1891
Referrer    : http://phonexpo.ie/newreply.php?do=n...uote=1&p=12159
IP Address  : **************
Username    : Patrick
Classname    : vb_database

What's the problem here?

redlabour 08-16-2006 01:01 PM

Quote:

Originally Posted by Ben Wilkins
Hey, this doesnt work for me, when i create a double post, it will just make a new post and not edit the post above.

*omg* Refresh your Browser. :D

bondjetta 08-16-2006 02:50 PM

Quote:

Originally Posted by redlabour
Any update for 3.6 ?

agreed. I'm getting the same error as phonexpo after i upgraded to 3.6...

i'll try uninstalling and re-installing next chance I get, but i've got bigger fish to fry right now anyways ;)


All times are GMT. The time now is 10:11 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
  • Page Generation 0.02368 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete