vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Move Posts from One Thread to Another (https://vborg.vbsupport.ru/showthread.php?t=33630)

venomx 04-27-2002 10:04 PM

I see two of these in 2.2.5... Which do I change?


Code:

$DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,views,iconid,notes,visible) VALUES (NULL,'".addslashes($title)."','".addslashes($threadinfo[lastpost])."','".addslashes($threadinfo[forumid])."','".addslashes($threadinfo[open])."','".addslashes($threadinfo[replycount])."','".addslashes($threadinfo[postusername])."','".addslashes($threadinfo[postuserid])."','".addslashes($threadinfo[lastposter])."','".addslashes($threadinfo[dateline])."','".addslashes($threadinfo[views])."','".addslashes($threadinfo[iconid])."','Thread split from threadid $threadid by ".addslashes($bbuserinfo['username'])." on ".vbdate($dateformat." ".$timeformat,time()).". ".addslashes($threadinfo[notes])."','".addslashes($threadinfo[visible])."')");

venomx 05-04-2002 07:50 PM

hmm Why when I move a post to a new thread it makes it the top post in the thread?

Smoothie 05-15-2002 02:27 AM

Can an option be added to copy a post to a new thread, instead of move it?

MarkyBuzz 08-03-2002 10:17 PM

Thanks Bira,

Works like a charm, and although its yummy too, I`ll stick to Shish Kebabs ;)

WELL DONE!

Jawelin 02-25-2003 01:51 PM

Could this hack be ported to vb230, where the two rows are innested into an if-clause ?
Thanks, Bira.

opsman 04-04-2003 11:26 AM

Hi this hack is just what I need but am running 29 so dont have the lines of code to change

any chance of updating :)

Boofo 05-06-2003 06:04 AM

I'm running it on 2.2.9 and it works great here. ;)

I do have a small problem though. Whenever I move any posts, it makes the thread I moved the posts from a sticky thread. Does anyone have any ideas what might be happening?

crackers8199 07-06-2003 05:44 PM

Two questions...

1) Does this work on 2.3.0?

2) Is there a way to create a new thread for the posts you want to move using this hack, or do you need to do that manually?

VAN 11-21-2003 10:59 PM

Has anyone got this to work on 2.3.3?

Mine is creating a new thread instead of placing the selected post(s) in the specified thread.


All times are GMT. The time now is 02:39 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.01294 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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