King Kovifor
12-27-2009, 10:00 PM
Purpose
The purpose of this is to allow users to report vBCMS articles for review by staff. Created when I found out that it did not have this out of the box.
Limitations
Currently, the only way this product works is if you have reported posts being placed into a new thread in a forum. This modification does not work with emails at this time. A later update will include new settings to include this functionality.
Installation
Installation consists of upload 1 file, install 1 product (to add phrases and 1 template to mimic the default vBulletin post reporting form, with some changes), make 2 template changes to 1 template.
Upload cms_report.php to your forum directory.
Install product_kk_report_article.xml through ACP (ACP -> Plugins & Products -> Manage Products -> [Add/Import Product]
Make Template Changes Listed Below
Enjoy
Template Changes
Template: vbcms_content_article_page
Find:
{vb:raw css}
Add Below (CSS below found in postbit.css - Didn't find a way to include that easily, next update will include it):
<style>
a.report
{
background: url({vb:stylevar imgdir_button}/report-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
a.report:hover
{
background: url({vb:stylevar imgdir_button}/report-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
</style>
Find:
<div class="article_rating_container">
Add Below:
<a class="report" href="cms_report.php?id={vb:raw node}&title={vb:raw title}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!--<img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" />--></a>
Release History
v1.0.0 - December 12/27/2009
The purpose of this is to allow users to report vBCMS articles for review by staff. Created when I found out that it did not have this out of the box.
Limitations
Currently, the only way this product works is if you have reported posts being placed into a new thread in a forum. This modification does not work with emails at this time. A later update will include new settings to include this functionality.
Installation
Installation consists of upload 1 file, install 1 product (to add phrases and 1 template to mimic the default vBulletin post reporting form, with some changes), make 2 template changes to 1 template.
Upload cms_report.php to your forum directory.
Install product_kk_report_article.xml through ACP (ACP -> Plugins & Products -> Manage Products -> [Add/Import Product]
Make Template Changes Listed Below
Enjoy
Template Changes
Template: vbcms_content_article_page
Find:
{vb:raw css}
Add Below (CSS below found in postbit.css - Didn't find a way to include that easily, next update will include it):
<style>
a.report
{
background: url({vb:stylevar imgdir_button}/report-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
a.report:hover
{
background: url({vb:stylevar imgdir_button}/report-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
</style>
Find:
<div class="article_rating_container">
Add Below:
<a class="report" href="cms_report.php?id={vb:raw node}&title={vb:raw title}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!--<img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" />--></a>
Release History
v1.0.0 - December 12/27/2009