vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Prevent Doubleposting (https://vborg.vbsupport.ru/showthread.php?t=59916)

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
Code:

SET pagetext = '" . addslashes($doublepost['pagetext'] . "\n\n" . $post['message']) . "',
and replace it with
Code:

SET pagetext = '" . addslashes($doublepost['pagetext'] . "\n\nautomatisch Zusammengefasster Doppelpost\n\n" . $post['message']) . "',
Friendly greets,
Sven

Datenpapst 09-16-2005 11:56 AM

Quote:

Originally Posted by Doc Great
Simply search
Code:

SET pagetext = '" . addslashes($doublepost['pagetext'] . "\n\n" . $post['message']) . "',
and replace it with
Code:

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:
Quote:

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:

Code:

                // ########### 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)
                        [high]'addeditedby' => false,        // Should a edited by author be added when a post is merged[/high]
                );

;)

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!


All times are GMT. The time now is 05:48 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.01516 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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