Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alixaxel/mygengo-phpbb3
myGengo plugin for phpBB3
https://github.com/alixaxel/mygengo-phpbb3
Last synced: 3 days ago
JSON representation
myGengo plugin for phpBB3
- Host: GitHub
- URL: https://github.com/alixaxel/mygengo-phpbb3
- Owner: alixaxel
- Created: 2011-06-26T17:11:04.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-26T17:31:36.000Z (over 13 years ago)
- Last Synced: 2024-10-11T20:14:36.598Z (28 days ago)
- Language: PHP
- Homepage: http://mygengo.com/
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
myGengo phpBB3 plugin.
## Installation
1. Copy the contents of the "phpBB3" folder into your phpBB installation folder.
2. Point your web brower to DOMAIN.TLD/PHPBB_DIR/install_mygengo.php.
3. Invalidate your phpBB caches, either by:
1. Deleting all the files in the /PHPBB_DIR/cache/ subfolder via FTP or SSH.
2. Running the "Purge the cache" action in the phpBB Administrator Control Panel.
4. Go to the phpBB Administrator Control Panel ("General" tab) and set up your API keys by clicking on any link under the "myGengo".## HOWTO: Add myGengo Button to every Forum Post (Overwrite Files)
I've provided the modified files (based on phpBB 3.0.8) for the themes "prosilver" and "subsilver2".
You should only overwrite these files if you're sure your phpBB version is compatible with the 3.0.8 and if you haven't manually changed any of the files.1. Copy the contents of the "phpBB3_themes_mygengo" folder into your phpBB installation folder.
2. Invalidate your phpBB caches (see above).
3. All done, you should see a small myGengo icon next to each forum post.## HOWTO: Add myGengo Button to every Forum Post (DIY Instructions)
1. Open the file PHPBB_DIR/viewtopic.php.
2. Locate the line with the following code: ```$template->assign_block_vars('postrow', $postrow);```.
3. Add the following code **immediately before** that line:```$postrow['U_MYGENGO'] = $auth->acl_get('a_') ? append_sid($phpbb_root_path . 'adm/index.' . $phpEx, 'i=mygengo&mode=order&post_id=' . $row['post_id']) : '';```
4. Open the file PHPBB_DIR/YOUR_STYLE/template/viewtopic_body.html.
5. Locate the line that starts with the following code: ``````.
6. Add the following code **immediately before** that line:```
7. Invalidate your phpBB caches (see above).
8. All done, you should see a small myGengo icon next to each forum post.
## Author and License
Copyright (c) 2011 Alix Axel (http://opensource.org/licenses/lgpl-3.0.html)