Advertisement:

Author Topic: SMF2 Forum Merger with FTP access  (Read 6596 times)

Offline James Gryphon

  • Semi-Newbie
  • *
  • Posts: 63
SMF2 Forum Merger with FTP access
« on: April 06, 2017, 09:09:03 PM »
This is a very specialized sort of question that I don't anticipate there will be much of a response to, but I thought I would at least try asking about it here, to properly exhaust our options before we waste time with more waiting.

I serve as an administrator on a certain web forum. We've been looking into doing a merger with an old established forum. We've pretty well worked out how to do that with the help of a tool discussed elsewhere here on this forum, but there's a serious hitch.

The webmaster is a reclusive and difficult to contact fellow, prone to disappearing weeks or months at a time. Although I'm an administrator at both forums, and have been granted FTP access to the old forum's files, SQL database access is only whitelisted to a couple of IP addresses, none of which are ours. To make the merger work, the plan was that we'd access the database directly and import the newer forum's information. Although he's promised he'd grant the whitelisting to a usable address, he hasn't done it yet, and with no recent contact with him the work's been stuck dead in the water for over a month.

We can access the database from the site itself (obviously, since the forum itself works fine). As before mentioned, I'm admin on the forum and have FTP access to its files. Is there any way of using these to get around the lack of direct SQL access and make the merger happen, or would we be best advised to just wait however long it takes for the webmaster to do his thing?

Offline Looking

  • SMF Hero
  • ******
  • Posts: 2,347
  • SMF Customization
    • jeanborde on Facebook
    • SMF Custom Themes & Custom Coding
Re: SMF2 Forum Merger with FTP access
« Reply #1 on: April 06, 2017, 09:16:16 PM »
That is interesting. Besides FTP, do you by chance have access to shell? It will be easy to do it that way if not a good PHP script.

Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,871
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: SMF2 Forum Merger with FTP access
« Reply #2 on: April 06, 2017, 09:27:42 PM »
Easy upload phpmyadmin to the server point your browser there. Log into the database and download the dump of the DB.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,824
Re: SMF2 Forum Merger with FTP access
« Reply #3 on: April 07, 2017, 05:46:02 AM »
Easy upload phpmyadmin to the server point your browser there. Log into the database and download the dump of the DB.

but that will only work if they know the database name and password, if they dont it will not work at all.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,994
    • StoryBB/StoryBB on GitHub
Re: SMF2 Forum Merger with FTP access
« Reply #4 on: April 07, 2017, 06:21:15 AM »
If they have FTP access they can look at what's in Settings.php to get that.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,824
Re: SMF2 Forum Merger with FTP access
« Reply #5 on: April 07, 2017, 06:31:10 AM »
If they have FTP access they can look at what's in Settings.php to get that.

we have not been told what software is being merged with what. we also dont know what FTP access has been granted, it could be to an attachments folder for all we know.

i think the op may mean by the subject 2 SMF 2.0.* forums or it could be 1 SMF 2.0.* forum and something else.

Offline James Gryphon

  • Semi-Newbie
  • *
  • Posts: 63
Re: SMF2 Forum Merger with FTP access
« Reply #6 on: April 07, 2017, 01:06:24 PM »
I thought it'd be appropriate to drop in and give an update (I regret that I haven't always been the best about that before, no doubt frustrating some of the good people who have put time into my topics).

Colin's proposal worked beautifully. I had initially thought of trying something like that, but I wasn't aware of the right software to look to install (for some reason I was hooked on the idea of trying to install cPanel or something like that, which was of course not workable) and ended up dismissing the concept too quickly. With the tip to guide me, I managed to get it up A-OK.

Given that success it's probably not important to discuss the technical details much further, but for the sake of clarification, I did have full access to the forum files, including Settings.php, and the merger was between two SMF 2.0 forums (specifically, both running the newest version).

Thanks for all of your interest and help in this matter! You very possibly saved weeks or months of time, and like a great fruit-company CEO once stated, multiplied appropriately saving time is equivalent to saving lives. :)

Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,871
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: SMF2 Forum Merger with FTP access
« Reply #7 on: April 07, 2017, 04:31:50 PM »
Excellent, thanks for letting us know how it went.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin