vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   External posts merge (https://vborg.vbsupport.ru/showthread.php?t=311571)

fridolin 05-22-2014 01:48 PM

External posts merge
 
Hi,
I need using an external php-script to merge two posts within the same thread (first post merge with second).
How to do it very simple?
I will be grateful for links and part of code. VB 3.8

darnoldy 05-22-2014 02:31 PM

You should be able to do that with the built-in moderation tools. Why do you want an external script?

Lynne 05-22-2014 05:02 PM

Yep, check the boxes next to the two posts in the thread and then go down to Moderation and select "Merge Posts".

fridolin 05-23-2014 07:01 AM

Ok. How to merge manually - I know, but I need to automate this process. As in case of prevent doubleposting hack, but I have another merge conditions.

Lynne 05-23-2014 06:08 PM

If you want to merge them automatically like in the doubleposting hack, then check the code in that hack and modify it to your needs.


All times are GMT. The time now is 01:20 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.01145 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete