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)

pooffck1 07-11-2008 09:45 AM

Example

all updated :)
------------Added 11/7/2008 at 03:44:41------------
Still need more members please :(

It works fantistically but is tehre a chance to break it

__________________________________________________ ______

example i want to achieve

all updated :)
<BR>
------------Added 11/7/2008 at 03:44:41------------
<BR>
Still need more members please :(

vietdjclub 07-11-2008 10:02 AM

Code:

$doublepost['message'] = $doublepost['pagetext'] . "\n\n\n[SIZE=\"1\"][COLOR=\"DarkSlateGray\"]" . '-----Added '.date("j/n/Y"). ' at '.Date("h : i : s").'-----'.$vbulletin->options['xen_dp_spacer'] . "[/color][/size]\n\n\n" . $post['message'];

pooffck1 07-11-2008 01:01 PM

Quote:

Originally Posted by vietdjclub (Post 1572669)
Code:

$doublepost['message'] = $doublepost['pagetext'] . "\n\n\n[SIZE=\"1\"][COLOR=\"DarkSlateGray\"]" . '-----Added '.date("j/n/Y"). ' at '.Date("h : i : s").'-----'.$vbulletin->options['xen_dp_spacer'] . "[/color][/size]\n\n\n" . $post['message'];

Fantistic thanks for your help!

squishi 07-18-2008 06:56 AM

This product does not work for me in 3.7.2. PL1. Posts are not merged. Instead, they show up as new posts with a title "Doublepost will be merged" and reason: "utomerged Doublepost".

Paul M 07-18-2008 07:00 AM

Thats how it works if you use quick reply, you have to refresh the page to see the merged post.

EagleNick 07-19-2008 07:38 PM

Thanks so much for the codes, vietdjclub :)

For some reason, the time is one hour off... why is that?
It's an hour behind my forum time.

(My forum time said 4:30, but the post said the text was added at 3:30)

EagleNick 07-20-2008 01:45 AM

Also, can I place
Code:

<if condition="$post['usergroupid'] != 6">
into the additional condition box to exclude Administrators' posts from being merged?

Black Tiger 07-20-2008 01:33 PM

@EagleNick:
You can go to vbulletin options -> Doublepost preventing, then add the following in the "Additional Conditions" box:
Code:

!can_moderate()
This will prevent the mod from working for admins and moderators.

@Vietdjclub: Thanks many times, I was looking for that code too for some time!

EagleNick 07-20-2008 02:56 PM

Quote:

Originally Posted by Black Tiger (Post 1579814)
@EagleNick:
You can go to vbulletin options -> Doublepost preventing, then add the following in the "Additional Conditions" box:
Code:

!can_moderate()
This will prevent the mod from working for admins and moderators.

@Vietdjclub: Thanks many times, I was looking for that code too for some time!

I saw that there in the ACP.
However, I am curious to know if there is the ability to exclude only administrators.

But if the way you mentioned is the only way, then that's fine ;)

MortysTW 07-25-2008 11:43 PM

3.7.2 PL2

This mod worked fine until I've recently upgraded. Automerging doesn't seem to work with Quick Reply, yet its always worked with Quick Reply until this upgrade to 3.7.2 PL2 from 3.6.x

Any ideas?


All times are GMT. The time now is 04:46 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.02125 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)pagenav_pagelink
  • (3)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