2010-02-01, 11:19 AM
This plugin add a Thanks button to user posts.
[attachment=17212]
Download: http://mods.mybb.com/view/thanks
Features:
- Any User can thank any post!
- Thanks counter ( for both who thanks and who is thanked )
- Auto detect Classic and Horizontal Postbit mode.
- Thanks list can be shown as a separate row.
- Using AJAX technology.
- Customizable style.
- Safe deactivation ( prevent losing important data )
Settings:
- Activate/Deactivate this plugin
- Show count thanks
- Users can remove their thanks
- Show date on mouse over
- Auto detect layout
- Separate table
NOTICE: Using "Uninstall" option would lead to losing almost all the saved Thanks. So it's enough to "Deactivate" the plugin before upgrading it/forum to a new version.
==============================
How to install:
- Extract the zipped file and upload all directories in your forum root.
- Upload images/postbit_rthx.gif and images/postbit_thx.gif to the images directory of your theme(s).
- Go to forum settings and click on "☼ MybbHelp » Thanks" to change the plugin settings.
How to customize it:
Add an CSS code to global.css :
Or edit the templates!
Go to AdminCP » Templates & Style » Global Templates
- thanks_postbit_count (thanks count in postbit)
- thanks_postbit_inline (thanks at the end of a post)
- thanks_postbit_inline_classic (thanks at the end of a post in classic postbit)
- thanks_postbit_outline (thanks after a post - use this when "Separate table" setting is "On" )
==============================
How to fix common problems:
Q: When I click on Thanks button, I get this error as a JavaScript alert: "TypeError: table is null". What should I do?
A: It's probably because your theme couldn't be edited by plugin. So please go to AdminCP -> Templates & Style -> Templates -> [your current theme] -> Post Bit Templates
Then find and edit these templates:
"postbit" and "postbit_classic". Simply you need to add {$post['thxdsp_inline']} after last </tr> and also add {$post['thxdsp_outline']} after last </table>. More explanations!:
In "postbit" template last lines should be something like this:
In "postbit_classic" last lines should be something like this:
[attachment=17212]
Download: http://mods.mybb.com/view/thanks
Features:
- Any User can thank any post!
- Thanks counter ( for both who thanks and who is thanked )
- Auto detect Classic and Horizontal Postbit mode.
- Thanks list can be shown as a separate row.
- Using AJAX technology.
- Customizable style.
- Safe deactivation ( prevent losing important data )
Settings:
- Activate/Deactivate this plugin
- Show count thanks
- Users can remove their thanks
- Show date on mouse over
- Auto detect layout
- Separate table
NOTICE: Using "Uninstall" option would lead to losing almost all the saved Thanks. So it's enough to "Deactivate" the plugin before upgrading it/forum to a new version.
==============================
How to install:
- Extract the zipped file and upload all directories in your forum root.
- Upload images/postbit_rthx.gif and images/postbit_thx.gif to the images directory of your theme(s).
- Go to forum settings and click on "☼ MybbHelp » Thanks" to change the plugin settings.
How to customize it:
Add an CSS code to global.css :
.tnx_style{
// CSS for thanks table
}
.tnx_classic{
// CSS for Classic postbit
}
.tnx_newstl{
// CSS for Horizontal postbit
}
Or edit the templates!
Go to AdminCP » Templates & Style » Global Templates
- thanks_postbit_count (thanks count in postbit)
- thanks_postbit_inline (thanks at the end of a post)
- thanks_postbit_inline_classic (thanks at the end of a post in classic postbit)
- thanks_postbit_outline (thanks after a post - use this when "Separate table" setting is "On" )
==============================
How to fix common problems:
Q: When I click on Thanks button, I get this error as a JavaScript alert: "TypeError: table is null". What should I do?
A: It's probably because your theme couldn't be edited by plugin. So please go to AdminCP -> Templates & Style -> Templates -> [your current theme] -> Post Bit Templates
Then find and edit these templates:
"postbit" and "postbit_classic". Simply you need to add {$post['thxdsp_inline']} after last </tr> and also add {$post['thxdsp_outline']} after last </table>. More explanations!:
In "postbit" template last lines should be something like this:
</tr>{$post['thxdsp_inline']}
</tbody>
</table>{$post['thxdsp_outline']}
In "postbit_classic" last lines should be something like this:
</tr>{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}