Helpful Information
 
 
Category: vBulletin 4.x Modifications
Administrative and Maintenance Tools - vBCMS Article Reporting

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}&amp;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>&nbsp;

Release History
v1.0.0 - December 12/27/2009

Reserved for Future Use

thank you

nice idea thanks

Screenshot/demo?

Screenshot/demo?

Works and looks just as reporting a post.

I'm assuming that two appearances of
<div class="article_rating_container"> is normal? So we do we replacements. Is that right?

Atm the moment I only see one report icon.

So how exactly does the reporting work?

I'm assuming that two appearances of
<div class="article_rating_container"> is normal? So we do we replacements. Is that right?

Atm the moment I only see one report icon.

Two appearances? And there is only an icon and a change in color for hover. Same as default vB4 post reporting.

So how exactly does the reporting work?

A user clicks on the report icon, fills in a message, clicks on submit report and the script creates a post in the specified forum (same as post reports). It does not work with emails at this time.










privacy (GDPR)