vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to merge posts with "RE:" (https://vborg.vbsupport.ru/showthread.php?t=294858)

John Diver 02-07-2013 01:35 PM

How to merge posts with "RE:"
 
Hey,

I dont know how this can be done, but I want to try merge posts that include RE: + title

For example, my blog post would be

"My post"

then all replies would be:

"RE: My post"

Can this be done?

kh99 02-07-2013 01:39 PM

I'm not sure I understand. Are you saying that if anyone posts a comment with the title "RE: My Post" that they will all be merged into one post?

John Diver 11-19-2014 02:31 PM

Hey,

Sorry to bring up an old thread but I just wanted to check if this can be done.

I have a number of threads that start with "X" and I wanted to merge all those threads into one - It is too many threads to click each manually through the admin / moderation so I was hoping there was another way I could do it, even if running a query.

Thanks!

John Diver 11-26-2014 06:04 PM

Bumping this and hoping someone can help please :)

HM666 11-26-2014 06:50 PM

You can select more than one thread in the admincp when merging them together.

John Diver 11-26-2014 07:29 PM

Hey Len, the problem is that I have on thread in a private forum, it is being taken from one feed and they all have the same title, but all posts are being posted as a separate thread when I want to combine them into the one thread if you know what I mean.

I.e. the title for the thread would be "x" and the body is the post, it should be put into the one thread but vB is putting each one into a separate thread instead of a followup post, I wanted to know if I can even add them manually through code.

Thanks Len

HM666 11-27-2014 02:37 AM

Is this a setting that you have or a hack installed? Its not normal for it to take posts from one thread and create a new thread with each post. So there is probably some sort of setting that is off or something else going on. The easiest way to merge them that I know of is to do it right on the forum, just tick all the boxes of the threads/posts you want merged into one thread and then click the drop down at the bottom right under the threads and choose Merge Threads/Posts. As far as any magical way to do it I'm not sure. That should work and be pretty easy unless you have a gazillion threads/posts like this. How did it come about that it ended up like this?

John Diver 11-27-2014 04:12 PM

Its just a setting on the forum privacy, normal vb, I don't have any hacks installed at all.

Would there be a conditional sql I could use so if the title includes "x" then merge all those threads by the date they were posted?

I dont know SQL so not sure if thats possible what how to do it.

Thanks again

HM666 11-27-2014 05:49 PM

I've had many forums set to private and never had any of them come up with nothing in then posts at all. So that is weird.

As for the SQL I really do not know I'm not well versed enough in it just yet to give code for that.

John Diver 11-28-2014 07:56 PM

I think it is a problem after the upgrade, because otherwise vB wouldn't allow a blank post to be made.. so somehow during the upgrade the content must have been lost.
It's the only thing I can think of..

kh99 11-28-2014 08:22 PM

When the rss poster task is posting, the minimum character check is bypassed. So it's probably just that for some reason it couldn't get the content from the feed.

To do what you want (combine threads with the same title), I think you'd have to modify the rssposter.php script. To merge any existing threads I believe you'd need a php script as well (as opposed to an sql query).

HM666 11-29-2014 02:02 AM

Quote:

Originally Posted by John Diver (Post 2524659)
I think it is a problem after the upgrade, because otherwise vB wouldn't allow a blank post to be made.. so somehow during the upgrade the content must have been lost.
It's the only thing I can think of..

Do you still have the backup of the database from when you went to upgrade the site? You may have to start over or hire someone to do the upgrade for you. You may run into problems with trying to fix the posts with a php script or some other code if there was a corruption during the upgrade in the database or something else happened along the way. Personally I would start over with the upgrade or hire someone who is familiar with doing these type of things.


All times are GMT. The time now is 11:47 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.01018 seconds
  • Memory Usage 1,732KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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