Skip to content

Commit

Permalink
Fix #309: Restructure the plugin's files (#314)
Browse files Browse the repository at this point in the history
Fix #309.

Create "upload" and "scripts" subdirectories; move files into those
subdirectories as appropriate.

Update README.md correspondingly.

Create scripts/README.md with brief, appropriate content.
  • Loading branch information
lairdshaw authored Jun 26, 2021
1 parent 9b2eee3 commit 39ea3e4
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For more information, see the plugin's:

2. *Copy files*.

Extract the files in that archive to a temporary location, and then copy them into the root of your MyBB installation. That is to say that "tylsearch.php" should be copied to your MyBB root, "jscripts/thankyoulike.js" should be copied to your MyBB root's "jscripts/" directory, etc.
Extract the files in that archive to a temporary location, and then copy everything in the "upload" directory into the root of your MyBB installation (note that in earlier versions, there is no "upload" directory, and the files and directories to be uploaded are in the root extracted directory). That is to say that "tylsearch.php" should be copied to your MyBB root, "jscripts/thankyoulike.js" should be copied to your MyBB root's "jscripts/" directory, etc.

3. *Install via the ACP*.

Expand Down Expand Up @@ -117,6 +117,10 @@ N.B. If MyAlerts is integrated *and* you don't want to lose any existing thanks/

Re-enter your settings for the plugin including any per-usergroup settings and any changes you had made to the plugin's stylesheet and templates (this is why it is important to have made a note of them before uninstalling the plugin).

## Migrating from other thanks/likes plugins

A conversion script, "tyl-converter.php", is included in the "scripts" directory for this purpose. For directions on its use, see the comments at the top of that file.

## FAQ

**How do I completely uninstall the Thank You/Like System plugin and remove all of its data from the database?**
Expand Down
3 changes: 3 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Thank You/Like System scripts

The tyl-converter.php script facilitates migration to the Thank You / Like System plugin by converting thanks/likes from other thanks/likes plugins. For instructions on its use, see the comment block at the top of that file.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 39ea3e4

Please sign in to comment.