|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Moving treads to a difent forum
im not sure if this should go into mysql or not so it gos here
my freind has had a vbulitein forum crash and dident backup and since we were both doing the same thing and if i transfered some stuff over noone would notice i though i should help i do have the patentce to move 500 posts from my guest section manually to his but he is hosted on my sever so i have acces to his mysql so i was wondeing if there was a way i could rip posts in bulk from one section of my froum in this case the guest section via the mysql i have looked at the mysql and have seen that the post stuff is spread over many tables so it would be kinda hard to figer out what i needed. actualy i guess im asking if anyone has ever writen a script to do this or can it be done by query. also can i change the username all to me to save the confusion of a borad with 40 memebrs haveing posts from people that arnt signed up. thanks |
|
#2
|
||||
|
||||
|
Dude... there's a spell check button right next to the post button... use it...
---John Holmes... |
|
#3
|
||||
|
||||
|
Yeah you could run an update statement on your tables. Im not familiar with vbulletin, but it should be a regular integer column.
Code:
UPDATE mytable SET forumid = "newforumid" WHERE forumid="oldforumid"
__________________
Regards, Eddy Luten. Information: C, C++, STL, Boost, OpenMP, Scriptionary, Google Book of the moment: Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, John M. Vlissides This post and all subsequent posts by "Thr3ddy" are licensed under the Creative Commons Attribution United States License 3.0: attribute "Eddy Luten" for any code used which was extracted from "Thr3ddy's" posts. |
|
#4
|
|||
|
|||
|
well that dose help but im still faced with the problem of extracting the data from about 3 different tables
and spell check man thats means i have to move my mouse a extra 3 centimeters to much for me |
|
#6
|
|||
|
|||
|
lol lame trick im not sure thats what you call fair play
|
|
#7
|
||||
|
||||
|
Quote:
Are there id's linking posts and whatnot you might have? Let's say: Table A: post with id 33 Table B: post comment id is 21 backlinks to 33 ? |
|
#8
|
|||
|
|||
|
do you mean user ids if so yes otherwie i havent needed to intergrate posts yet.
maybe this will make more sence when im soba maybe |
|
#9
|
||||
|
||||
|
Thread moved. Please post in the appropriate forum next time.
--Simon
__________________
|
|
#10
|
||||
|
||||
|
Simon, where did it come from, and why isn't it on vBulletin's boards??
__________________
--Ax without exception, there is no rule ... The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones ![]() 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. -- Jamie Zawinski Detavil - the devil is in the detail, allegedly, and I use the term advisedly, allegedly ... oh, no, wait I did ... |
|
#11
|
||||
|
||||
|
1) It came from the Lounge (tm)
2) good question. --Simon |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Moving treads to a difent forum in Vbulletin |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|