পণ্যের অংশে চলে যান
LCPanelলাইসেন্স সেন্টার প্যানেল
MMB MyMeetBook টি অধ্যায়

MyMeetBook ডকুমেন্টেশন

Sngine থেকে চলে আসা

একটি Sngine 3.x/4.x সাইট নিয়ে আসুন: মেম্বারদের bcrypt পাসওয়ার্ড একই থাকে, আপলোড content/uploads-এ নিজের জায়গায় থাকে আর পুরোনো লিংক কাজ করে।

প্লাগিনগুলো হালনাগাদ ৬ নভে ২০২৬ ৩৩ / ৪০

The Sngine Migration plugin brings a Sngine 3.x or 4.x site into MyMeetBook: members, friends, posts with their photos, videos, polls and links, comments, reactions, pages, groups, events, blog articles, messages and stories. The old site keeps running while you prepare, and the move can be repeated until the day you switch.

What comes across

StepFrom the old site
Site settingsName, e-mail, description and keywords, registration and activation rules, the upload limit, SMTP, reCAPTCHA and social login keys. Sngine's own sample texts are skipped and listed under Issues.
MembersAccounts, profiles, avatars and covers, roles (admin, moderator, member), verified marks, bans, points and wallet balances.
Friends & follows, BlocksFriendships and pending requests (friends), follows (followings), blocked members.
Posts & filesStatus posts, photos and albums, videos, audio, files, polls with their votes, links, shares, feelings, places, coloured backgrounds, privacy, anonymous posts. Posts of pages, groups and events keep their place.
Comments & replies, Reactions, Saved posts, HashtagsEverything under the posts, including comments left on a single picture and the old like tables of Sngine 2.
Verification requests, ReportsThe waiting requests and the open reports with their category.

Other plugins add their own steps to the same list when they are on: Pages (with likes, admins and categories), Groups (members, pending members, admins, categories), Events (guests: going, interested, invited), Blog (articles and categories), Messenger (direct and group conversations with text, pictures and voice notes) and Stories (the ones that are still alive). Switch on the plugins you want before you run the move.

Posts of the market-place kinds (product, offer, job, funding, course) are left to their own plugins and counted under Issues.

Passwords

Sngine stores passwords with PHP's password_hash() (bcrypt). MyMeetBook uses the same function, so the hashes are copied as they are and every member signs in with the password they already have. Nobody has to reset anything.

Photos, videos and files

Nothing is copied. The files stay where they are, under the old site's content/uploads/ folder, and MyMeetBook shows them from there. You tell it where that folder is (see Media origin below). A site with hundreds of gigabytes of uploads can move in an afternoon.

Before you start

  1. Back up the old database (phpMyAdmin → Export).
  2. Install MyMeetBook on a test address first, for example new.example.com. The old site keeps running on the main domain.
  3. Switch on Sngine Migration and the other plugins you want on Admin → Plugins. Keep the WoWonder Migration plugin off: one site moves from one script.

1. Connect

Admin → Plugin pages → Sngine Migration → Connect.

  • Old Sngine database: host, port, database name, user and password. Sngine tables carry no prefix, so the prefix stays empty unless yours do. When both sites share one database, tick The old site uses the same database as this one.
  • Rows per batch: 500 is a good default. Lower it on a small server.
  • Media origin: the root folder of the old site on this server (for example /home/USER/public_html) or its address (https://example.com). A folder is served through this site at /content/uploads/...; an address is linked directly.

Press Test connection. It counts the members, friends, posts, photos, videos, polls, comments, pages, groups, events, articles, messages, stories and the rest that are waiting.

The database password is stored in the plugin settings so the move can run in the background. Press Forget password when you are done.

2. Run

Open the Run tab and press Run all.

Each step works in batches, for up to 25 seconds per request, and carries on by itself until it is done. You can close the page and come back: every step keeps its place. Stop pauses, Run continues.

  • Run again on a finished step brings what already came across up to date with the old site and adds what is new. Nothing is duplicated. Members who have signed in on the new site, and posts or comments edited there, are left alone.
  • Reset removes what a step wrote and clears its progress. Reset all removes everything the migration wrote, including the rows of the other plugins, and starts over.

From the command line

On a large site the command line is faster and cannot time out:

php plugins/sngine-migration/cli.php status
php plugins/sngine-migration/cli.php run
php plugins/sngine-migration/cli.php run posts
php plugins/sngine-migration/cli.php reset posts

3. Issues

The Issues tab is the log of the move: usernames that had to be renamed (taken, reserved or not valid here - Sngine allows hyphens, MyMeetBook does not), e-mail addresses that were not valid or belonged to two members, posts and comments that were skipped because their author did not come across, reports of kinds this site does not take. Filter by step or level, search by old id, or download the list as CSV.

Read it before you announce the new site. A renamed member can still be found at the old /username address.

4. Finish

The Finish tab is a checklist:

  • how many members and posts came across, and whether a step ended with an error;
  • whether the media origin is set;
  • whether the database password is still stored;
  • whether social login keys were found on the old site (they are kept in the setting sngine_social_keys; copy them into the Social Login plugin);
  • whether posts still wait for the Pages, Groups or Events step.

Then:

  1. Open a few migrated profiles and posts. Photos and videos should load.
  2. Check Admin → Settings: name, e-mail sending and registration were copied.
  3. Point the main domain at the new site.

With the plugin on, the old addresses answer with a permanent redirect to the new ones, so links in search engines, e-mails and other sites are not lost:

Old addressGoes to
/usernamethe same address; a member who was renamed is forwarded to the new name
/posts/123the same post under its new number
/photos/123the post the picture belongs to
/pages/name, /groups/namethe page or group under its slug of today
/events/123the event
/blogs/123/titlethe article
/signin, /signup, /static/namesign in, register, the static pages

/settings/..., /admin and the legal pages already have the same addresses here.

Old post links has three choices on the Finish tab: redirect when no post of this site has that number (the safe default), always treat the number as an old one (right when the new site was empty before the move), or never redirect.

Keep the plugin switched on while old links are still around. When you switch it off the redirects stop; nothing else is lost.

Moving a busy site step by step

  1. Weeks before: install MyMeetBook on a test address, connect, Run all. Look around, fix what the Issues tab shows, set up the design and the plugins.
  2. Days before: tell members the date. Run again on every step now and then to keep the copy fresh.
  3. On the day: switch the old site off for writing (Sngine: System live off), Run again on every step one last time, then point the domain at the new site.
  4. After: keep the old content/uploads/ folder where the media origin points. Later you may move it and change the media origin; the files only need to stay reachable under the same content/uploads/... paths.

What does not come across

The marketplace, offers, jobs, funding, courses, movies, games, paid subscriptions, ads and notifications of Sngine have no counterpart in this step and are left in the old database untouched. Blog articles come with the Blog plugin; the feed post that announced an article is not copied. Wallet balances and points are copied to the member rows so a later plugin can use them.

এটি কি কাজে লেগেছে?
এই অধ্যায়টি শেয়ার করুন